From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: bruno.vasselle--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#37116: 26.1; User choice user-emacs-directory is not honored Date: Tue, 20 Aug 2019 20:50:47 +0200 (CEST) Message-ID: <1564913112.2639585.1566327047431.JavaMail.zimbra@laposte.net> References: <99676126.1919199.1566311626414.JavaMail.zimbra@laposte.net> <838srnlqsp.fsf@gnu.org> Reply-To: bruno.vasselle@laposte.net Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2639584_1482134095.1566327047430" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="166601"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37116@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 20 20:51:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i09Dr-000hBS-Oe for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Aug 2019 20:51:11 +0200 Original-Received: from localhost ([::1]:40506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i09Dq-0007s7-MN for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Aug 2019 14:51:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34710) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i09Dk-0007qn-5S for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2019 14:51:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i09Di-0000J9-Rt for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2019 14:51:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53339) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i09Di-0000J3-DP for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2019 14:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i09Di-0001Tl-AK for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2019 14:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: bruno.vasselle@laposte.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Aug 2019 18:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37116 X-GNU-PR-Package: emacs Original-Received: via spool by 37116-submit@debbugs.gnu.org id=B37116.15663270515661 (code B ref 37116); Tue, 20 Aug 2019 18:51:02 +0000 Original-Received: (at 37116) by debbugs.gnu.org; 20 Aug 2019 18:50:51 +0000 Original-Received: from localhost ([127.0.0.1]:33927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i09DX-0001TC-2D for submit@debbugs.gnu.org; Tue, 20 Aug 2019 14:50:51 -0400 Original-Received: from smtpoutz12.laposte.net ([194.117.213.173]:33044 helo=smtp.laposte.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i09DU-0001T2-Qr for 37116@debbugs.gnu.org; Tue, 20 Aug 2019 14:50:50 -0400 Original-Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout002 (Postfix) with ESMTP id B841EA41232 for <37116@debbugs.gnu.org>; Tue, 20 Aug 2019 20:50:47 +0200 (CEST) Original-Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout002 (Postfix) with ESMTP id 9D302A4119A for <37116@debbugs.gnu.org>; Tue, 20 Aug 2019 20:50:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=mail0; t=1566327047; bh=zvYzCGYyd/FQ57Xl6K2EXqNUsfuh7n/PdR6ucnEJRTc=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=ZEbVQkLtpTKoBKQYENmLaDPKV065Ba/dEVMvMxvbCokjIw1LNdED7BrLVpgELSK3Y u6nPaBiOwHZ2V+bAPvyUCbk+A2ks15A0cQCfdbEEAzS+4OsGUFUjhkNIlVBaNipdxK 0Oux1ZSx0OVpZbt5aOfLJb9nJP3hv8yLKEOu32iUveJOHe+aY3uX/xEcVo/mI0bo8q ZrbUWbkURenFcuBt9s3Nie7RmI/Q8sFVR51JaIx1FNYEdiZrrZGVI9FsF6yBkm887k aBAO9sYQDwwnFGXlqvj/Q47AcN67SDq6FrMYjBjoQE1gcBeflVRWIb+StBQOGqQubz Se6XZW5HRhJFg== Original-Received: from lpn-prd-mstr087.laposte (lpn-prd-mstr087 [10.128.59.113]) by lpn-prd-vrout002 (Postfix) with ESMTP id 845FAA40D50; Tue, 20 Aug 2019 20:50:47 +0200 (CEST) In-Reply-To: <838srnlqsp.fsf@gnu.org> X-Originating-IP: [88.187.179.11] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - GC70 (Linux)/La Poste) Thread-Topic: bug#37116: 26.1; User choice user-emacs-directory is not honored Thread-Index: OAt9OPc0DdhaIWun3OIv7AzfqcF6LQ== X-VR-FullState: 0 X-VR-Score: -100 X-VR-Cause-1: gggruggvucftvghtrhhoucdtuddrgeduvddrudeguddguddvkecutefuodetggdotefrodftvfcurfhr X-VR-Cause-2: ohhfihhlvgemucfntefrqffuvffgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghn X-VR-Cause-3: thhsucdlqddutddtmdenucfjughrpeffhffvkfgjfhfugggtihfothesrgdttggsredtjeenucfhrhho X-VR-Cause-4: mhepsghruhhnohdrvhgrshhsvghllhgvsehlrghpohhsthgvrdhnvghtnecukfhppedutddruddvkedr X-VR-Cause-5: heelrdduudefpdekkedrudekjedrudejledruddunecurfgrrhgrmhepmhhouggvpehsmhhtphhouhht X-VR-Cause-6: pdhinhgvthepuddtrdduvdekrdehledruddufedphhgvlhhopehlphhnqdhprhguqdhmshhtrhdtkeej X-VR-Cause-7: rdhlrghpohhsthgvpdhmrghilhhfrhhomhepsghruhhnohdrvhgrshhsvghllhgvsehlrghpohhsthgv X-VR-Cause-8: rdhnvghtpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepfeejudduieesuggv X-VR-Cause-9: sggsuhhgshdrghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-VR-AvState: No X-VR-State: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:165438 Archived-At: ------=_Part_2639584_1482134095.1566327047430 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Added (manually) to commit tagged emacs-26.1.92, in defcustom auto-save-lis= t-file-prefix':=20 :initialize 'custom-initialize-delay=20 Done same tests with auto-save configuration commented out in "please-do-it= .el".=20 - The directory .emacs.d is created=20 - It is populated with a directory auto-save-list-file-prefix=20 Checked that emacs is actually the one I've just build: it is.=20 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.=20 Thus, no, it does not seem to work.=20 Shall I try from another commit ?=20 ----- Mail original ----- De: "Eli Zaretskii" =20 =C3=80: "bruno vasselle" =20 Cc: 37116@debbugs.gnu.org=20 Envoy=C3=A9: Mardi 20 Ao=C3=BBt 2019 18:55:50=20 Objet: Re: bug#37116: 26.1; User choice user-emacs-directory is not honored= =20 > Date: Tue, 20 Aug 2019 16:33:46 +0200 (CEST)=20 > From: bruno.vasselle--- via "Bug reports for GNU Emacs,=20 > the Swiss army knife of text editors" =20 >=20 > Alright... but it's not legitimate: as I've set `user-emacs-directory', I= should not have to furthermore tell=20 > auto-save where to put its material. If I need to, this means I need to a= lso for every possible package that uses=20 > user-emacs-directory. And emacs still trashes my home directory.=20 Does the patch below solve your problem?=20 diff --git a/lisp/startup.el b/lisp/startup.el=20 index 32051c2..d753e6a 100644=20 --- a/lisp/startup.el=20 +++ b/lisp/startup.el=20 @@ -405,6 +405,7 @@ auto-save-list-file-prefix=20 Directories in the prefix will be created if necessary.=20 Set this to nil if you want to prevent `auto-save-list-file-name'=20 from being initialized."=20 + :initialize 'custom-initialize-delay=20 :type '(choice (const :tag "Don't record a session's auto save list" nil)= =20 string)=20 :group 'auto-save)=20 ------=_Part_2639584_1482134095.1566327047430 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Added (manually) to commit tagge= d emacs-26.1.92, in defcustom auto-save-list-file-prefix':
 = :initialize 'custom-initialize-delay

