bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12915: 24.2.50; Visiting a file via drag-and-drop should add it to t


From: Chong Yidong
Subject: bug#12915: 24.2.50; Visiting a file via drag-and-drop should add it to the history of visited files
Date: Sat, 12 Jan 2013 16:25:50 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.92 (gnu/linux)

Dani Moncayo <dmoncayo@gmail.com> writes:

>> The history of visited files should contain every visited
>> file, regardless of the way it was visited (command line argument,
>> drag-n-drop, menu item, C-x C-f...)
>
> ... and when the file is visited via bookmarks (e.g. `C-x r b foo
> <RET>').  (I've just missed this feature).

This feature is relatively easy to implement.

I think it is best done by adding an optional argument `add-history' to
`find-file' (and similar functions like `find-file-other-frame'), so
that Lisp callers can specify to update `file-name-history' even if the
file name was not read interactively.  Any objections?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]