GNU bug report logs -
#76606
30.1; Conflict between completion-preview and yasnippet
Previous Next
Reported by: Vincent Foley <vfoley <at> gmail.com>
Date: Thu, 27 Feb 2025 04:29:01 UTC
Severity: normal
Found in version 30.1
Fixed in version 30.2
Done: Eshel Yaron <me <at> eshelyaron.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Vincent Foley <vfoley <at> gmail.com> writes:
>> The following diff should fix this bug, could you please test it?
>>
>> diff --git a/lisp/completion-preview.el b/lisp/completion-preview.el
>> index 4928d9a8824..eb4b9111b30 100644
>> --- a/lisp/completion-preview.el
>> +++ b/lisp/completion-preview.el
>> @@ -520,6 +520,7 @@ completion-preview-complete
>> ;; hook update the completion preview in case the candidate
>> ;; can be completed further.
>> (when (functionp efn)
>> + (completion-preview-active-mode -1)
>> (funcall efn (concat base com) (if (cdr all) 'exact 'finished)))
>> ;; Otherwise, remove the common prefix from the preview.
>> (completion-preview--inhibit-update)
>>
>> Regards,
>>
>> Eshel
>
> Hi Eshel,
>
> I applied this patch to my emacs-30.1 source tree and I can confirm that
> it fixes the issue. Thank you for addressing this so quickly!
Great, thanks for confirming.
Eli, is this fix OK for the emacs-30 branch or should it go to master?
Eshel
This bug report was last modified 80 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.