GNU bug report logs - #78944
31.0.50; Minibuffer completion

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Wed, 2 Jul 2025 17:43:01 UTC

Severity: normal

Found in version 31.0.50

Full log


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

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 78944 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#78944: 31.0.50; Minibuffer completion
Date: Wed, 23 Jul 2025 17:36:49 +0200
On Wed, Jul 23, 2025 at 3:45 PM Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:
>
> >> Maybe the patch below?  It doesn't actually fix the problem, but with
> >> Dani's recipe it adds a message
> >>
> >>     Switched from style ‘partial-completion’ back to ‘basic’
> >>
> >> at the end of the minibuffer, to try and explain what's going on.
> >
> > Thanks. I've just tested your patch, and... I'm sorry to say that I
> > don't like the new behavior.
>
> No need to be sorry about it.
>
> > I see that the message (Switched from style ‘partial-completion’ back
> > to ‘basic’) appears just after I type the second TAB.  That gives the
> > user the impression that something (switching back) happened at that
> > moment (when I typed the second TAB).
> >
> > But IIUC, the style switching (forth and back) all took place when I
> > typed the _first_ TAB.  So, I think that, if the user must see some
> > message, it should be at that moment (first TAB).
>
> The "something" happens *between* the two, in a sense.
> The intention for the message was to explain the behavior of the second
> TAB rather than to warn about some potential upcoming behavior.

I see.  But I was thinking of another approach: show what completion
style was used after a (successful) completion operation.  (only when
the style was not the first one in completion-styles).

I think it could be a simple way to show the user what's going on.

-- 
Dani Moncayo




This bug report was last modified 58 days ago.

Previous Next


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