From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: persistent file history Date: 08 May 2003 11:50:09 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052362302 13759 80.91.224.249 (8 May 2003 02:51:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 8 May 2003 02:51:42 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu May 08 04:51:38 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19DbUC-0003Wb-00 for ; Thu, 08 May 2003 04:50:20 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19DbYT-0003LJ-00 for ; Thu, 08 May 2003 04:54:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19DbUw-0007N8-08 for emacs-devel@quimby.gnus.org; Wed, 07 May 2003 22:51:07 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19DbUT-0007Ax-00 for emacs-devel@gnu.org; Wed, 07 May 2003 22:50:37 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19DbUR-00075x-00 for emacs-devel@gnu.org; Wed, 07 May 2003 22:50:35 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.214]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19DbUQ-00073W-00; Wed, 07 May 2003 22:50:34 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.195])h482oRc27475; Thu, 8 May 2003 11:50:27 +0900 (JST) Original-Received: (from root@localhost) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) id h482oQY16746; Thu, 8 May 2003 11:50:26 +0900 (JST) Original-Received: from edtmg02.lsi.nec.co.jp ([10.26.16.202]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id h482oBC00128; Thu, 8 May 2003 11:50:11 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) id LAA09381; Thu, 8 May 2003 11:50:10 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) with ESMTP id h482oANH018414; Thu, 8 May 2003 11:50:10 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id C021936FF; Thu, 8 May 2003 11:50:09 +0900 (JST) Original-To: emacs-devel@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop Original-Lines: 21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13758 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13758 I have the following entry in my `recentf-mode-hook': (lambda () (dolist (f (reverse recentf-list)) (add-to-list 'file-name-history f))) So if recentf-mode is turned on, the history for find-file persists across emacs sessions; I find this _very_ useful. Does this seem like a good idea to add as default behavior somehow? [Perhaps it would be better to (1) just append recentf-list to the _end_ of file-name-history, and (2) keep track of whether this has been done before, and not do it more than once; then this should work properly if recentf-mode is turned on in the middle of a session.] -Miles -- [|nurgle|] ddt- demonic? so quake will have an evil kinda setting? one that will make every christian in the world foamm at the mouth? [iddt] nurg, that's the goal