emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 6b7ff60a5e7: Highlight the suffix in *Completions* buffer in


From: Juri Linkov
Subject: Re: master 6b7ff60a5e7: Highlight the suffix in *Completions* buffer in 'basic' style too
Date: Fri, 14 Jun 2024 19:41:52 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>> Lisp error: (wrong-type-argument number-or-marker-p nil)
>
> Hmm that's quite curious...  I can reproduce it also without my change
> in 56537ab0228, FWIW.  AFAICT the issue is that icomplete trims the
> prefix from completion candidates before passing them to
> completion-lazy-hilit, while completion--hilit-from-re expects the full
> candidate (prefix included).  I'm not deeply familiar with icomplete,
> but maybe calling completion-lazy-hilit before trimming the candidates
> as in the diff below should do the trick?

Thanks, I confirm with this change icomplete doesn't fail anymore.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]