GNU bug report logs -
#30506
Say Added by package.el
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30506 in the body.
You can then email your comments to 30506 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#30506
; Package
emacs
.
(Sun, 18 Feb 2018 02:43:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 18 Feb 2018 02:43:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
In one's .emacs file, one might find
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
Well it should say Added by package.el . There is no Package.el on the
system and the user will spend a long time looking for it.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#30506
; Package
emacs
.
(Sun, 14 Jul 2019 16:25:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 30506 <at> debbugs.gnu.org (full text, mbox):
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
> In one's .emacs file, one might find
>
> ;; Added by Package.el. This must come before configurations of
> ;; installed packages. Don't delete this line. If you don't want it,
> ;; just comment it out by adding a semicolon to the start of the line.
> ;; You may delete these explanatory comments.
> (package-initialize)
>
> Well it should say Added by package.el . There is no Package.el on the
> system and the user will spend a long time looking for it.
Emacs no longer adds this stuff to .emacs, so I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
30506 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 14 Jul 2019 16:25:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#30506
; Package
emacs
.
(Sun, 14 Jul 2019 20:29:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 30506 <at> debbugs.gnu.org (full text, mbox):
>> In one's .emacs file, one might find
>>
>> ;; Added by Package.el. This must come before configurations of
>> ;; installed packages. Don't delete this line. If you don't want it,
>> ;; just comment it out by adding a semicolon to the start of the line.
>> ;; You may delete these explanatory comments.
>> (package-initialize)
>>
>> Well it should say Added by package.el . There is no Package.el on the
>> system and the user will spend a long time looking for it.
LI> Emacs no longer adds this stuff to .emacs, so I'm closing this bug report.
Are you saying it is now safe to remove those lines from .emacs?
emacs-version "26.1"
and there still is a
$ dlocate package.elc
emacs-common: /usr/share/emacs/26.1/lisp/emacs-lisp/package.elc
lurking on disk.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#30506
; Package
emacs
.
(Thu, 18 Jul 2019 18:49:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 30506 <at> debbugs.gnu.org (full text, mbox):
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
>>> In one's .emacs file, one might find
>>>
>>> ;; Added by Package.el. This must come before configurations of
>>> ;; installed packages. Don't delete this line. If you don't want it,
>>> ;; just comment it out by adding a semicolon to the start of the line.
>>> ;; You may delete these explanatory comments.
>>> (package-initialize)
>>>
>>> Well it should say Added by package.el . There is no Package.el on the
>>> system and the user will spend a long time looking for it.
>
> LI> Emacs no longer adds this stuff to .emacs, so I'm closing this bug report.
>
> Are you saying it is now safe to remove those lines from .emacs?
> emacs-version "26.1"
> and there still is a
> $ dlocate package.elc
> emacs-common: /usr/share/emacs/26.1/lisp/emacs-lisp/package.elc
> lurking on disk.
package.el[c] is still there, but it doesn't add the above comment and
code to the user's init file.
Bye,
Tassilo
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#30506
; Package
emacs
.
(Fri, 19 Jul 2019 02:33:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 30506 <at> debbugs.gnu.org (full text, mbox):
TH> package.el[c] is still there, but it doesn't add the above comment and
TH> code to the user's init file.
Maybe the package-initialize's docstring should say "You may have
noticed a line in your .emacs file... Well it is now safe to remove that
line."
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#30506
; Package
emacs
.
(Fri, 19 Jul 2019 06:52:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 30506 <at> debbugs.gnu.org (full text, mbox):
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
> TH> package.el[c] is still there, but it doesn't add the above comment
> TH> and code to the user's init file.
>
> Maybe the package-initialize's docstring should say "You may have
> noticed a line in your .emacs file... Well it is now safe to remove
> that line."
The NEWS entry is this:
--8<---------------cut here---------------start------------->8---
** Installed packages are now activated *before* loading the init file.
This is part of a change intended to eliminate the behavior of
package.el inserting a call to 'package-initialize' into the init
file, which was previously done when Emacs was started. As a result
of this change, it is no longer necessary to call 'package-initialize'
in your init file.
However, if your init file changes the values of 'package-load-list'
or 'package-user-dir', or sets 'package-enable-at-startup' to nil then
it won't work right without some adjustment:
- You can move that code to the early init file (see above), so those
settings apply before Emacs tries to activate the packages.
- You can use the new 'package-quickstart' so activation of packages
does not need to pay attention to 'package-load-list' or
'package-user-dir' any more.
--8<---------------cut here---------------end--------------->8---
So I guess the entry won't hurt anyone but simply removing it might
cause issues for people with some special configurations. Additionally,
`package-initialize' prints a warning
Unnecessary call to `package-initialize' in init file
to *Messages* if it is called once packages have been initialized
already and no such special configurations apply.
So it looks to me like it has been catered for the unnecessary call case
already. I'm closing this issue.
Bye,
Tassilo
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#30506
; Package
emacs
.
(Fri, 19 Jul 2019 14:11:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 30506 <at> debbugs.gnu.org (full text, mbox):
>>>>> "TH" == Tassilo Horn <tsdh <at> gnu.org> writes:
TH> Additionally, `package-initialize' prints a warning
TH> Unnecessary call to `package-initialize' in init file
TH> to *Messages* if it is called once packages have been initialized
TH> already and no such special configurations apply.
OK good. I will be seeing this soon when Debian upgrades.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 17 Aug 2019 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 225 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.