GNU logs - #65222, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65222: 29.1; Packages initialize but package--initialize is nil
Resent-From: dalanicolai <dalanicolai@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Aug 2023 09:09:02 +0000
Resent-Message-ID: <handler.65222.B.169174491922989 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 65222
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 65222 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.169174491922989
          (code B ref -1); Fri, 11 Aug 2023 09:09:02 +0000
Received: (at submit) by debbugs.gnu.org; 11 Aug 2023 09:08:39 +0000
Received: from localhost ([127.0.0.1]:44899 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qUO8M-0005yi-Px
	for submit <at> debbugs.gnu.org; Fri, 11 Aug 2023 05:08:39 -0400
Received: from lists.gnu.org ([2001:470:142::17]:41588)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dalanicolai@HIDDEN>) id 1qUO8K-0005yV-Qx
 for submit <at> debbugs.gnu.org; Fri, 11 Aug 2023 05:08:37 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dalanicolai@HIDDEN>)
 id 1qUO8D-00015V-O0
 for bug-gnu-emacs@HIDDEN; Fri, 11 Aug 2023 05:08:31 -0400
Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <dalanicolai@HIDDEN>)
 id 1qUO8B-00070C-E7
 for bug-gnu-emacs@HIDDEN; Fri, 11 Aug 2023 05:08:29 -0400
Received: by mail-lj1-x229.google.com with SMTP id
 38308e7fff4ca-2ba1e9b1fa9so26862611fa.3
 for <bug-gnu-emacs@HIDDEN>; Fri, 11 Aug 2023 02:08:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1691744905; x=1692349705;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=CU8NAR0KgS0RQAWyAiLdwwrjxhCJGATQxQEw0yhAzms=;
 b=D0DBrsPuLt67EoujRPlICvBz0oztAp0xgRSRndJ4OWw+jsxExYyqbEQtbqE29JM5Qh
 EFdirjJ1Y5aGmpvlV9EFmabzdW0ViZqtbkOj83dH5dbf1sQYPvVPgcWOrKMtM4seI+CL
 //Xbl1JttpV5s3H84d5pJTJwCDvcDLQaPZU36rDdOGT9237DQISMlHZzeTD+Nq3osBfl
 CHD2vi6jg7dWFVXTc8eGUGhUMK5Vs2jLpiZ3h5I0j3XLGEK2RkdEsh8hAyDGsxNRGE+H
 hvK5VJi2MGheegEpg9QQkVyFO76Ce4qohad3FHUGTW0QZPCtZGL7ytPG7Hp562rIp5Rr
 IXUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1691744905; x=1692349705;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=CU8NAR0KgS0RQAWyAiLdwwrjxhCJGATQxQEw0yhAzms=;
 b=AHikjpdVgCAIs16HHDksqkpVroDcBmWD9dJXlLqjlqQj0Wx/Y1WhvwaYaH8PgAeq4U
 /gGeXftV92N63P/46/G3TbcRVrn+SX8YS1OXA4nKQbk0Qbc2OMpTxzwMVUMbr1PBkNSQ
 XgD4T8spJRWuRWbFuKJyyVinVl7aV0yOHolGjPA77MyrSbbdD8IU277F1yI/qK1/yd9f
 2nj9VxA1f8dLXsu9jGldUuT+otzv231IFd7priv0nlJo95VpJ7/JjTr036YUJ2KtghwL
 hGHcFI5RfUZ4gBKo5eFEnGYn9TtW276+OFTTm+XE9hfp2CJ7zYsTaDe5SUyebT9jk+1M
 a4ww==
X-Gm-Message-State: AOJu0YwGS+V44Iz9U8Gyc2OLSyx4gG74J03Hyhh0Lio1HltjlOjYUKKu
 7ajujQmM8LcKmaAOuBXbNIfZkvnJuuKdnvp/l219U0eKk0Xfpg==
