GNU bug report logs - #49931
28.0.50; `choose-completion' submits incorrect string when minibuffer content changes after creation of the *Completions* buffer

Previous Next

Package: emacs;

Reported by: Visuwesh <visuwesh <at> tutanota.com>

Date: Sat, 7 Aug 2021 20:37:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 49931 <at> debbugs.gnu.org (full text, mbox):

From: Visuwesh <visuwesh <at> tutanota.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 49931 <49931 <at> debbugs.gnu.org>
Subject: Re: bug#49931: 28.0.50; `choose-completion' submits incorrect
 string when minibuffer content changes after creation of the
 *Completions* buffer
Date: Tue, 10 Aug 2021 11:00:59 +0200 (CEST)
10 Aug 2021, 12:37 by juri <at> linkov.net:

>> When one edits the minibuffer content after the creation of
>> *Completions* buffer, `choose-completion' incorrectly submits the wrong
>> string to the command upon selecting a candidate.  To reproduce,
>>
>> 1. Start emacs -Q.
>> 2. Type the following key sequence: C-h f emacs- TAB.
>> 3. Type a.
>> 4. Select `emacs-bzr-get-version' from the *Completions* buffer.
>> 5. "user-error: Symbol’s function definition is void:
>> emacs-bzr-get-versiona" is shown in the echo area.
>>
>> What I expected to happen:
>>
>> I expected `choose-completion' to submit "emacs-bzr-get-version" to
>> describe-function, not "emacs-bzr-get-versiona".
>>
>
> The same problem was reported in https://debbugs.gnu.org/34517#14
> that also contains a possible solution, still unimplemented.
>
Thanks for linking me that bug report.  I tried searching for similar terms in 
bug-gnu-emacs and emacs-devel but the hits were too much for me to go
through them.  Stefan's explanation made things clear.




This bug report was last modified 3 years and 42 days ago.

Previous Next


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