GNU bug report logs - #16542
24.3.50; When finding a file via a bookmark, that file is not part of file-name-history

Previous Next

Package: emacs;

Reported by: Bastien Guerry <bzg <at> altern.org>

Date: Fri, 24 Jan 2014 21:47:02 UTC

Severity: minor

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: Juri Linkov <juri <at> jurta.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Bastien <bzg <at> altern.org>, 16542 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#16542: 24.3.50; When finding a file via a bookmark, that file is not part of file-name-history
Date: Wed, 29 Jan 2014 11:10:19 +0200
>> I think a cleaner solution would be to have two separate history lists:
>> 1. history of minibuffer input
>> 2. history of visited files
>> and a new option to select which history to access via M-p
>> in the minibuffer that reads a file name.
>
> Better would be to somehow give access to those two lists without going
> through an option.

Maybe using M-n that makes the history of visited files available
after evaluating this defun (later it could be added to its
existing implementation):

  (defun read-file-name--defaults (&optional dir initial)
    recentf-list)

where suggestions will work like in web browsers
that pop up a list of visited web pages.

In this case recentf.el have to be pre-loaded.




This bug report was last modified 4 years and 328 days ago.

Previous Next


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