GNU bug report logs - #43120
28.0.50; fido-mode: M-j before completions appear selects wrong choice

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Sun, 30 Aug 2020 21:01:01 UTC

Severity: normal

Tags: fixed

Merged with 43083

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 43120 <at> debbugs.gnu.org, joaotavora <at> gmail.com
Subject: Re: bug#43120: 28.0.50; fido-mode: M-j before completions appear
 selects wrong choice
Date: Thu, 03 Sep 2020 16:23:54 -0700
Hello Lars,

On Tue 01 Sep 2020 at 04:19PM +02, Lars Ingebrigtsen wrote:

> Sean Whitton <spwhitton <at> spwhitton.name> writes:
>
>> I think the fix would be to clear completion-content-when-empty when the
>> minibuffer exits, instead of leaving data from the last completion
>> there.
>
> Oh yeah, definitely -- it should be cleared on minibuffer exit.  I'm
> guessing that should go in...  `completion--complete-and-exit'?  Would
> it be possible for you to propose a patch that does that?  I don't use
> fido-mode myself, and it's probably easier for you to test whether
> that's the right fix.

I'm certainly happy to test a patch but I don't think that can be the
right place to clear the variable.

The docstring for that function says it exits from a require-match
minibuffer.  But completion gets used in other minibuffers too.  So we
need to clear the variable somewhere which gets called for every
minibuffer exit.

-- 
Sean Whitton




This bug report was last modified 4 years and 312 days ago.

Previous Next


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