From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Markus Rost Newsgroups: gmane.emacs.devel Subject: persistent file history Date: Thu, 8 May 2003 16:20:43 -0400 (EDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200305082020.h48KKhlv020848@hampton.math.ohio-state.edu> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1052425417 26554 80.91.224.249 (8 May 2003 20:23:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 8 May 2003 20:23:37 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu May 08 22:23:32 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 19Drux-0006qX-00 for ; Thu, 08 May 2003 22:23:03 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19DrzZ-0005Am-00 for ; Thu, 08 May 2003 22:27:49 +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 19Drtn-0006f5-00 for emacs-devel@quimby.gnus.org; Thu, 08 May 2003 16:21:51 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19DrtA-0006Ca-00 for emacs-devel@gnu.org; Thu, 08 May 2003 16:21:12 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19Drsy-000604-00 for emacs-devel@gnu.org; Thu, 08 May 2003 16:21:00 -0400 Original-Received: from hermes.math.ohio-state.edu ([140.254.92.31]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19Drsm-0005yz-00 for emacs-devel@gnu.org; Thu, 08 May 2003 16:20:48 -0400 Original-Received: from hampton.math.ohio-state.edu (hampton.math.ohio-state.edu [140.254.93.46])h48KKjHC030972; Thu, 8 May 2003 16:20:46 -0400 Original-Received: from hampton.math.ohio-state.edu (localhost [127.0.0.1]) h48KKjlD020851; Thu, 8 May 2003 16:20:45 -0400 (EDT) Original-Received: (from rost@localhost)h48KKhlv020848; Thu, 8 May 2003 16:20:43 -0400 (EDT) Original-To: miles@lsi.nec.co.jp X-Mailer: GNU Emacs 21.3 Emacs-W3/4.0pre.46 X-Home-Page: http://www.math.ohio-state.edu/~rost X-Url-From: http://mail.gnu.org/archive/html/emacs-devel/2003-05/index.html In-Reply-To: buovfwm40f2.fsf@mcspd15.ucom.lsi.nec.co.jp X-RAVMilter-Version: 8.4.2(snapshot 20021217) (hermes) 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:13771 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13771 I have the following entry in my `recentf-mode-hook': (lambda () (dolist (f (reverse recentf-list)) (add-to-list 'file-name-history f))) I like this very much. What about using abbreviate-file-name in that function? I mean here something like: (lambda nil (dolist (f (reverse recentf-list)) (add-to-list 'file-name-history (abbreviate-file-name f))))) Since we are about values of history variables: What about setting the default value of yes-or-no-p-history as follows: (setq yes-or-no-p-history (list "yes" "no"))