X-Google-Smtp-Source: AGHT+IEHNUIg8ssUNtcf2oR8K1bEEMUgKCfJkVXJh6OEgY7wLnQ21Kc42V76ufQw1dusALoSa0CJfDVDOnEx7AQFbR4=
X-Received: by 2002:a2e:7c10:0:b0:2b9:453f:a383 with SMTP id
 x16-20020a2e7c10000000b002b9453fa383mr1144225ljc.53.1691744904612; Fri, 11
 Aug 2023 02:08:24 -0700 (PDT)
MIME-Version: 1.0
From: dalanicolai <dalanicolai@HIDDEN>
Date: Fri, 11 Aug 2023 11:08:13 +0200
Message-ID: <CACJP=3nU+vrTHv+zHW_BwZ8NRLFP+1n4u1GwOKgBoRbPCFf87Q@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000170dc40602a20e43"
Received-SPF: pass client-ip=2a00:1450:4864:20::229;
 envelope-from=dalanicolai@HIDDEN; helo=mail-lj1-x229.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--000000000000170dc40602a20e43
Content-Type: text/plain; charset="UTF-8"

To reproduce the behavior we can not use 'emacs -Q', but otherwise the
bug is very simple. From a clean Emacs install simply install some
package. Now on (normal) startup (and `package-enable-at-startup` is t)
the packages get initialized before evaluating 'init.el' (indeed after
installing a single package, the package-alist wil be
populated). However, the value of `package--initialized` is still nil
(and I guess it should be t now).

This report is related to a subsequent bug report that I will send
directly after this one.


In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
 cairo version 1.17.8) of 2023-08-09 built on
 2a02-a45d-af56-1-666c-72af-583a-b92d.fixed6.kpn.net
Repository revision: 31cef9a4eac01fff5ff4fcb89d7e2b7815e93bad
Repository branch: HEAD
System Description: Fedora Linux 38 (Workstation Edition)

Configured using:
 'configure --with-tree-sitter --with-modules --with-cairo
 --with-native-compilation --with-json --with-pgtk'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG
RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER
XIM GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
gnus-util text-property-search time-date mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp comp-cstr warnings
icons rx cl-extra help-mode info evil-autoloads package browse-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x
map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win
term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo gtk pgtk multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 112973 6385)
 (symbols 48 8729 0)
 (strings 32 30958 2801)
 (string-bytes 1 969890)
 (vectors 16 22797)
 (vector-slots 8 425568 11280)
 (floats 8 41 19)
 (intervals 56 346 0)
 (buffers 984 12))

--000000000000170dc40602a20e43
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>To reproduce the behavior we can not use &#39;emacs -=
Q&#39;, but otherwise the<br>bug is very simple. From a clean Emacs install=
 simply install some<br>package. Now on (normal) startup (and `package-enab=
le-at-startup` is t)<br>the packages get initialized before evaluating &#39=
;init.el&#39; (indeed after<br>installing a single package, the package-ali=
st wil be<br>populated). However, the value of `package--initialized` is st=
ill nil<br>(and I guess it should be t now).<br><br>This report is related =
to a subsequent bug report that I will send<br>directly after this one.<br>=
<br><br>In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.=
38,<br>=C2=A0cairo version 1.17.8) of 2023-08-09 built on<br>=C2=A0<a href=
=3D"http://2a02-a45d-af56-1-666c-72af-583a-b92d.fixed6.kpn.net">2a02-a45d-a=
f56-1-666c-72af-583a-b92d.fixed6.kpn.net</a><br>Repository revision: 31cef9=
a4eac01fff5ff4fcb89d7e2b7815e93bad<br>Repository branch: HEAD<br>System Des=
cription: Fedora Linux 38 (Workstation Edition)<br><br>Configured using:<br=
>=C2=A0&#39;configure --with-tree-sitter --with-modules --with-cairo<br>=C2=
=A0--with-native-compilation --with-json --with-pgtk&#39;<br><br>Configured=
 features:<br>ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZ=
