unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: hx <silent2600@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: emacs 29 expand command in minibuf
Date: Mon, 13 Jun 2022 06:57:27 +0200	[thread overview]
Message-ID: <87r13txi5a.fsf@gnu.org> (raw)
In-Reply-To: <CAALPCHsXcCs_cCD8uk0XLSdHRF1pDw_GJ7ctX=BjaxJ_ybpNMg@mail.gmail.com>

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	other threads:[~2022-06-13  4:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-13  1:48 emacs 29 expand command in minibuf hx
2022-06-13  4:57 ` Tassilo Horn [this message]
2022-06-13 11:06   ` Stephen Berman
2022-06-17 22:15     ` Stephen Leake
2022-06-18  7:37       ` Tassilo Horn
2022-06-18  7:58         ` Andreas Schwab
2022-06-18  8:32           ` Stephen Berman
2022-06-21 14:39             ` Andreas Schwab
2022-06-18 13:30           ` Stefan Monnier
2022-06-21 20:31         ` Stefan Monnier
2022-06-21 20:56           ` [External] : " Drew Adams
2022-06-18  8:39 ` Andreas Röhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r13txi5a.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=silent2600@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).