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: Fri, 29 Apr 2016 19:39:13 +0200
Drew Adams <drew.adams <at> oracle.com> 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




This bug report was last modified 3 years and 356 days ago.

Previous Next


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