emacs-devel
[Top][All Lists]
Advanced

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

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


From: Andreas Röhler
Subject: Re: bug#12915: 24.2.50; Visiting a file via drag-and-drop should add it to the history of visited files
Date: Sun, 13 Jan 2013 10:21:25 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121025 Thunderbird/16.0.2

Am 12.01.2013 09:25, schrieb Chong Yidong:
Dani Moncayo <address@hidden> 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?





Hi,

don't think files just used by programs should go into history. That might make 
history useless to a certain point.
Also it might slow down programs.

Cheers,

Andreas



reply via email to

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