mirror of
https://github.com/protesilaos/denote.git
synced 2026-09-10 07:16:20 -04:00
Add FIXME about the group-function breaking the completion highlight of match visible words
I cannot tell why this is happening. Will need to investigate further. I thought it might have to do with 'denote-retrieve-filename-title' changing the match data. But the problem persists even if I put a regular string in its case which is also found in the completion candidates I am testing it against.
This commit is contained in:
parent
badafe9782
commit
09a382fc46
|
|
@ -1473,6 +1473,8 @@ there.")
|
|||
(defun denote-file-prompt-group (file transform)
|
||||
"Retun group of FILE if TRANSFORM is non-nil, per `completion-metadata'."
|
||||
(cond
|
||||
;; FIXME 2025-12-16: Why do we not get highlights of matched
|
||||
;; visible words? It works if I just return FILE.
|
||||
(transform (or (denote-retrieve-filename-title file) file))
|
||||
((file-name-directory file))
|
||||
((file-name-extension file))
|
||||
|
|
|
|||
Loading…
Reference in a new issue