Z JPEG JSON<br>LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPE=
R PGTK PNG<br>RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS T=
REE_SITTER<br>XIM GTK3 ZLIB<br><br>Important settings:<br>=C2=A0 value of $=
LANG: en_US.UTF-8<br>=C2=A0 value of $XMODIFIERS: @im=3Dibus<br>=C2=A0 loca=
le-coding-system: utf-8-unix<br><br>Major mode: Fundamental<br><br>Minor mo=
des in effect:<br>=C2=A0 tooltip-mode: t<br>=C2=A0 global-eldoc-mode: t<br>=
=C2=A0 show-paren-mode: t<br>=C2=A0 electric-indent-mode: t<br>=C2=A0 mouse=
-wheel-mode: t<br>=C2=A0 tool-bar-mode: t<br>=C2=A0 menu-bar-mode: t<br>=C2=
=A0 file-name-shadow-mode: t<br>=C2=A0 global-font-lock-mode: t<br>=C2=A0 b=
link-cursor-mode: t<br>=C2=A0 buffer-read-only: t<br>=C2=A0 line-number-mod=
e: t<br>=C2=A0 indent-tabs-mode: t<br>=C2=A0 transient-mark-mode: t<br>=C2=
=A0 auto-composition-mode: t<br>=C2=A0 auto-encryption-mode: t<br>=C2=A0 au=
to-compression-mode: t<br><br>Load-path shadows:<br>None found.<br><br>Feat=
ures:<br>(shadow sort mail-extr emacsbug message yank-media puny dired<br>d=
ired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config<br>gnus=
-util text-property-search time-date mm-decode mm-bodies mm-encode<br>mail-=
parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047<br>rfc2045 i=
etf-drums mm-util mail-prsvr mail-utils comp comp-cstr warnings<br>icons rx=
 cl-extra help-mode info evil-autoloads package browse-url url<br>url-proxy=
 url-privacy url-expand url-methods url-history url-cookie<br>generate-lisp=
-file url-domsuf url-util mailcap url-handlers url-parse<br>auth-source cl-=
seq eieio eieio-core cl-macs password-cache json subr-x<br>map byte-opt gv =
bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc<br>iso-transl tooltip=
 cconv eldoc paren electric uniquify ediff-hook<br>vc-hooks lisp-float-type=
 elisp-mode mwheel term/pgtk-win pgtk-win<br>term/common-win pgtk-dnd tool-=
bar dnd fontset image regexp-opt fringe<br>tabulated-list replace newcommen=
t text-mode lisp-mode prog-mode register<br>page tab-bar menu-bar rfn-eshad=
ow isearch easymenu timer select<br>scroll-bar mouse jit-lock font-lock syn=
tax font-core term/tty-colors<br>frame minibuffer nadvice seq simple cl-gen=
eric indonesian philippine<br>cham georgian utf-8-lang misc-lang vietnamese=
 tibetan thai tai-viet lao<br>korean japanese eucjp-ms cp51932 hebrew greek=
 romanian slovak czech<br>european ethiopic indian cyrillic chinese composi=
te emoji-zwj charscript<br>charprop case-table epa-hook jka-cmpr-hook help =
abbrev obarray oclosure<br>cl-preloaded button loaddefs theme-loaddefs face=
s cus-face macroexp<br>files window text-properties overlay sha1 md5 base64=
 format env<br>code-pages mule custom widget keymap hashtable-print-readabl=
e backquote<br>threads dbusbind inotify dynamic-setting system-font-setting=
<br>font-render-setting cairo gtk pgtk multi-tty make-network-process<br>na=
tive-compile emacs)<br><br>Memory information:<br>((conses 16 112973 6385)<=
br>=C2=A0(symbols 48 8729 0)<br>=C2=A0(strings 32 30958 2801)<br>=C2=A0(str=
ing-bytes 1 969890)<br>=C2=A0(vectors 16 22797)<br>=C2=A0(vector-slots 8 42=
5568 11280)<br>=C2=A0(floats 8 41 19)<br>=C2=A0(intervals 56 346 0)<br>=C2=
=A0(buffers 984 12))<br></div></div>

