From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: Accessing recent file history Date: Wed, 04 Jan 2006 22:06:39 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1136408996 11075 80.91.229.2 (4 Jan 2006 21:09:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Jan 2006 21:09:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 04 22:09:52 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EuFsl-0000sG-Eu for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jan 2006 22:09:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuFuR-0000dp-55 for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jan 2006 16:11:03 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!npeer.de.kpn-eurorings.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-X-Trace: individual.net Yq0Y4RH2b0NaGeaWNE37hwBVWmJOQKEwFg1UFrJ9fmgmhEejm4 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Kq9pOyEbhLNCMwEMVa/AlvWPbxg= Original-Xref: shelby.stanford.edu gnu.emacs.help:136806 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:32425 Archived-At: Henrik Enberg writes: >> The file history that I see in the File -> Open Recently Visited would >> be best, > > `recentf-list' Sorry, I was mistaken, I am using session.el and almost forgot that. Right now, I have two submenus in my File menu: "Open...recently changed" and "Open...recently visited" and I now know that session placed them there. >> but I guess the minibuffer history for `find-file' would work too. > > `file-name-history' Works, thanks! (defun my-open-recent-file (fname) "Interactively open recently opened file, using `file-name-history' as history" (interactive (list (flet ((iswitchb-make-buflist (default) (setq iswitchb-buflist file-name-history))) (iswitchb-read-buffer "Open file: ")))) (find-file fname))