Subject: bug#13870: closed (Re: bug#13870: recentf-save-file defaults to the wrong directory)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 11 Mar 2013 20:40:05 +0000

Your bug report

#13870: recentf-save-file defaults to the wrong directory

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
13870: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13870
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#13870: recentf-save-file defaults to the wrong directory
From: Stefan Monnier <[email-masked]>
To: Josh <[email-masked]>
Cc: [email-masked]
Date: Mon, 11 Mar 2013 16:37:49 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

> 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

Subject: recentf-save-file defaults to the wrong directory
From: Josh <[email-masked]>
To: [email-masked]
Date: Mon, 4 Mar 2013 09:14:16 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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 [email-masked]
Windowing system distributor `Apple', version 10.3.1187
Configured using: `configure --host=x86_64-apple-darwin
--build=i686-apple-darwin --with-ns'
[...]