all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#13870: recentf-save-file defaults to the wrong directory
@ 2013-03-04 17:14 Josh
  2013-03-11 20:37 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Josh @ 2013-03-04 17:14 UTC (permalink / raw)
  To: 13870

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@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'
[...]





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#13870: recentf-save-file defaults to the wrong directory
  2013-03-04 17:14 bug#13870: recentf-save-file defaults to the wrong directory Josh
@ 2013-03-11 20:37 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2013-03-11 20:37 UTC (permalink / raw)
  To: Josh; +Cc: 13870-done

> 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






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-11 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04 17:14 bug#13870: recentf-save-file defaults to the wrong directory Josh
2013-03-11 20:37 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.