emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs 29 expand command in minibuf


From: Tassilo Horn
Subject: Re: emacs 29 expand command in minibuf
Date: Mon, 13 Jun 2022 06:57:27 +0200
User-agent: mu4e 1.7.27; emacs 29.0.50

hx <silent2600@gmail.com> writes:

> In 28.1 when I execute M-x em-v, it will execute emacs-version
> immediately, but in 29, it will expand to emacs-v in mini-buffer
> first, need to press enter again.
>
> Could you please tell me which option can make 29 work like 28 ?

The "problem" is that in 29, there's a new command emacs-news-view-mode
which also happens to be a possible match for input "em-v" when
partial-completion is in completion-styles (which it is by default).
That emacs-version is matched by "em-v" is also due to the
partial-completion style, so removing that won't do either.

If you really need emacs-version so frequently that you need a
super-short and unambiguous name for it, define an alias:

  (defalias 'ev #'emacs-version)

Then you can do M-x ev RET.

Bye,
Tassilo



reply via email to

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