GNU bug report logs -
#12915
24.2.50; Visiting a file via drag-and-drop should add it to the history of visited files
Previous Next
Reported by: Dani Moncayo <dmoncayo <at> gmail.com>
Date: Sat, 17 Nov 2012 13:09:01 UTC
Severity: wishlist
Merged with 3909
Found in version 24.2.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> `file-name-history' was designed to be augmented by `read-file-name', whenever a
> file name is input. That includes commands that do not display/visit the file.
> This way of interactively choosing files should not be ignored, just because
> someone finds an easy way to hook history augmentation into file-buffer display.
A new variable (e.g. `file-name-history-variable') could be introduced
to hold the name of the history variable. The default would be the
currently existing `file-name-history'. And the other possible value
would be a new history variable (e.g. `file-name-extended-history')
that will collect all visited/displayed file names like:
(defvar file-name-history nil
"History list of file names entered in the minibuffer.")
(defvar file-name-extended-history nil
"History list of files visited/displayed in the current session.")
(defcustom file-name-history-variable 'file-name-history
"History list to use in the minibuffer that reads a file name.
The value of this variable should be a symbol; that symbol
is used as a variable to hold a history list for the file names."
:group 'files
:type 'symbol)
Then the users would be able to customize it to `file-name-extended-history':
(custom-set-variables
'(file-name-history-variable file-name-extended-history))
This bug report was last modified 3 years and 305 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.