From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 07:01:27 2015 Received: (at submit) by debbugs.gnu.org; 6 Sep 2015 11:01:27 +0000 Received: from localhost ([127.0.0.1]:50486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYXhO-0005yI-Fk for submit@debbugs.gnu.org; Sun, 06 Sep 2015 07:01:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38969) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYXhL-0005y5-PY for submit@debbugs.gnu.org; Sun, 06 Sep 2015 07:01:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYXhK-0001Hm-Dt for submit@debbugs.gnu.org; Sun, 06 Sep 2015 07:01:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYXhK-0001Hi-Ar for submit@debbugs.gnu.org; Sun, 06 Sep 2015 07:01:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYXhJ-0004BG-7U for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 07:01:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYXhF-0001FB-1A for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 07:01:21 -0400 Received: from [219.88.242.52] (port=55383 helo=mail.orcon.net.nz) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYXhE-0001EF-IJ for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 07:01:16 -0400 Received: from [10.1.1.5] (202-150-102-33.bng1.avl.orcon.net.nz [202.150.102.33] (may be forged)) (authenticated bits=0) by mail.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id t86B18tU027995 for ; Sun, 6 Sep 2015 23:01:09 +1200 Message-ID: <55EC1CF4.60006@orcon.net.nz> Date: Sun, 06 Sep 2015 23:01:08 +1200 From: Phil Sainty User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.5; (package-initialize) added to init.el without (setq package-enable-at-startup nil) Content-Type: multipart/mixed; boundary="------------050806030400060809030404" X-Bayes-Prob: 0.0001 (Score 0: No Bayes scoring rules defined, tokens from: outbound) X-CanIt-Geo: ip=202.150.102.33; country=NZ; latitude=-41; longitude=174.0000; http://maps.google.com/maps?q=-41,174.0000&z=6 X-CanItPRO-Stream: base:outbound X-Canit-Stats-ID: 02PdL19X9 - deeb6977015b - 20150906 X-Scanned-By: CanIt (www . roaringpenguin . com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) This is a multi-part message in MIME format. --------------050806030400060809030404 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mail.orcon.net.nz id t86B18tU027995 package--ensure-init-file inserts (package-initialize) into the user's init file, but it does not also insert (setq package-enable-at-startup ni= l), which means that (according to (emacs) Package Installation) Emacs will re-initialize the packages post-init: > In some circumstances, you may want to load packages explicitly in > your init file (usually because some other code in your init file > depends on a package). In that case, your init file should call the > function =E2=80=98package-initialize=E2=80=99. It is up to you to ens= ure that > relevant user options, such as =E2=80=98package-load-list=E2=80=99 (se= e below), are > set up prior to the =E2=80=98package-initialize=E2=80=99 call. You sh= ould also set > =E2=80=98package-enable-at-startup=E2=80=99 to =E2=80=98nil=E2=80=99, = to avoid loading the packages > again after processing the init file. --------------050806030400060809030404 Content-Type: text/x-patch; name="0001-Disable-package-enable-at-startup-when-forcing-packa.patch" Content-Disposition: attachment; filename*0="0001-Disable-package-enable-at-startup-when-forcing-packa.pa"; filename*1="tch" Content-Transfer-Encoding: 7bit >From 297f2d5555ba0efb0afc3412f49d1c728ebb5700 Mon Sep 17 00:00:00 2001 From: Phil Sainty Date: Sun, 6 Sep 2015 22:48:40 +1200 Subject: [PATCH] Disable package-enable-at-startup when forcing package-initialize --- lisp/emacs-lisp/package.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index d4a2f02..baa4ab6 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -1856,6 +1856,7 @@ add a call to it along with some explanatory comments." ";; installed packages. Don't delete this line. If you don't want it,\n" ";; just comment it out by adding a semicolon to the start of the line.\n" ";; You may delete these explanatory comments.\n" + "(setq package-enable-at-startup nil)\n") "(package-initialize)\n") (unless (looking-at-p "$") (insert "\n")) -- 2.1.0 --------------050806030400060809030404-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 07:10:44 2015 Received: (at submit) by debbugs.gnu.org; 6 Sep 2015 11:10:44 +0000 Received: from localhost ([127.0.0.1]:50491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYXqN-0006OT-Ny for submit@debbugs.gnu.org; Sun, 06 Sep 2015 07:10:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40408) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYXqK-0006Ny-5H for submit@debbugs.gnu.org; Sun, 06 Sep 2015 07:10:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYXqD-0005gK-VW for submit@debbugs.gnu.org; Sun, 06 Sep 2015 07:10:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYXqD-0005g7-Sy for submit@debbugs.gnu.org; Sun, 06 Sep 2015 07:10:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYXqD-0002WD-0z for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 07:10:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYXq8-0005cH-Lc for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 07:10:32 -0400 Received: from [219.88.242.59] (port=47673 helo=mail.orcon.net.nz) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYXq8-0005bz-4b for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 07:10:28 -0400 Received: from [10.1.1.5] (202-150-102-33.bng1.avl.orcon.net.nz [202.150.102.33] (may be forged)) (authenticated bits=0) by mail.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id t86BAPDp046375 for ; Sun, 6 Sep 2015 23:10:25 +1200 Message-ID: <55EC1F21.8080702@orcon.net.nz> Date: Sun, 06 Sep 2015 23:10:25 +1200 From: Phil Sainty User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: Re: 24.5; (package-initialize) added to init.el without (setq package-enable-at-startup nil) References: <55EC1CF4.60006@orcon.net.nz> In-Reply-To: <55EC1CF4.60006@orcon.net.nz> Content-Type: multipart/mixed; boundary="------------050903090008060600070001" X-Bayes-Prob: 0.0001 (Score 0: No Bayes scoring rules defined, tokens from: outbound) X-CanIt-Geo: ip=202.150.102.33; country=NZ; latitude=-41; longitude=174.0000; http://maps.google.com/maps?q=-41,174.0000&z=6 X-CanItPRO-Stream: base:outbound X-Canit-Stats-ID: 02PdLapyk - 53a1ff53e73e - 20150906 X-Scanned-By: CanIt (www . roaringpenguin . com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) This is a multi-part message in MIME format. --------------050903090008060600070001 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit I managed to configure an incorrect email address for myself. I've attached the corrected patch to this reply. --------------050903090008060600070001 Content-Type: text/x-patch; name="0001-Disable-package-enable-at-startup-when-forcing-packa.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Disable-package-enable-at-startup-when-forcing-packa.pa"; filename*1="tch" >From 2931c2e427a83d6c5ddcc1853626e4f11f25b6bd Mon Sep 17 00:00:00 2001 From: Phil Sainty Date: Sun, 6 Sep 2015 23:05:34 +1200 Subject: [PATCH] Disable package-enable-at-startup when forcing package-initialize --- lisp/emacs-lisp/package.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index d4a2f02..baa4ab6 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -1856,6 +1856,7 @@ add a call to it along with some explanatory comments." ";; installed packages. Don't delete this line. If you don't want it,\n" ";; just comment it out by adding a semicolon to the start of the line.\n" ";; You may delete these explanatory comments.\n" + "(setq package-enable-at-startup nil)\n") "(package-initialize)\n") (unless (looking-at-p "$") (insert "\n")) -- 2.1.0 --------------050903090008060600070001-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 08:59:26 2015 Received: (at 21423) by debbugs.gnu.org; 6 Sep 2015 12:59:26 +0000 Received: from localhost ([127.0.0.1]:50569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYZXZ-00036W-Nu for submit@debbugs.gnu.org; Sun, 06 Sep 2015 08:59:26 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:35446) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYZXX-00036I-Ur for 21423@debbugs.gnu.org; Sun, 06 Sep 2015 08:59:24 -0400 Received: by lagj9 with SMTP id j9so38269359lag.2 for <21423@debbugs.gnu.org>; Sun, 06 Sep 2015 05:59:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=3qRBy2m7bEUeivh7BDGaaz9lwcv+t5zodw8/ssgM1+M=; b=o/WkBL8LIJchX2sswzMdHuPwkaUiYjvODXDYG44AiuHbwLBUf7Bs8l0of7Hhb9WTq2 BWXfcA4Vcbsks25i5lj0rXlTzkEqhbHjVtn47FgPDaK25sJrzhJYWTB/VnhKCn2+YSCM Ey9CxorB/NOF8Iu3gwjf1tadZ7wWOXrrj0yUrQtCERH9Otcp3vJ+flXm+5qpLGz8gjOF +PzcPYsRe4VXF+9fpfcSQx12nJ3VRFz8YyHUkFvxykXAf4fkosl5SDM54qzsWsv3KXOW ZVa1w+2JHuRqCeN7P4P0VoTdAX1cjVbd2V07bMmcJtkBMgcCE9YoBhpuHo++Wi0a2zVf kHfg== MIME-Version: 1.0 X-Received: by 10.112.161.137 with SMTP id xs9mr12740225lbb.4.1441544363047; Sun, 06 Sep 2015 05:59:23 -0700 (PDT) Received: by 10.25.213.202 with HTTP; Sun, 6 Sep 2015 05:59:22 -0700 (PDT) In-Reply-To: <55EC1F21.8080702@orcon.net.nz> References: <55EC1CF4.60006@orcon.net.nz> <55EC1F21.8080702@orcon.net.nz> Date: Sun, 6 Sep 2015 13:59:22 +0100 X-Google-Sender-Auth: orLAm2acZa6p4a4OZnUWhyisSto Message-ID: Subject: Re: bug#21423: 24.5; (package-initialize) added to init.el without (setq package-enable-at-startup nil) From: Artur Malabarba To: Phil Sainty Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21423 Cc: 21423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I think I'd rather do the patch below. This will not only help the situation where we automatically add `(package-initialize)' to the init file, but it will also help those users who have manually added it without knowing about this caveat. Does anyone foresee problems with this? >From 94dafb46f7f258cb19929efc8bb9c123f428bcc5 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Sun, 6 Sep 2015 13:52:54 +0100 Subject: [PATCH] * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup When `package-initialize' is called as part of loading the init file, the user probably doesn't want it to be called again afterwards. In this situation, `package-initialize' now sets `package-enable-at-startup' to nil to prevent that. The user can have the old behaviour by setting this variable to t after the call to `package-initialize'. (Bug#21423) --- lisp/emacs-lisp/package.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 7c4f21f..57b35ca 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -1378,7 +1378,9 @@ it to the file." (if (equal user-init-file load-file-name) ;; If `package-initialize' is being called as part of loading ;; the init file, it's obvious we don't need to ensure-init. - (setq package--init-file-ensured t) + (setq package--init-file-ensured t + ;; And likely we don't need to run it again after init. + package-enable-at-startup nil) (package--ensure-init-file)) (package-load-all-descriptors) (package-read-all-archive-contents) -- 2.5.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 09:18:58 2015 Received: (at submit) by debbugs.gnu.org; 6 Sep 2015 13:18:58 +0000 Received: from localhost ([127.0.0.1]:50578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYZqU-0003ez-0F for submit@debbugs.gnu.org; Sun, 06 Sep 2015 09:18:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35285) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYZqR-0003er-Ki for submit@debbugs.gnu.org; Sun, 06 Sep 2015 09:18:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYZqQ-0001Az-Ey for submit@debbugs.gnu.org; Sun, 06 Sep 2015 09:18:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:44812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYZqQ-0001Av-C5 for submit@debbugs.gnu.org; Sun, 06 Sep 2015 09:18:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYZqP-0000Q9-9k for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 09:18:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYZqM-0001AS-2x for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 09:18:53 -0400 Received: from [219.88.242.59] (port=59345 helo=mail.orcon.net.nz) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYZqL-00018t-JO for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 09:18:50 -0400 Received: from [10.1.1.5] (202-150-102-33.bng1.avl.orcon.net.nz [202.150.102.33] (may be forged)) (authenticated bits=0) by mail.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id t86DIkbl039257 for ; Mon, 7 Sep 2015 01:18:46 +1200 Message-ID: <55EC3D36.8060007@orcon.net.nz> Date: Mon, 07 Sep 2015 01:18:46 +1200 From: Phil Sainty User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: Re: 24.5; (package-initialize) added to init.el without (setq package-enable-at-startup nil) References: <55EC1CF4.60006@orcon.net.nz> <55EC1F21.8080702@orcon.net.nz> In-Reply-To: <55EC1F21.8080702@orcon.net.nz> Content-Type: multipart/mixed; boundary="------------010304090104050108090204" X-Bayes-Prob: 0.0001 (Score 0: No Bayes scoring rules defined, tokens from: outbound) X-CanIt-Geo: ip=202.150.102.33; country=NZ; latitude=-41; longitude=174.0000; http://maps.google.com/maps?q=-41,174.0000&z=6 X-CanItPRO-Stream: base:outbound X-Canit-Stats-ID: 02PdNiK1C - 15527b1e43da - 20150907 X-Scanned-By: CanIt (www . roaringpenguin . com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) This is a multi-part message in MIME format. --------------010304090104050108090204 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit ...and I'd copied and pasted an unwanted paren from the original line, so that patch was broken anyway. Now fixed and tested. In addition I realised the comments needed tweaking to match the change; and I spotted another (related) bug whereby the code which looks for calls to (package-initialize) doesn't take its optional argument into account, so I've modified those searches too. --------------010304090104050108090204 Content-Type: text/x-patch; name="0001-Disable-package-enable-at-startup-when-forcing-packa.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Disable-package-enable-at-startup-when-forcing-packa.pa"; filename*1="tch" >From c8287af963e5de462c572c7b0a95554fb96bba7d Mon Sep 17 00:00:00 2001 From: Phil Sainty Date: Sun, 6 Sep 2015 23:05:34 +1200 Subject: [PATCH] Disable package-enable-at-startup when forcing package-initialize --- lisp/emacs-lisp/package.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index d4a2f02..3b70880 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -1833,12 +1833,12 @@ add a call to it along with some explanatory comments." (save-restriction (widen) (goto-char (point-min)) - (search-forward "(package-initialize)" nil 'noerror)))) + (re-search-forward "(package-initialize\\_>" nil 'noerror)))) ;; Don't visit the file if we don't have to. (with-temp-buffer (insert-file-contents user-init-file) (goto-char (point-min)) - (search-forward "(package-initialize)" nil 'noerror))))) + (re-search-forward "(package-initialize\\_>" nil 'noerror))))) (unless contains-init (with-current-buffer (or buffer (let ((delay-mode-hooks t)) @@ -1853,9 +1853,10 @@ add a call to it along with some explanatory comments." (insert "\n" ";; Added by Package.el. This must come before configurations of\n" - ";; installed packages. Don't delete this line. If you don't want it,\n" - ";; just comment it out by adding a semicolon to the start of the line.\n" - ";; You may delete these explanatory comments.\n" + ";; installed packages. Don't delete these lines. If you don't want\n" + ";; them, just comment them out by adding a semicolon to the start of\n" + ";; each line. You may delete these explanatory comments.\n" + "(setq package-enable-at-startup nil)\n" "(package-initialize)\n") (unless (looking-at-p "$") (insert "\n")) -- 2.1.0 --------------010304090104050108090204-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 09:29:11 2015 Received: (at 21423) by debbugs.gnu.org; 6 Sep 2015 13:29:11 +0000 Received: from localhost ([127.0.0.1]:50595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYa0M-0003tl-Ft for submit@debbugs.gnu.org; Sun, 06 Sep 2015 09:29:10 -0400 Received: from [219.88.242.52] (port=57717 helo=mail.orcon.net.nz) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYa0H-0003tF-Lx for 21423@debbugs.gnu.org; Sun, 06 Sep 2015 09:29:06 -0400 Received: from [10.1.1.5] (202-150-102-33.bng1.avl.orcon.net.nz [202.150.102.33] (may be forged)) (authenticated bits=0) by mail.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id t86DT148048505; Mon, 7 Sep 2015 01:29:02 +1200 Message-ID: <55EC3F9D.6080800@orcon.net.nz> Date: Mon, 07 Sep 2015 01:29:01 +1200 From: Phil Sainty User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: bruce.connor.am@gmail.com Subject: Re: bug#21423: 24.5; (package-initialize) added to init.el without (setq package-enable-at-startup nil) References: <55EC1CF4.60006@orcon.net.nz> <55EC1F21.8080702@orcon.net.nz> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Bayes-Prob: 0.0001 (Score 0: No Bayes scoring rules defined, tokens from: outbound) X-Spam-Score: -1.71 () [Hold at 3.00] FREEMAIL_FROM:0.001, RDNS_NONE:1.274, TO_NO_BRKTS_NORDNS:0.001, T_TO_NO_BRKTS_FREEMAIL:0.01, CC(NZ:-3) X-CanIt-Geo: ip=202.150.102.33; country=NZ; latitude=-41; longitude=174.0000; http://maps.google.com/maps?q=-41,174.0000&z=6 X-CanItPRO-Stream: base:outbound X-Canit-Stats-ID: 02PdNt1E0 - 01293350a7dd - 20150907 X-Scanned-By: CanIt (www . roaringpenguin . com) X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 07/09/15 00:59, Artur Malabarba wrote: > I think I'd rather do the patch below. > This will not only help the situation where we automatically add > `(package-initialize)' to the init file, but it will also help those > users who have manually added it without knowing about this caveat. > > Does anyone foresee problems with this? [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (psainty[at]orcon.net.nz) 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 21423 Cc: 21423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 07/09/15 00:59, Artur Malabarba wrote: > I think I'd rather do the patch below. > This will not only help the situation where we automatically add > `(package-initialize)' to the init file, but it will also help those > users who have manually added it without knowing about this caveat. > > Does anyone foresee problems with this? [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (psainty[at]orcon.net.nz) 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS On 07/09/15 00:59, Artur Malabarba wrote: > I think I'd rather do the patch below. > This will not only help the situation where we automatically add > `(package-initialize)' to the init file, but it will also help those > users who have manually added it without knowing about this caveat. > > Does anyone foresee problems with this? I did always think it odd that your proposed change wasn't how it worked to begin with. That said, this change would seem to be an issue for anyone who is performing a partial initialisation in their init file (for specific packages), and then depending on the default initialisation to deal with the remainder, post-init. I can only imagine that's a very small proportion of users indeed, but I presume the scenario ought to be considered (even if only for the purposes of documenting it in NEWS). From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 11:21:35 2015 Received: (at 21423) by debbugs.gnu.org; 6 Sep 2015 15:21:35 +0000 Received: from localhost ([127.0.0.1]:50836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYbl8-0006dr-RU for submit@debbugs.gnu.org; Sun, 06 Sep 2015 11:21:35 -0400 Received: from mail-lb0-f180.google.com ([209.85.217.180]:35316) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYbl6-0006dh-Qf for 21423@debbugs.gnu.org; Sun, 06 Sep 2015 11:21:33 -0400 Received: by lbpo4 with SMTP id o4so29272877lbp.2 for <21423@debbugs.gnu.org>; Sun, 06 Sep 2015 08:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=X+668LhGeEEvPmAL3uLrH4qPVQzvL7fP7OWzC3cPULQ=; b=j5uO8JXlCLqXEQ3+n4C078RRY+dihhD1q9Ke2fc9Miyo7oszB+I8j2J8HlBeHFkizw 7hImvdydLyz5FBSgLCGQr2shHhIhM5PqfXUIVLhEm5yvMALcKMm6nkBgNVHA1Ss92koJ BBeql7+fQv3OpA5b1bp/VrlP0y0P/hwIOIA1cuaLlhcsj0DOMXXPEh05NH1Sxu89OvnM ZAaWCnl1xRyUwF6XJ0OajCvvXEZP0ReZFLy//lWJJ1HWKRJCIHpIDDbhkUi4ahXzZR/f jZseW/BHrJiEJiAC2lVxYek/LGL2xnyOOIU9HVwBeWO97Uc14Mxn8p4iklcUk/xUbuHx 8oYg== MIME-Version: 1.0 X-Received: by 10.112.205.6 with SMTP id lc6mr12653810lbc.95.1441552892120; Sun, 06 Sep 2015 08:21:32 -0700 (PDT) Received: by 10.25.213.202 with HTTP; Sun, 6 Sep 2015 08:21:32 -0700 (PDT) In-Reply-To: <55EC3F9D.6080800@orcon.net.nz> References: <55EC1CF4.60006@orcon.net.nz> <55EC1F21.8080702@orcon.net.nz> <55EC3F9D.6080800@orcon.net.nz> Date: Sun, 6 Sep 2015 16:21:32 +0100 X-Google-Sender-Auth: KnWghYxUahxs6B8D9dngK3c8gPM Message-ID: Subject: Re: bug#21423: 24.5; (package-initialize) added to init.el without (setq package-enable-at-startup nil) From: Artur Malabarba To: Phil Sainty Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21423 Cc: 21423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 2015-09-06 14:29 GMT+01:00 Phil Sainty : > On 07/09/15 00:59, Artur Malabarba wrote: >> I think I'd rather do the patch below. >> This will not only help the situation where we automatically add >> `(package-initialize)' to the init file, but it will also help those >> users who have manually added it without knowing about this caveat. >> >> Does anyone foresee problems with this? > > I did always think it odd that your proposed change wasn't how it > worked to begin with. > > That said, this change would seem to be an issue for anyone who is > performing a partial initialisation in their init file (for specific > packages), and then depending on the default initialisation to deal > with the remainder, post-init. > > I can only imagine that's a very small proportion of users indeed, > but I presume the scenario ought to be considered (even if only for > the purposes of documenting it in NEWS). Yes, they'll have to add (setq package-enable-at-startup t) after calling initialize. That should definitely go in the NEWS. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 18:33:49 2015 Received: (at 21423) by debbugs.gnu.org; 6 Sep 2015 22:33:49 +0000 Received: from localhost ([127.0.0.1]:50986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYiVR-0001TX-FB for submit@debbugs.gnu.org; Sun, 06 Sep 2015 18:33:49 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:27342) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYiVP-0001TP-Ln for 21423@debbugs.gnu.org; Sun, 06 Sep 2015 18:33:48 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CtCwA731xV/xGkpUVcgxCEAsEMCYdLBAICgTw5FAEBAQEBAQGBCkEFg10BAQMBViMFCwsOJgcLFBgNJC2ICgjPIwEBAQcBAQEBHos6hQUHhC0BBJluBZlMgUUjggocFYFZIoJ4AQEB X-IPAS-Result: A0CtCwA731xV/xGkpUVcgxCEAsEMCYdLBAICgTw5FAEBAQEBAQGBCkEFg10BAQMBViMFCwsOJgcLFBgNJC2ICgjPIwEBAQcBAQEBHos6hQUHhC0BBJluBZlMgUUjggocFYFZIoJ4AQEB X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="162693782" Received: from 69-165-164-17.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.165.164.17]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Sep 2015 18:33:47 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id B32B4AE042; Sun, 6 Sep 2015 18:33:46 -0400 (EDT) From: Stefan Monnier To: Artur Malabarba Subject: Re: bug#21423: 24.5; (package-initialize) added to init.el without (setq package-enable-at-startup nil) Message-ID: References: <55EC1CF4.60006@orcon.net.nz> <55EC1F21.8080702@orcon.net.nz> <55EC3F9D.6080800@orcon.net.nz> Date: Sun, 06 Sep 2015 18:33:46 -0400 In-Reply-To: (Artur Malabarba's message of "Sun, 6 Sep 2015 16:21:32 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 21423 Cc: Phil Sainty , 21423@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> That said, this change would seem to be an issue for anyone who is >> performing a partial initialisation in their init file (for specific >> packages), and then depending on the default initialisation to deal >> with the remainder, post-init. >> >> I can only imagine that's a very small proportion of users indeed, >> but I presume the scenario ought to be considered (even if only for >> the purposes of documenting it in NEWS). > Yes, they'll have to add (setq package-enable-at-startup t) after > calling initialize. That should definitely go in the NEWS. I have a hard time imagining many users doing that. As a user, if I'm picky enough to try and do a partial initialization in my init file, I'll probably also want to do the final full initialization explicitly in my init file. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 07 06:26:42 2015 Received: (at 21423-done) by debbugs.gnu.org; 7 Sep 2015 10:26:42 +0000 Received: from localhost ([127.0.0.1]:51304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYtdJ-0003cy-TF for submit@debbugs.gnu.org; Mon, 07 Sep 2015 06:26:42 -0400 Received: from mail-la0-f54.google.com ([209.85.215.54]:35497) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYtdH-0003cp-G9 for 21423-done@debbugs.gnu.org; Mon, 07 Sep 2015 06:26:40 -0400 Received: by lagj9 with SMTP id j9so49769353lag.2 for <21423-done@debbugs.gnu.org>; Mon, 07 Sep 2015 03:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=5quVh8QdXtq+M1w7PBxCYdIksmN5962ubZoA7wyJ0ro=; b=gsweaaX0PswnpyaVzCzhjZslTfjyO3HUXUXzlWSSAYSWhf4CQpiE/w7JMyIAhaAhxt Jawyh0M+5ROp94NW37GmFAWBYI1xn9pZ/ShA0EPyfBVOReTs5EYHC2QCTf8Vthbgabzy WaeY9b4vZwDnr79CHyoCJVufLIacSGziZSyzd8THLFpIczxdBCfRh8Jqk4CUn5MMRKg5 N1pBZ14nHvhC1oVXn9pSGeJRrYYjyMu6/i+PJsWt7PqeygS5yiWaWPz7EbxJHAb4QbVR OeseJU3qnXWmdeZeKYIMvDxUHHkjiOrBHiufNvJCurWqxBsXbHiElrJeRCwftlBBh+Ss qrew== MIME-Version: 1.0 X-Received: by 10.112.72.97 with SMTP id c1mr2597181lbv.86.1441621598456; Mon, 07 Sep 2015 03:26:38 -0700 (PDT) Received: by 10.25.213.202 with HTTP; Mon, 7 Sep 2015 03:26:38 -0700 (PDT) In-Reply-To: References: <55EC1CF4.60006@orcon.net.nz> <55EC1F21.8080702@orcon.net.nz> <55EC3F9D.6080800@orcon.net.nz> Date: Mon, 7 Sep 2015 11:26:38 +0100 X-Google-Sender-Auth: 16KLt5oFcnOQnfIG0z1aAGW9YZI Message-ID: Subject: Re: bug#21423: 24.5; (package-initialize) added to init.el without (setq package-enable-at-startup nil) From: Artur Malabarba To: 21423-done@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21423-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Pushed the patch above plus some documentation in the NEWS and the manual. 2015-09-06 23:33 GMT+01:00 Stefan Monnier : >>> That said, this change would seem to be an issue for anyone who is >>> performing a partial initialisation in their init file (for specific >>> packages), and then depending on the default initialisation to deal >>> with the remainder, post-init. >>> >>> I can only imagine that's a very small proportion of users indeed, >>> but I presume the scenario ought to be considered (even if only for >>> the purposes of documenting it in NEWS). > >> Yes, they'll have to add (setq package-enable-at-startup t) after >> calling initialize. That should definitely go in the NEWS. > > I have a hard time imagining many users doing that. As a user, if I'm > picky enough to try and do a partial initialization in my init file, > I'll probably also want to do the final full initialization explicitly > in my init file. Now that it's pushed, I'm sure _someone_ will be affected by this and will politely let us know. :) From unknown Tue Jun 17 01:35:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 05 Oct 2015 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator