From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: emacs 29 expand command in minibuf Date: Mon, 13 Jun 2022 06:57:27 +0200 Message-ID: <87r13txi5a.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25486"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.27; emacs 29.0.50 Cc: emacs-devel@gnu.org To: hx Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 13 07:11:51 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o0cMf-0006QH-UL for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Jun 2022 07:11:50 +0200 Original-Received: from localhost ([::1]:48934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0cMe-0000eF-Cw for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Jun 2022 01:11:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0cLu-0008Is-9I for emacs-devel@gnu.org; Mon, 13 Jun 2022 01:11:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0cLt-0004sO-Vd; Mon, 13 Jun 2022 01:11:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=2hAjH/mhJRVaKOM14Fzyoe2+pjwRJb6Gbe2Jp/kXxaA=; b=WuyXxBDnO1I6JD 50uyaW4KaeaA43D56GJsfIVcs8d3sHmXRSgQkFfcMMik5/yvuIVWuiq8kYTsgguocB/Xly6FlZ31y 3jHIC5S1F3nBFQ0zuxrPhE5fQt6fnH6X1uIQMT5rlj9TSinDrvEndR+Avxsc/qXamX85dNMVQRaHW ItgV5XvwwW6F7l8wHk/hGXkzyM1U29YJhJ7E4DDMBvGuETGNIQXxpfiJmV7Uyw5LaWRwSz0oieHQr nqW9f2dxl+pNXD+foRxAvtZ24Zqi3XVIqB2nO5N2xv98IeHCTgJU89Ev6uimrw9MVwaoy7mKNvPkd Txm8hmJmEMfW0VrseCgA==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:44443) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0cLt-0002u0-PU; Mon, 13 Jun 2022 01:11:01 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 9FDE627C0054; Mon, 13 Jun 2022 01:11:00 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 13 Jun 2022 01:11:00 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudduiedgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvfevufffjgfkgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnhepudejtdehuddvleffjeekteegvdehleehvdeufe fhueekkeekhedvgfeggeffvefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlih hthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfhgr shhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 13 Jun 2022 01:10:59 -0400 (EDT) In-reply-to: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291130 Archived-At: hx 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