Done same te= sts with auto-save configuration commented out in "please-do-it.el". <= /div>
- The directory .emacs.d is created
- It is populated w= ith a directory auto-save-list-file-prefix

Ch= ecked 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 ?


<= div style=3D"color:#000;font-weight:normal;font-style:normal;text-decoratio= n:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-sty= le=3D"color: #000; font-weight: normal; font-style: normal; text-decoration= : none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;">De: <= /b>"Eli Zaretskii" <eliz@gnu.org>
=C3=80: "bruno vasselle" = <bruno.vasselle@laposte.net>
Cc: 37116@debbugs.gnu.org
<= b>Envoy=C3=A9:
Mardi 20 Ao=C3=BBt 2019 18:55:50
Objet: Re: bu= g#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 k= nife of text editors" <bug-gnu-emacs@gnu.org>
>
> Alrigh= t... 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. I= f 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 1= 00644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -405,6 +405,7= @@ auto-save-list-file-prefix
 Directories in the prefix will be c= reated if necessary.
 Set this to nil if you want to prevent `auto-= save-list-file-name'
 from being initialized."
+  :initiali= ze 'custom-initialize-delay
   :type '(choice (const :tag "Don= 't record a session's auto save list" nil)
     = ;             s= tring)
   :group 'auto-save)

------=_Part_2639584_1482134095.1566327047430--