GNU bug report logs - #75690
30.0.93; completion-preview-mode doesn't work with dabbrev-capf

Previous Next

Package: emacs;

Reported by: tusharhero <at> sdf.org

Date: Mon, 20 Jan 2025 13:12:01 UTC

Severity: normal

Merged with 61274

Found in versions 29.0.60, 30.0.93

Full log


View this message in rfc822 format

From: Eshel Yaron <me <at> eshelyaron.com>
To: tusharhero <at> sdf.org
Cc: Daniel Mendler <mail <at> daniel-mendler.de>, Stefan Monnier <monnier <at> iro.umontreal.ca>, 75690 <at> debbugs.gnu.org
Subject: bug#75690: 30.0.93; completion-preview-mode doesn't work with dabbrev-capf
Date: Sat, 01 Mar 2025 08:30:40 +0100
Hi there,

tusharhero <at> sdf.org writes:

> Steps to reproduce with 'emacs -Q':
> 0. Switch to scratch buffer
>
>    (scratch-buffer)
>
> 1. Enable completion preview mode:
>
>    (global-completion-preview-mode)
>
> 2. add dabbrev-capf
>
>    (push
>     'dabbrev-capf completion-at-point-functions)
>
> 3. test
>
>    ;; Emacs
>    ;; Ema
>
> Get the follow error:
>
>    Error in post-command-hook (completion-preview--post-command):
> (user-error "No dynamic expansion for \"Ema\" found")

Thanks for the report, and apologizes for the late response.  It seems
like your message never made it to the mailing list.

Anyway, AFAICT this is a duplicate of Bug#61274, it's a problem in
dabbrev-capf, unrelated to completion-preview-mode per se.

You can use cape-dabbrev from the GNU ELPA package cape as a workaround.


Best regards,

Eshel




This bug report was last modified 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.