GNU bug report logs - #13870
recentf-save-file defaults to the wrong directory

Previous Next

Package: emacs;

Reported by: Josh <josh <at> foxtail.org>

Date: Mon, 4 Mar 2013 17:16:01 UTC

Severity: wishlist

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13870 in the body.
You can then email your comments to 13870 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13870; Package emacs. (Mon, 04 Mar 2013 17:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Josh <josh <at> foxtail.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 04 Mar 2013 17:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Josh <josh <at> foxtail.org>
To: bug-gnu-emacs <at> gnu.org
Subject: recentf-save-file defaults to the wrong directory
Date: Mon, 4 Mar 2013 09:14:16 -0800
The defcustom form for `recentf-save-file' contains a standard value
of (convert-standard-filename "~/.recentf"), but additional per-user
Emacs-specific files should be stored under `user-emacs-directory'
according to its docstring.

In GNU Emacs 24.3.50.1 (x86_64-apple-darwin, NS apple-appkit-1187.34)
 of 2013-03-04 on bix
Bzr revision: 111935 yamaoka <at> jpl.org-20130304102733-4qy111z41qwoh2as
Windowing system distributor `Apple', version 10.3.1187
Configured using: `configure --host=x86_64-apple-darwin
--build=i686-apple-darwin --with-ns'
[...]




Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Mon, 11 Mar 2013 20:40:03 GMT) Full text and rfc822 format available.

Notification sent to Josh <josh <at> foxtail.org>:
bug acknowledged by developer. (Mon, 11 Mar 2013 20:40:05 GMT) Full text and rfc822 format available.

Message #10 received at 13870-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Josh <josh <at> foxtail.org>
Cc: 13870-done <at> debbugs.gnu.org
Subject: Re: bug#13870: recentf-save-file defaults to the wrong directory
Date: Mon, 11 Mar 2013 16:37:49 -0400
> The defcustom form for `recentf-save-file' contains a standard value
> of (convert-standard-filename "~/.recentf"), but additional per-user
> Emacs-specific files should be stored under `user-emacs-directory'
> according to its docstring.

Indeed, thank you.  I installed the patch below which should fix it,


        Stefan


=== modified file 'lisp/recentf.el'
--- lisp/recentf.el	2013-01-01 09:11:05 +0000
+++ lisp/recentf.el	2013-03-11 20:34:39 +0000
@@ -69,7 +69,7 @@
   :group 'recentf
   :type 'integer)
 
-(defcustom recentf-save-file (convert-standard-filename "~/.recentf")
+(defcustom recentf-save-file (locate-user-emacs-file "recentf" ".recentf")
   "File to save the recent list into."
   :group 'recentf
   :type 'file





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Apr 2013 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 130 days ago.

Previous Next


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