|
From: | Juri Linkov |
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 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) |
>> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |