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 11:19:10 +0300 Message-ID: <83mtpsgxhd.fsf@gnu.org> References: <83tuk0h610.fsf@gnu.org> <83o8a8h0hd.fsf@gnu.org> 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="34684"; 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 10:20:09 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 1mCe2T-0008pq-F8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Aug 2021 10:20:09 +0200 Original-Received: from localhost ([::1]:50046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCe2S-0007KA-7C for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Aug 2021 04:20:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCe2M-0007K2-I6 for bug-gnu-emacs@gnu.org; Sun, 08 Aug 2021 04:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCe2M-0005BC-BQ for bug-gnu-emacs@gnu.org; Sun, 08 Aug 2021 04:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCe2M-0001of-7b for bug-gnu-emacs@gnu.org; Sun, 08 Aug 2021 04:20:02 -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 08:20: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.16284107546910 (code B ref 49931); Sun, 08 Aug 2021 08:20:02 +0000 Original-Received: (at 49931) by debbugs.gnu.org; 8 Aug 2021 08:19:14 +0000 Original-Received: from localhost ([127.0.0.1]:53651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCe1a-0001nN-Dm for submit@debbugs.gnu.org; Sun, 08 Aug 2021 04:19:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCe1Y-0001n8-Dq for 49931@debbugs.gnu.org; Sun, 08 Aug 2021 04:19:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56570) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCe1T-0004Rr-1j; Sun, 08 Aug 2021 04:19:07 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2817 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 1mCe1S-0000vQ-L6; Sun, 08 Aug 2021 04:19:06 -0400 In-Reply-To: (message from Visuwesh on Sun, 8 Aug 2021 09:31:12 +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:211402 Archived-At: > Date: Sun, 8 Aug 2021 09:31:12 +0200 (CEST) > From: Visuwesh > Cc: 49931 <49931@debbugs.gnu.org> > > 8 Aug 2021, 12:44 by eliz@gnu.org: > > > In particular, depending on the context of the completion, typing > > more stuff after selecting a candidate is what is actually needed, so > > ignoring that would break valid use cases. > > Indeed, this makes sense when selecting a candidate that does not exit > the minibuffer, like `find-file'.  I, for one, do not think that the > current behaviour of `choose-completion' wherein it completely ignores > whatever typed after the creation of the *Completions* buffer is > unexpected when it comes to commands like `describe-function' which > exits the minibuffer upon selecting the candidate. Even though the command exits the minibuffer, the stuff you typed before selection shouldn't necessarily be ignored, since you could be completing on stuff that doesn't yield complete function names. > > Therefore I think we will have to agree to disagree on this one. I > > see no bug in the behavior you described. If it looks misleading to > > you, you will have to get used to it. > > If the above still does not convince you, then we will have to agree > to disagree. Yes.