From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 16837@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 [thread overview]
Message-ID: <871t5oz54u.fsf@gnus.org> (raw)
In-Reply-To: <89c479a5-be61-468c-81d2-f8ffe115560d@default> (Drew Adams's message of "Fri, 21 Feb 2014 10:34:37 -0800 (PST)")
Drew Adams <drew.adams@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
next prev parent reply other threads:[~2016-04-29 17:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-21 18:34 bug#16837: 24.3.50; Allow a HISTORY arg for `read-file-name', `read-file-name-default' Drew Adams
2016-04-29 17:39 ` Lars Ingebrigtsen [this message]
2021-05-30 4:45 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871t5oz54u.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=16837@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).