GNU bug report logs - #16837
24.3.50; Allow a HISTORY arg for `read-file-name', `read-file-name-default'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 21 Feb 2014 18:36:01 UTC

Severity: wishlist

Tags: wontfix

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 16837 <at> debbugs.gnu.org
Subject: bug#16837: 24.3.50; Allow a HISTORY arg for `read-file-name', `read-file-name-default'
Date: Sun, 30 May 2021 06:45:58 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> 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




This bug report was last modified 4 years and 17 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.