[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 6b7ff60a5e7: Highlight the suffix in *Completions* buffer in
From: |
Eshel Yaron |
Subject: |
Re: master 6b7ff60a5e7: Highlight the suffix in *Completions* buffer in 'basic' style too |
Date: |
Fri, 14 Jun 2024 20:04:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Juri Linkov <juri@linkov.net> writes:
>>> 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.
Thanks for confirming, pushed to master as commit 3b07d330591.
Eshel