--000000000000170dc40602a20e43--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: dalanicolai <dalanicolai@HIDDEN>
Subject: bug#65222: Acknowledgement (29.1; Packages initialize but
 package--initialize is nil)
Message-ID: <handler.65222.B.169174491922989.ack <at> debbugs.gnu.org>
References: <CACJP=3nU+vrTHv+zHW_BwZ8NRLFP+1n4u1GwOKgBoRbPCFf87Q@HIDDEN>
X-Gnu-PR-Message: ack 65222
X-Gnu-PR-Package: emacs
Reply-To: 65222 <at> debbugs.gnu.org
Date: Fri, 11 Aug 2023 09:09:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 65222 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
65222: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D65222
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65222: 29.1; Packages initialize but package--initialize is nil
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 19 Aug 2023 08:16:01 +0000
Resent-Message-ID: <handler.65222.B65222.169243292916561 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 65222
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: dalanicolai <dalanicolai@HIDDEN>, Philip Kaludercic <philipk@HIDDEN>
Cc: 65222 <at> debbugs.gnu.org
Received: via spool by 65222-submit <at> debbugs.gnu.org id=B65222.169243292916561
          (code B ref 65222); Sat, 19 Aug 2023 08:16:01 +0000
Received: (at 65222) by debbugs.gnu.org; 19 Aug 2023 08:15:29 +0000
Received: from localhost ([127.0.0.1]:49321 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qXH7J-0004J3-0c
	for submit <at> debbugs.gnu.org; Sat, 19 Aug 2023 04:15:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39340)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qXH7H-0004Iq-Ou
 for 65222 <at> debbugs.gnu.org; Sat, 19 Aug 2023 04:15:28 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qXH7A-0003Nt-JB; Sat, 19 Aug 2023 04:15:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=GWciMoQ4iTwA42+Ol5IWlEWs9WSt0TgX2SMaxNHOP3s=; b=C3knEHY9M2KE
 0+D6juFcp3SiEZUSXcJ46R/LZAK83Eu1FGmcOlvi5CgEqxRKfApDm2ZGZA6NBFikoSiA5kVzEJbxA
 zUgkf2NSnPr1HYF7tsE12cywZpz7GC192CRM9WQYng6k5gD4UlRoGdcBUcnCL6E6CLPXQH6Ec8vZr
 I9qmxc/8YtcNSbxvTB87l+lYbS8CSHAJqLBIbl7AA8w0MQmfLtCGKyJulL+eVlKPy0VXFGSkxReDV
 BdP47d092HGLuummwG+dTzSxYkmXizEmSQ2GkILit0vgLTzY3rD9DMMZK7AOKl0I/B+r/Q3hR0ehT
 y6oZDUNdtI6B8CdgRnHaGQ==;
Date: Sat, 19 Aug 2023 11:15:32 +0300
Message-Id: <837cpr1m8r.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <CACJP=3nU+vrTHv+zHW_BwZ8NRLFP+1n4u1GwOKgBoRbPCFf87Q@HIDDEN>
 (message from dalanicolai on Fri, 11 Aug 2023 11:08:13 +0200)
References: <CACJP=3nU+vrTHv+zHW_BwZ8NRLFP+1n4u1GwOKgBoRbPCFf87Q@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: dalanicolai <dalanicolai@HIDDEN>
> Date: Fri, 11 Aug 2023 11:08:13 +0200
> 
> To reproduce the behavior we can not use 'emacs -Q', but otherwise the
> bug is very simple. From a clean Emacs install simply install some
> package. Now on (normal) startup (and `package-enable-at-startup` is t)
> the packages get initialized before evaluating 'init.el' (indeed after
> installing a single package, the package-alist wil be
> populated). However, the value of `package--initialized` is still nil
> (and I guess it should be t now).

Philip, any comments?

> This report is related to a subsequent bug report that I will send
> directly after this one.

Evidently, you never did, did you?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65222: 29.1; Packages initialize but package--initialize is nil
Resent-From: Philip Kaludercic <philipk@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 19 Aug 2023 09:04:02 +0000
Resent-Message-ID: <handler.65222.B65222.169243578622330 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 65222
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 65222 <at> debbugs.gnu.org, dalanicolai <dalanicolai@HIDDEN>
Received: via spool by 65222-submit <at> debbugs.gnu.org id=B65222.169243578622330
          (code B ref 65222); Sat, 19 Aug 2023 09:04:02 +0000
Received: (at 65222) by debbugs.gnu.org; 19 Aug 2023 09:03:06 +0000
Received: from localhost ([127.0.0.1]:49447 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qXHrO-0005o6-1z
	for submit <at> debbugs.gnu.org; Sat, 19 Aug 2023 05:03:06 -0400
Received: from mout01.posteo.de ([185.67.36.65]:58327)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1qXHrM-0005nZ-0R
 for 65222 <at> debbugs.gnu.org; Sat, 19 Aug 2023 05:03:04 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id EEE34240029
 for <65222 <at> debbugs.gnu.org>; Sat, 19 Aug 2023 11:02:56 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1692435777; bh=bY6SeZNssX8FydVOH1BvQaTTbASfIxwLfq/usqX2hHA=;
 h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version:From;
 b=btbjiM8jCEIPafMeitMlbIMQUtUA4b3WIaE0VxsfpOBFx+EsDF+WtkjpdRCQvFG33
 R8qZ154DmDcLqQtKGlsnIiYBLsqWLkak1LbHO4P+sqGp03yqiTXOHNcYyZNxCioKMN
 SIWfKD9pYCaYHFc5+qiodpCNeqJxO9giusiMPzd9mH3OuyABsQDU7MKb8SnmILByWz
 qpeM2bvNT4Fb2KWx305aUBBfyJI5Z+fISD5fUsE45MZ2W8fHhLvnSBm5obadyWeiqD
 8ikxiRA8PtIKmVJcSkB/DYZBcUpPHAIFnHnikvWwt8DqHYTGzd0a2QpQJMdbYHFQA8
 +BwYFS7y80KMA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4RSXnr2D7Jz9rxD;
 Sat, 19 Aug 2023 11:02:56 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
In-Reply-To: <837cpr1m8r.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 19 Aug
 2023 11:15:32 +0300")
References: <CACJP=3nU+vrTHv+zHW_BwZ8NRLFP+1n4u1GwOKgBoRbPCFf87Q@HIDDEN>
 <837cpr1m8r.fsf@HIDDEN>
Autocrypt: addr=philipk@HIDDEN; keydata=
 mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI
 BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0
 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB
 BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE
 Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK
 NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof
 z4oM
Date: Sat, 19 Aug 2023 09:02:55 +0000
Message-ID: <87fs4fxv40.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: dalanicolai <dalanicolai@HIDDEN>
>> Date: Fri, 11 Aug 2023 11:08:13 +0200
>> 
>> To reproduce the behavior we can not use 'emacs -Q', but otherwise the
>> bug is very simple. From a clean Emacs install simply install some
>> package. Now on (normal) startup (and `package-enable-at-startup` is t)
>> the packages get initialized before evaluating 'init.el' (indeed after
>> installing a single package, the package-alist wil be
>> populated). However, the value of `package--initialized` is still nil
>> (and I guess it should be t now).
>
> Philip, any comments?

I can reproduce the issue, but this isn't an issue, since
`package-enable-at-startup' is related to the activation of packages at
startup, not the initialisation of package.el.  In startup.el we find

--8<---------------cut here---------------start------------->8---
;; If any package directory exists, initialize the package system.
  (and user-init-file
       package-enable-at-startup
       (not (bound-and-true-p package--activated))
       (catch 'package-dir-found
	 ...)
       (package-activate-all))
--8<---------------cut here---------------end--------------->8---

And it makes sense, when we consider the difference between
`package-activate-all' and `package-initialize'.  The former goes
through all available packages ensures they can be used, the former sets
up package.el-internal variables in addition to what
`package-activate-all' does, which is not necessary at startup if we
just want the packages to be made available for the user.

So south I understand the confusion, I believe the behaviour is correct.
What we could do is to extend the documentation at some places to avoid
this confusion in the future.

>> This report is related to a subsequent bug report that I will send
>> directly after this one.
>
> Evidently, you never did, did you?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65222: 29.1; Packages initialize but package--initialize is nil
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 19 Aug 2023 09:25:01 +0000
Resent-Message-ID: <handler.65222.B65222.169243706924288 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 65222
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Philip Kaludercic <philipk@HIDDEN>
Cc: 65222 <at> debbugs.gnu.org, dalanicolai@HIDDEN
Received: via spool by 65222-submit <at> debbugs.gnu.org id=B65222.169243706924288
          (code B ref 65222); Sat, 19 Aug 2023 09:25:01 +0000
Received: (at 65222) by debbugs.gnu.org; 19 Aug 2023 09:24:29 +0000
Received: from localhost ([127.0.0.1]:49468 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qXIC4-0006Jg-M6
	for submit <at> debbugs.gnu.org; Sat, 19 Aug 2023 05:24:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36330)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qXIC2-0006JS-Em
 for 65222 <at> debbugs.gnu.org; Sat, 19 Aug 2023 05:24:27 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qXIBw-00086l-3g; Sat, 19 Aug 2023 05:24:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=QB3h1o6fS7dFRReFtAkYKlZ4+uJlTDVEDtzpMVO3mtA=; b=fxBtn1NHqifN
 XAxLGqIKYTtf9KFmu7vIH3U+5QTKNIp9MCUH/UEGMwmk0fzQiHEwHi7l0bzIN0hrck4xGW9mJOlgi
 h51wxAB4iVoiKmuoh2FOa/6uT2f+JRz2oolcwJQIjFK4fhHZxyM4QUGmFM9YJ3r6wGPxshXyY+Xvz
 Np5qa0qabziepWyxP/+IXJ+l85VRZZEVMrsrMk24kALNhkBPkgBKW/AdOHIJkkuW0250dTvlKcRv7
 7ob/bevHTSs8c07I1aeN4tJMdoc+b370mAJYGQOSzEyl0mgD31Nge/WBMTC1jALZYUdWsGjULmqzv
 osjSG3J4iCRGKbnkoV5YQQ==;
Date: Sat, 19 Aug 2023 12:24:32 +0300
Message-Id: <83ttsvz8of.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87fs4fxv40.fsf@HIDDEN> (message from Philip Kaludercic on
 Sat, 19 Aug 2023 09:02:55 +0000)
References: <CACJP=3nU+vrTHv+zHW_BwZ8NRLFP+1n4u1GwOKgBoRbPCFf87Q@HIDDEN>
 <837cpr1m8r.fsf@HIDDEN> <87fs4fxv40.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Philip Kaludercic <philipk@HIDDEN>
> Cc: dalanicolai <dalanicolai@HIDDEN>,  65222 <at> debbugs.gnu.org
> Date: Sat, 19 Aug 2023 09:02:55 +0000
> 
> I can reproduce the issue, but this isn't an issue, since
> `package-enable-at-startup' is related to the activation of packages at
> startup, not the initialisation of package.el.  In startup.el we find
> 
> --8<---------------cut here---------------start------------->8---
> ;; If any package directory exists, initialize the package system.
>   (and user-init-file
>        package-enable-at-startup
>        (not (bound-and-true-p package--activated))
>        (catch 'package-dir-found
> 	 ...)
>        (package-activate-all))
> --8<---------------cut here---------------end--------------->8---
> 
> And it makes sense, when we consider the difference between
> `package-activate-all' and `package-initialize'.  The former goes
> through all available packages ensures they can be used, the former sets
> up package.el-internal variables in addition to what
> `package-activate-all' does, which is not necessary at startup if we
> just want the packages to be made available for the user.
> 
> So south I understand the confusion, I believe the behaviour is correct.
> What we could do is to extend the documentation at some places to avoid
> this confusion in the future.

Please suggest documentation patches you think are in order, and
thanks.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 8 Sep 2023 17:24:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 08 13:24:32 2023
Received: from localhost ([127.0.0.1]:45489 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qefDc-0005fH-JX
	for submit <at> debbugs.gnu.org; Fri, 08 Sep 2023 13:24:32 -0400
Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:55623)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1qefDa-0005f0-E2
 for control <at> debbugs.gnu.org; Fri, 08 Sep 2023 13:24:31 -0400
Received: by mail-lj1-x232.google.com with SMTP id
 38308e7fff4ca-2bcb89b4767so38668291fa.3
 for <control <at> debbugs.gnu.org>; Fri, 08 Sep 2023 10:24:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694193861; x=1694798661; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=+TBAlYxKhU8kCkk+7VIZdRUmxS3aXAjvu49Q3kLdUiI=;
 b=lHRs/SHe3tjegDmpSKbgUPmKGuRBUabg2PwXXiHAMbCMWVRBczNPKiU566KiInrSlL
 dyY1k0ifdfPgaltoGH2nE/K71WH3gz3jX1l3evVaMssMoul9eFy/+/huVv9NHzZwO27G
 UVtUpr/mnBAboxszQ/3g4y5J3b9r6YpNhIe7Dmm4drx+zqODnOj6Duma4k70jYnJ0Aer
 TsOLNvYxjEtMmGcK4XYwddiCQvVOwy6P8J7tp9OsVKDd4K8qvPLvcxqf7pLBoWLXEY5P
 uXqpExO+VkIThjsmOy2fvsLmuuNC60EjWqdiJmeYxXdJOytLvRVEP+5XvVr+M20yR7EX
 Nr/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694193861; x=1694798661;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=+TBAlYxKhU8kCkk+7VIZdRUmxS3aXAjvu49Q3kLdUiI=;
 b=fmdiGGNZ0EgtPe/jgsyIO8ig3zYCvSsCXji6pjaTJ1Q+IB5hZ/OAwP5RUFjtHyy77s
 tk6k9WiuIrdb+9gHU1FbUXQ5uGGiMRp4gCzyXrknhzSYlVJZUKwUWA6vuyQhZ9kssAok
 CMGsCFMAybivP916cMEbmBRUz+7V8j8WiSwgwu3e0hYmcMZ/NIrD9Hfq+NkAfOMzU+k9
 2lzR2yGbCRe8ltC4gyyRyGAmJKL8OaOpJN9SLTlQNP8FVPD9L4VumOq8aID/TZLfcF+C
 0WQaXFOU7dMGnFSgIxhN4KlMminlUIKtbqBYZTn3Va7epAfld+bQIwKFWCmrlmoB+v7G
 tJSg==
X-Gm-Message-State: AOJu0Yz9ODlNlCw1yxD1/Llp+C6bCi9TjWvAJ8dbpw1qNYh54X2JCERI
 ACxKJN35tdRPDA5xedZ7tJWOExFCd8S3TM9wVOShhASJ7OA=
X-Google-Smtp-Source: AGHT+IGDbiRtBewQu6rA3pOuQoneBx7eBynOKTafEwrx/gNg+/CWYl7vQa0SGb9N8y0TVTpRHfFJWF8eO7rywUMxkvg=
X-Received: by 2002:a2e:b015:0:b0:2bc:bf29:18d3 with SMTP id
 y21-20020a2eb015000000b002bcbf2918d3mr2265360ljk.31.1694193861436; Fri, 08
 Sep 2023 10:24:21 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 8 Sep 2023 10:24:21 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
MIME-Version: 1.0
Date: Fri, 8 Sep 2023 10:24:21 -0700
Message-ID: <CADwFkmn1CaqY2M++yeLq1+A3n8Np61-81aMN6T4pKO9Cmx3TMQ@HIDDEN>
Subject: control message for bug #65222
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

severity 65222 minor
quit





Last modified: Fri, 8 Sep 2023 17:30:02 UTC

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