GNU bug report logs - #37354
27.0.50; Startup: auto-save-list folder created in current directory

Previous Next

Package: emacs;

Reported by: Bastian Beischer <bastian.beischer <at> gmail.com>

Date: Mon, 9 Sep 2019 10:03:02 UTC

Severity: normal

Found in version 27.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Sven Joachim <svenjoac <at> gmx.de>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 37354 <at> debbugs.gnu.org, Robert Pluim <rpluim <at> gmail.com>,
 Bastian Beischer <bastian.beischer <at> gmail.com>,
 martin rudalics <rudalics <at> gmx.at>
Subject: Re: 27.0.50; Startup: auto-save-list folder created in current
 directory
Date: Wed, 11 Sep 2019 18:37:16 +0200
On 2019-09-11 08:56 -0700, Paul Eggert wrote:

> Thanks for the bug report. I thought I'd fixed all those defcustoms,
> but evidently I missed one. I installed the attached patch into
> master; please give it a try.
>
>>From 72b68a63565a778d5a19e5a9275805b8b77b890c Mon Sep 17 00:00:00 2001
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Wed, 11 Sep 2019 08:50:02 -0700
> Subject: [PATCH] Fix auto-save with user-emacs-directory
>
> * lisp/startup.el (auto-save-list-file-prefix): Delay initialization,
> since the value depends on user-emacs-directory (Bug#37354).
> ---
>  lisp/startup.el | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/lisp/startup.el b/lisp/startup.el
> index a16db242da..ef6234128a 100644
> --- a/lisp/startup.el
> +++ b/lisp/startup.el
> @@ -406,6 +406,7 @@ auto-save-list-file-prefix
>  Directories in the prefix will be created if necessary.
>  Set this to nil if you want to prevent `auto-save-list-file-name'
>  from being initialized."
> +  :initialize #'custom-initialize-delay
>    :type '(choice (const :tag "Don't record a session's auto save list" nil)
>  		 string)
>    :group 'auto-save)
> --
> 2.17.1

Works for me, thanks. :-)

Cheers,
       Sven




This bug report was last modified 5 years and 251 days ago.

Previous Next


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