emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x menu-SPACE SPACE SPACE in master


From: Mathias Dahl
Subject: Re: M-x menu-SPACE SPACE SPACE in master
Date: Tue, 16 Feb 2021 21:28:46 +0100

Seems to work as it should for tool-bar-mode. I noticed there are some commands named menu-bar--XXX, could that be the reason it works differently? It was a long time since I used Emacs without smex or counsel-M-x...



On Tue, Feb 16, 2021 at 9:02 PM chad <yandros@gmail.com> wrote:
With a fresh-built master and emacs -Q, when I type "M-x menu<SPACE> <SPACE> <SPACE>", the first space adds "-", the second adds "bar-", and the third adds "-", giving me "menu-bar--" and shooting past my intended destination "menu-bar-mode". Is this intentional, or perhaps a side-effect of recent M-x changes?  Is this perhaps an artifact of the doubled dashes coming after the single dash between menu and bar? 

In that same emacs -Q, if I: 

(defun menu-bar---foo ()
  (interactive)
  (message "Yo."))

Then space-completion in M-x continues from "menu-bar--" to "menu-bar---" without showing any of the other options it's "completing past", so it seems to be consistent.

If this is a long-standing behavior that I've just not noticed recently (possible), I wonder if there's a way to disable it? If I press '?' instead of the third space, I get a completion list that's in line with what I expected from the third space, including the double-dash and single-dash commands.

Thanks,
~Chad

reply via email to

[Prev in Thread] Current Thread [Next in Thread]