From unknown Tue Jun 17 20:12:00 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#16837 <16837@debbugs.gnu.org> To: bug#16837 <16837@debbugs.gnu.org> Subject: Status: 24.3.50; Allow a HISTORY arg for `read-file-name', `read-file-name-default' Reply-To: bug#16837 <16837@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:12:00 +0000 retitle 16837 24.3.50; Allow a HISTORY arg for `read-file-name', `read-file= -name-default' reassign 16837 emacs submitter 16837 Drew Adams severity 16837 wishlist tag 16837 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 13:35:20 2014 Received: (at submit) by debbugs.gnu.org; 21 Feb 2014 18:35:20 +0000 Received: from localhost ([127.0.0.1]:35014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGuwR-0004Yb-Fe for submit@debbugs.gnu.org; Fri, 21 Feb 2014 13:35:19 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60081) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGuwO-0004YM-Fh for submit@debbugs.gnu.org; Fri, 21 Feb 2014 13:35:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGuw9-00066B-05 for submit@debbugs.gnu.org; Fri, 21 Feb 2014 13:35:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGuw8-000663-TL for submit@debbugs.gnu.org; Fri, 21 Feb 2014 13:35:00 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGuw0-0006jB-9z for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2014 13:35:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGuvr-00063N-Np for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2014 13:34:52 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:30801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGuvr-00063J-Hf for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2014 13:34:43 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1LIYdCw007284 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 21 Feb 2014 18:34:40 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1LIYcMs003761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 21 Feb 2014 18:34:39 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1LIYcdZ006238 for ; Fri, 21 Feb 2014 18:34:38 GMT MIME-Version: 1.0 Message-ID: <89c479a5-be61-468c-81d2-f8ffe115560d@default> Date: Fri, 21 Feb 2014 10:34:37 -0800 (PST) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 24.3.50; Allow a HISTORY arg for `read-file-name', `read-file-name-default' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) An enhancement request - Please consider allowing an optional HISTORY arg to these functions (with the default value being of course `file-name-history'). It can happen that someone wants the behavior of one of these functions, but with a different file-name history, such as `shell-command-history'. In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2014-02-11 on ODIEONE Bzr revision: 116410 lekktu@gmail.com-20140211204823-l9l2s6tktfitq266 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib CPPFLAGS=3D-Ic:/Devel/emacs/include' From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 29 13:39:18 2016 Received: (at 16837) by debbugs.gnu.org; 29 Apr 2016 17:39:18 +0000 Received: from localhost ([127.0.0.1]:55685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awCNq-00088J-Da for submit@debbugs.gnu.org; Fri, 29 Apr 2016 13:39:18 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:47427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awCNo-00088B-Is for 16837@debbugs.gnu.org; Fri, 29 Apr 2016 13:39:16 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awCNl-0000IZ-Nr; Fri, 29 Apr 2016 19:39:15 +0200 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#16837: 24.3.50; Allow a HISTORY arg for `read-file-name', `read-file-name-default' References: <89c479a5-be61-468c-81d2-f8ffe115560d@default> Date: Fri, 29 Apr 2016 19:39:13 +0200 In-Reply-To: <89c479a5-be61-468c-81d2-f8ffe115560d@default> (Drew Adams's message of "Fri, 21 Feb 2014 10:34:37 -0800 (PST)") Message-ID: <871t5oz54u.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16837 Cc: 16837@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Drew Adams writes: > Please consider allowing an optional HISTORY arg to these functions > (with the default value being of course `file-name-history'). > > It can happen that someone wants the behavior of one of these functions, > but with a different file-name history, such as `shell-command-history'. Yes, that seems potentially useful. It currently uses the hard-coded `file-name-history' history. Anybody have any objections to adding this? I see one possible complication -- it'll be Yet Another Optional Parameter that has to be passed on to `read-file-name-function', and if somebody has defined that to take fewer parameters, it'll bomb... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun May 30 00:46:09 2021 Received: (at 16837) by debbugs.gnu.org; 30 May 2021 04:46:09 +0000 Received: from localhost ([127.0.0.1]:58097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnDKy-00033b-VC for submit@debbugs.gnu.org; Sun, 30 May 2021 00:46:09 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnDKx-0002y0-BV for 16837@debbugs.gnu.org; Sun, 30 May 2021 00:46:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nDIkrKjbjB/tVPtmG7VSyjaCkgqi6SUiIz6zQItaXmQ=; b=dzrcp61N5EvWsEOhBxMZ57PSKd Yb03KREVfW3G5c2E4bY3jF6MDhply56u6YNakFjlX8HliV0LX/vYK/SGHTm/KPDyUZO/oPyOnK2em m/zNUFQ2NPq/PoNDzWOxbo9g3TuoHpJ7YPCh5EDrOIfwBuVoc+RzwLL77LRKH1+LY2vI=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnDKp-000600-45; Sun, 30 May 2021 06:46:01 +0200 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#16837: 24.3.50; Allow a HISTORY arg for `read-file-name', `read-file-name-default' References: <89c479a5-be61-468c-81d2-f8ffe115560d@default> <871t5oz54u.fsf@gnus.org> X-Now-Playing: Crosby, Stills, Nash & Young's _So Far_: "Wooden Ships" Date: Sun, 30 May 2021 06:45:58 +0200 In-Reply-To: <871t5oz54u.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 29 Apr 2016 19:39:13 +0200") Message-ID: <87eedo6d89.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Yes, that seems potentially useful. It currently uses the hard-coded > `file-name-history' history. > > Anybody have any objections to adding this? I see one possible > complication -- it'll be Yet [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16837 Cc: 16837@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Yes, that seems potentially useful. It currently uses the hard-coded > `file-name-history' history. > > Anybody have any objections to adding this? I see one possible > complication -- it'll be Yet Another Optional Parameter that has to be > passed on to `read-file-name-function', and if somebody has defined that > to take fewer parameters, it'll bomb... And thinking about this for five more years, I think that's a pretty serious objection -- the argument list is part of the API here, so we can't really just add another parameter here. So people that want a different history variable here will have to make their own `read-file-name-function' function. Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun May 30 00:46:13 2021 Received: (at control) by debbugs.gnu.org; 30 May 2021 04:46:13 +0000 Received: from localhost ([127.0.0.1]:58100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnDL3-000383-5l for submit@debbugs.gnu.org; Sun, 30 May 2021 00:46:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnDL2-00031w-5U for control@debbugs.gnu.org; Sun, 30 May 2021 00:46:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eh+m9fDsONq51031QoUQRt64OAchy2O+8GlZWFCFvc8=; b=kInm1qGlVOoEl0xcfBkpi+tMAb NGsEp1O3sh6sj97woW/QkSHgSOiA/0dp+vEJXDFTNj3h3hFg3TiraEfUaoMKkGoHtEvUg8uQMzJNq tN9lirthiYVRiYbrpfZhiQ7kBiKae5GQDbvP5zt87yGqn/2UHpVNslgmzq+u5qYAxvYA=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnDKu-00060A-MH for control@debbugs.gnu.org; Sun, 30 May 2021 06:46:06 +0200 Date: Sun, 30 May 2021 06:46:04 +0200 Message-Id: <87czt86d83.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #16837 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 16837 wontfix close 16837 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 16837 wontfix close 16837 quit From unknown Tue Jun 17 20:12:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 27 Jun 2021 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator