GNU bug report logs -
#19013
25.0.50; Suggestions for M-x commands
Previous Next
Reported by: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Date: Mon, 10 Nov 2014 21:52:01 UTC
Severity: minor
Tags: fixed
Found in version 25.0.50
Fixed in version 25.1
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #30 received at 19013 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>>>> Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:
> I just typed `M-x eww RET foo RET', and after displaying the search
> results, Emacs helpfully said
> You can run the command `eww' with M-x ew RET
> I don't think that's particularly helpful, actually. Just
> distracting.
And even more so, – M-x beginning-of-visual-line RET; then,
after some time, – M-x <up> RET – the same message gets shown,
even though M-x <up> is for sure shorter than M-x b-v.
I believe there should be a variable to customize this behavior
(say, suggest-shorter-command-limit; defaulting to 5, but with
nil as an option to disable such suggestions altogether.) As a
workaround, I’ve simply disabled it entirely (see the patch
MIMEd.)
--
FSF associate member #7257 np. Epilogue (Relief) — Apocalyptica … 230E 334A
[Message part 2 (text/diff, inline)]
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1680,7 +1680,7 @@ defun execute-extended-command (prefixarg &optional command-name typed)
((numberp suggest-key-bindings) suggest-key-bindings)
(t 2)))))
(when (and waited (not (consp unread-command-events)))
- (unless (or binding executing-kbd-macro (not (symbolp function))
+ (unless (or t binding executing-kbd-macro (not (symbolp function))
(<= (length (symbol-name function)) 2))
;; There's no binding for CMD. Let's try and find the shortest
;; string to use in M-x.
This bug report was last modified 10 years and 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.