From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#49931: 28.0.50; `choose-completion' submits incorrect string when minibuffer content changes after creation of the *Completions* buffer Date: Sun, 08 Aug 2021 08:14:35 +0300 Message-ID: <83tuk0h610.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10400"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49931@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 08 07:15:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mCb9S-0002Ur-UL for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Aug 2021 07:15:10 +0200 Original-Received: from localhost ([::1]:39296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCb9R-0002gA-EB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Aug 2021 01:15:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCb9K-0002fr-7M for bug-gnu-emacs@gnu.org; Sun, 08 Aug 2021 01:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41941) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCb9K-0000JS-02 for bug-gnu-emacs@gnu.org; Sun, 08 Aug 2021 01:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCb9J-0005V2-QZ for bug-gnu-emacs@gnu.org; Sun, 08 Aug 2021 01:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Aug 2021 05:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49931 X-GNU-PR-Package: emacs Original-Received: via spool by 49931-submit@debbugs.gnu.org id=B49931.162839968221098 (code B ref 49931); Sun, 08 Aug 2021 05:15:01 +0000 Original-Received: (at 49931) by debbugs.gnu.org; 8 Aug 2021 05:14:42 +0000 Original-Received: from localhost ([127.0.0.1]:53487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCb90-0005UE-1J for submit@debbugs.gnu.org; Sun, 08 Aug 2021 01:14:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCb8w-0005Tz-Js for 49931@debbugs.gnu.org; Sun, 08 Aug 2021 01:14:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54198) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCb8r-00087E-13; Sun, 08 Aug 2021 01:14:33 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3002 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCb8p-0004ba-OY; Sun, 08 Aug 2021 01:14:32 -0400 In-Reply-To: (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:211395 Archived-At: > Date: Sat, 7 Aug 2021 19:20:35 +0200 (CEST) > From: Visuwesh via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > When one edits the minibuffer content after the creation of > *Completions* buffer, `choose-completion' incorrectly submits the wrong > string to the command upon selecting a candidate.  To reproduce, > > 1. Start emacs -Q. > 2. Type the following key sequence: C-h f emacs- TAB. > 3. Type a. > 4. Select `emacs-bzr-get-version' from the *Completions* buffer. > 5. "user-error: Symbol’s function definition is void: > emacs-bzr-get-versiona" is shown in the echo area. > > What I expected to happen: > > I expected `choose-completion' to submit "emacs-bzr-get-version" to > describe-function, not "emacs-bzr-get-versiona". You expected Emacs to ignore what you type? Why? What you type after TAB is used to narrow the list of candidates when you type the next TAB, or continue typing after the first TAB completed some of the name for you. This is the intended behavior.