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#68801: 30.0.50; minibuffer-visible-completions=t makes RET in completion-in-region a no-op with nothing selected Date: Tue, 30 Jan 2024 19:28:33 +0200 Organization: LINKOV.NET Message-ID: <86y1c6688u.fsf@mail.linkov.net> 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="28700"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 68801@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 30 18:41:18 2024 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 1rUs6o-0007JI-Jw for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Jan 2024 18:41:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUs6S-0004OK-DM; Tue, 30 Jan 2024 12:40:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUs6Q-0004NO-QT for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2024 12:40:54 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rUs6P-0000sR-7S for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2024 12:40:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rUs6Y-00009H-2N for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2024 12:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jan 2024 17:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68801 X-GNU-PR-Package: emacs Original-Received: via spool by 68801-submit@debbugs.gnu.org id=B68801.1706636458551 (code B ref 68801); Tue, 30 Jan 2024 17:41:02 +0000 Original-Received: (at 68801) by debbugs.gnu.org; 30 Jan 2024 17:40:58 +0000 Original-Received: from localhost ([127.0.0.1]:36642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUs6U-00008p-4X for submit@debbugs.gnu.org; Tue, 30 Jan 2024 12:40:58 -0500 Original-Received: from relay1-d.mail.gandi.net ([2001:4b98:dc4:8::221]:43691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUs6S-00008X-9w for 68801@debbugs.gnu.org; Tue, 30 Jan 2024 12:40:56 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id C7329240004; Tue, 30 Jan 2024 17:40:38 +0000 (UTC) In-Reply-To: (Spencer Baugh's message of "Mon, 29 Jan 2024 13:49:53 -0500") X-GND-Sasl: juri@linkov.net 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:279192 Archived-At: > Since there are a few alternatives, perhaps we could have a defcustom > for the RET behavior in completion-in-region. I think the default > should be closing *Completions* and inserting a newline, since that > matches minibuffer-visible-completions=nil. > > If this sounds reasonable I can write a patch implementing these. Sorry, I have no opinion - this is such a gray area, I never tried to type RET with an unselected completion candidate. But at least the current behavior makes sense since it's like in Isearch mode where RET just exits Isearch, whereas some other keys exit Isearch and do their usual job.