GNU bug report logs - #76606
30.1; Conflict between completion-preview and yasnippet

Previous Next

Package: emacs;

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

From: Vincent Foley <vfoley <at> gmail.com>
To: Eshel Yaron <me <at> eshelyaron.com>
Cc: 76606 <at> debbugs.gnu.org
Subject: bug#76606: 30.1; Conflict between completion-preview and yasnippet
Date: Thu, 27 Feb 2025 09:45:50 -0330
[Message part 1 (text/plain, inline)]
>
> 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!

Vincent
[Message part 2 (text/html, inline)]

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.