all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* accumulated "(package-initialize)" lines
@ 2017-01-09  2:04 frederik
  2017-01-09  4:38 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: frederik @ 2017-01-09  2:04 UTC (permalink / raw)
  To: emacs-devel

Hi all,

I'm not subscribed to this list and hope my message gets through;
please Cc me on replies.

I noticed that my ~/.emacs files on various systems start accumulating
multiple sections that say:

    ;; 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)

Apparently whatever code inserts that line isn't able to check
correctly that the line has already been inserted.

I got various kinds of advice on #emacs IRC like "write to emacs-devel
and ask them to revert that 'feature'" and "I just patch it out of
emacs".

I'm not sure where I stand on the question of add-ons that add stuff
to my configuration files, but it would be nice if they worked
correctly. And it sounds like this feature has been an annoyance to
some of your more experienced users, which makes me wonder if their
opinions aren't being given enough weight.

Thanks,

Frederick Eaton



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: accumulated "(package-initialize)" lines
  2017-01-09  2:04 accumulated "(package-initialize)" lines frederik
@ 2017-01-09  4:38 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2017-01-09  4:38 UTC (permalink / raw)
  To: emacs-devel

> I noticed that my ~/.emacs files on various systems start accumulating
> multiple sections that say:
>
>     ;; 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)

I'd recommend you reach right away for the M-x report-emacs-bug.

> And it sounds like this feature has been an annoyance to some of your
> more experienced users, which makes me wonder if their opinions aren't
> being given enough weight.

They haven't been nearly loud enough, I guess:
I haven't even noticed those sentiments.  But in your case (where they
accumulate), it's not even a question of liking or not, it's just
a clear cut misbehavior.


        Stefan




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-09  4:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-09  2:04 accumulated "(package-initialize)" lines frederik
2017-01-09  4:38 ` Stefan Monnier

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.