From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov 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: Tue, 10 Aug 2021 10:07:25 +0300 Organization: LINKOV.NET Message-ID: <874kbydr7m.fsf@mail.linkov.net> 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="20191"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 49931@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 10 09:26:20 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 1mDM9T-00052D-KP for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Aug 2021 09:26:19 +0200 Original-Received: from localhost ([::1]:49658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDM9S-0005l8-Ii for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Aug 2021 03:26:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDM8F-000331-5Y for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2021 03:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46787) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDM8E-0003yf-UM for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2021 03:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDM8E-0003oj-RN for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2021 03:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Aug 2021 07:25:02 +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.162858025814577 (code B ref 49931); Tue, 10 Aug 2021 07:25:02 +0000 Original-Received: (at 49931) by debbugs.gnu.org; 10 Aug 2021 07:24:18 +0000 Original-Received: from localhost ([127.0.0.1]:58325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDM7W-0003n3-Be for submit@debbugs.gnu.org; Tue, 10 Aug 2021 03:24:18 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:58177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDM7U-0003mc-E1 for 49931@debbugs.gnu.org; Tue, 10 Aug 2021 03:24:17 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 498F424000D; Tue, 10 Aug 2021 07:24:08 +0000 (UTC) In-Reply-To: (Visuwesh via's message of "Sat, 7 Aug 2021 19:20:35 +0200 (CEST)") 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:211475 Archived-At: > 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". The same problem was reported in https://debbugs.gnu.org/34517#14 that also contains a possible solution, still unimplemented.