GNU bug report logs -
#13870
recentf-save-file defaults to the wrong directory
Previous Next
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.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 11 Mar 2013 16:37:49 -0400
with message-id <jwvfw01vfkd.fsf-monnier+emacs <at> gnu.org>
and subject line Re: bug#13870: recentf-save-file defaults to the wrong directory
has caused the debbugs.gnu.org bug report #13870,
regarding recentf-save-file defaults to the wrong directory
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
13870: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13870
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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'
[...]
[Message part 3 (message/rfc822, inline)]
> 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
This bug report was last modified 12 years and 131 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.