From: bruno.vasselle--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 37116@debbugs.gnu.org
Subject: bug#37116: 26.1; User choice user-emacs-directory is not honored
Date: Tue, 20 Aug 2019 20:50:47 +0200 (CEST) [thread overview]
Message-ID: <1564913112.2639585.1566327047431.JavaMail.zimbra@laposte.net> (raw)
In-Reply-To: <838srnlqsp.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1883 bytes --]
Added (manually) to commit tagged emacs-26.1.92, in defcustom auto-save-list-file-prefix':
:initialize 'custom-initialize-delay
Done same tests with auto-save configuration commented out in "please-do-it.el".
- The directory .emacs.d is created
- It is populated with a directory auto-save-list-file-prefix
Checked that emacs is actually the one I've just build: it is.
Also checked that /usr/share/emacs/26.1.92/lisp/startup.el* are up to date: they are, though sibling .el are not affected except subdirs.el.
Thus, no, it does not seem to work.
Shall I try from another commit ?
----- Mail original -----
De: "Eli Zaretskii" <eliz@gnu.org>
À: "bruno vasselle" <bruno.vasselle@laposte.net>
Cc: 37116@debbugs.gnu.org
Envoyé: Mardi 20 Août 2019 18:55:50
Objet: Re: bug#37116: 26.1; User choice user-emacs-directory is not honored
> Date: Tue, 20 Aug 2019 16:33:46 +0200 (CEST)
> From: bruno.vasselle--- via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> Alright... but it's not legitimate: as I've set `user-emacs-directory', I should not have to furthermore tell
> auto-save where to put its material. If I need to, this means I need to also for every possible package that uses
> user-emacs-directory. And emacs still trashes my home directory.
Does the patch below solve your problem?
diff --git a/lisp/startup.el b/lisp/startup.el
index 32051c2..d753e6a 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -405,6 +405,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)
[-- Attachment #2: Type: text/html, Size: 2766 bytes --]
next prev parent reply other threads:[~2019-08-20 18:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1109001605.1628158.1566304636039.JavaMail.zimbra@laposte.net>
2019-08-20 14:33 ` bug#37116: 26.1; User choice user-emacs-directory is not honored bruno.vasselle--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-08-20 16:55 ` Eli Zaretskii
2019-08-20 18:50 ` bruno.vasselle--- via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2019-08-20 20:11 ` bruno.vasselle--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-08-21 2:36 ` Eli Zaretskii
2019-08-21 8:24 ` bruno.vasselle--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-08-21 16:35 ` Eli Zaretskii
[not found] ` <891641150.2753162.1566490697114.JavaMail.zimbra@laposte.net>
2019-08-22 16:49 ` Eli Zaretskii
2019-08-22 17:27 ` bruno.vasselle--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-08-22 17:47 ` Eli Zaretskii
2019-08-24 15:49 ` Eli Zaretskii
2019-08-24 16:33 ` Stefan Kangas
2019-08-26 20:07 ` bruno.vasselle--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1564913112.2639585.1566327047431.JavaMail.zimbra@laposte.net \
--to=bug-gnu-emacs@gnu.org \
--cc=37116@debbugs.gnu.org \
--cc=bruno.vasselle@laposte.net \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.