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#68815: Unexpected behavior with read-file-name and functional REQUIRE-MATCH argument Date: Thu, 01 Feb 2024 09:59:57 +0200 Message-ID: <86bk901uo2.fsf@gnu.org> References: <8734ufyxoy.fsf@breatheoutbreathe.in> <87ttmuhvxi.fsf@breatheoutbreathe.in> <875xz98975.fsf@breatheoutbreathe.in> <86jzno1xgz.fsf@gnu.org> <87cytg7jge.fsf@breatheoutbreathe.in> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26898"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael_heerdegen@web.de, philipk@posteo.net, 68815@debbugs.gnu.org, monnier@iro.umontreal.ca To: Joseph Turner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 01 09:01:16 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 1rVS0Z-0006ns-QC for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Feb 2024 09:01:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVS0H-0006J0-T5; Thu, 01 Feb 2024 03:00:57 -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 1rVS0G-0006In-1Y for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 03:00:56 -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 1rVS0D-0008NC-IW for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 03:00:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rVS0M-00028M-IP for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 03:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Feb 2024 08:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68815 X-GNU-PR-Package: emacs Original-Received: via spool by 68815-submit@debbugs.gnu.org id=B68815.17067744308157 (code B ref 68815); Thu, 01 Feb 2024 08:01:02 +0000 Original-Received: (at 68815) by debbugs.gnu.org; 1 Feb 2024 08:00:30 +0000 Original-Received: from localhost ([127.0.0.1]:40184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVRzp-00027T-R0 for submit@debbugs.gnu.org; Thu, 01 Feb 2024 03:00:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVRzk-00027D-MQ for 68815@debbugs.gnu.org; Thu, 01 Feb 2024 03:00:28 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVRzT-00085s-DT; Thu, 01 Feb 2024 03:00:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=NEO46Xg+MkkVNOeSo1SrZJs5HCBbAYNwW3SAq3TyIXI=; b=jQIG6VyQ6TpS o/aDX27vdb/jBKIabO1K4ZiUgvjd3FcojSi+rhon0Zde5nKauvAxhXMhYZ6zKX3siB2gXXkQfMK84 S6ikzZC/TUE33NrN0leBOiZCjbA+IzOglW523mszJh7qs3pSzfDb4QyVquf0eCZ+VpLdviDxdsGgj M7EPeoeIycEBTjXDF6nA725ZpYyTZcpItMqM3+9V3kGDUaYt4hmXZ0Fomjs1iLSuTyldIJ7c8BknC 0TCHI4v+mJ0lIF5qpUaj6/EHqUr9+paoAagxnDetiUAN2f31joU6ifNKXg8V/9kRouS2MmHpUwZ0D 6OLPh586kmNXa1VHjF33iw==; In-Reply-To: <87cytg7jge.fsf@breatheoutbreathe.in> (message from Joseph Turner on Wed, 31 Jan 2024 23:04:59 -0800) 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:279265 Archived-At: > From: Joseph Turner > Cc: Stefan Monnier , 68815@debbugs.gnu.org, > philipk@posteo.net, michael_heerdegen@web.de > Date: Wed, 31 Jan 2024 23:04:59 -0800 > > > Eli Zaretskii writes: > > >> From: Stefan Monnier > >> Cc: 68815@debbugs.gnu.org, Philip Kaludercic , > >> michael_heerdegen@web.de, Eli Zaretskii > >> Date: Wed, 31 Jan 2024 17:05:30 -0500 > >> > >> >> Also, performance can be a concern (in many cases it makes more sense > >> >> to make the caller pass the unquoted name rather than force it to quote > >> >> the name only for PRED to unquote it). > >> > > >> > The REQUIRE-MATCH function is only called once when the user attempts to > >> > exit the minibuffer. Would you please explain the performance concern? > >> > >> Oh, sorry, I got confused. Indeed, you're wrapping the REQUIRE-MATCH > >> arg, not the PRED arg I was ranting about. Duh! > >> > >> It would be OK for `emacs-29`, indeed. Eli? Stefan? Any objection? > > > > I don't mind, but please note that I'm not sure there will be any > > further 29.x releases. > > Good to know. What is the purpose of keeping the emacs-29 branch, then? I'm not sure we will NOT release further 29.x versions, either. There could be some urgent issue that justifies another release, for example. My point is that the motivation for backporting improvements and fixes from master and for installing non-essential fixes on the release branch is supposed to go down, since we keep the branch active only for some unanticipated contingencies.