GNU bug report logs - #13092
24.3.50; regression: `icomplete-mode' does not echo key bindings

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 5 Dec 2012 22:09:02 UTC

Severity: wishlist

Found in version 24.3.50

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13092 in the body.
You can then email your comments to 13092 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13092; Package emacs. (Wed, 05 Dec 2012 22:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 05 Dec 2012 22:09:02 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.3.50; regression: `icomplete-mode' does not echo key bindings
Date: Wed, 5 Dec 2012 14:08:17 -0800
Please restore the key-binding echoes to icomplete-mode.

In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
 of 2012-12-03 on MS-W7-DANI
Bzr revision: 111077
agustin.martin <at> hispalinux.es-20121203172342-ifsebjmhksk28qa9
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -Ic:/emacs/libs/libXpm-3.5.10/include -Ic:/emacs/libs/libXpm-3.5.10/src
 -Ic:/emacs/libs/libpng-1.2.37-lib/include -Ic:/emacs/libs/zlib-1.2.5
 -Ic:/emacs/libs/giflib-4.1.4-1-lib/include
 -Ic:/emacs/libs/jpeg-6b-4-lib/include
 -Ic:/emacs/libs/tiff-3.8.2-1-lib/include
 -Ic:/emacs/libs/libxml2-2.7.8-w32-bin/include/libxml2
 -Ic:/emacs/libs/gnutls-3.0.9-w32-bin/include
 -Ic:/emacs/libs/libiconv-1.9.2-1-lib/include'
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13092; Package emacs. (Mon, 10 Feb 2014 07:36:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 13092 <at> debbugs.gnu.org
Subject: Re: bug#13092: 24.3.50;
 regression: `icomplete-mode' does not echo key bindings
Date: Sun, 09 Feb 2014 23:33:45 -0800
"Drew Adams" <drew.adams <at> oracle.com> writes:

> Please restore the key-binding echoes to icomplete-mode.

This was a kinda cryptic error message.  What did you expect to see, and
what are you seeing?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13092; Package emacs. (Mon, 10 Feb 2014 18:51:01 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 13092 <at> debbugs.gnu.org
Subject: RE: bug#13092: 24.3.50; regression: `icomplete-mode' does not echo
 key bindings
Date: Mon, 10 Feb 2014 10:50:13 -0800 (PST)
> > Please restore the key-binding echoes to icomplete-mode.
> 
> This was a kinda cryptic error message.  What did you expect to see,
> and what are you seeing?

Icomplete mode used to echo the keys bound to commands matching
your input as you type the command name.  This useful feature was removed - a regression.  Please restore the feature.  Thx.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13092; Package emacs. (Tue, 11 Feb 2014 03:42:01 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 13092 <at> debbugs.gnu.org
Subject: Re: bug#13092: 24.3.50;
 regression: `icomplete-mode' does not echo key bindings
Date: Mon, 10 Feb 2014 22:40:57 -0500
> Icomplete mode used to echo the keys bound to commands matching
> your input as you type the command name.  This useful feature was
> removed - a regression.  Please restore the feature.  Thx.

Yes, it was useful but it was completely broken, echoing this info
regardless if the minibuffer input was actually meant to represent
a command name or not.

So, to have it back, someone will have to write it in the right way,
such that the echo is only performed for M-x completion and not (for
example) for buffer name completion.


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13092; Package emacs. (Tue, 11 Feb 2014 06:36:01 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 13092 <at> debbugs.gnu.org
Subject: RE: bug#13092: 24.3.50; regression: `icomplete-mode' does not echo
 key bindings
Date: Mon, 10 Feb 2014 22:35:04 -0800 (PST)
> > Icomplete mode used to echo the keys bound to commands matching
> > your input as you type the command name.  This useful feature was
> > removed - a regression.  Please restore the feature.  Thx.
> 
> Yes, it was useful but it was completely broken, echoing this info
> regardless if the minibuffer input was actually meant to represent
> a command name or not.
> 
> So, to have it back, someone will have to write it in the right way,
> such that the echo is only performed for M-x completion and not (for
> example) for buffer name completion.

I see.  FWIW, I show the key in icomplete+.el still, and I have
never see it try to show a key for buffer-name completion (or any
other kind of completion besides command completion).

Could you give me a recipe that might show the problem?  Was there
perhaps an Emacs bug filed about that?  I'd be curious, so I can see
what happens with icomplete+.el in this regard.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13092; Package emacs. (Tue, 11 Feb 2014 17:53:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 13092 <at> debbugs.gnu.org
Subject: Re: bug#13092: 24.3.50;
 regression: `icomplete-mode' does not echo key bindings
Date: Tue, 11 Feb 2014 12:52:19 -0500
> Could you give me a recipe that might show the problem?

M-x icomplete-mode RET
C-x b left-char RET RET
C-x b RET
C-x b left-char

The first left-char does not output the key-binding (because the code is
only triggered for matches), but the second does (in 24.3).


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13092; Package emacs. (Tue, 11 Feb 2014 18:07:01 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 13092 <at> debbugs.gnu.org
Subject: RE: bug#13092: 24.3.50; regression: `icomplete-mode' does not echo
 key bindings
Date: Tue, 11 Feb 2014 10:06:15 -0800 (PST)
> > Could you give me a recipe that might show the problem?
> 
> M-x icomplete-mode RET
> C-x b left-char RET RET
> C-x b RET
> C-x b left-char
> 
> The first left-char does not output the key-binding (because the
> code is only triggered for matches), but the second does (in 24.3).

Got it.  Thx.  Yes, same thing with Icomplete+: key <left> is echoed.

Personally, this (rare, I would guess) minor nuisance is outweighed
by the positive help provided by showing keys for sole-match commands.

As a different user, you might feel differently about the relative
value.

The important thing is that if you restore this fine feature then
you simply give individual _users_ the choice: there was already a
user option for whether to show key bindings,
`icomplete-show-key-bindings'.  Restoring that option is of course
part of fixing the regression.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13092; Package emacs. (Fri, 04 Dec 2020 11:05:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 13092 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#13092: 24.3.50; regression: `icomplete-mode' does not echo
 key bindings
Date: Fri, 04 Dec 2020 12:04:34 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> Could you give me a recipe that might show the problem?
>
> M-x icomplete-mode RET
> C-x b left-char RET RET
> C-x b RET
> C-x b left-char
>
> The first left-char does not output the key-binding (because the code is
> only triggered for matches), but the second does (in 24.3).

So I think this works as designed now, and I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 13092 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 04 Dec 2020 11:05:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 01 Jan 2021 12:24:14 GMT) Full text and rfc822 format available.

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

Previous Next


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