* bug#20594: master-branch broke my init
@ 2015-05-17 14:50 Andreas Röhler
2015-05-17 22:30 ` Artur Malabarba
2015-05-19 1:35 ` Stefan Monnier
0 siblings, 2 replies; 7+ messages in thread
From: Andreas Röhler @ 2015-05-17 14:50 UTC (permalink / raw)
To: 20594
Hi,
I'm using several Emacs, while .emacs is dispatching setups according to
version.
After running an
emacs-master-20150509
any Emacs started with error - while loading the dispatched setup
manually worked.
Finally detected in .emacs the reason:
;; 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)
This is a bad thing. Please do not make Emacs write into the init-file
behind the back of users.
Thanks,
Andreas
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#20594: master-branch broke my init
2015-05-17 14:50 bug#20594: master-branch broke my init Andreas Röhler
@ 2015-05-17 22:30 ` Artur Malabarba
2015-05-18 5:28 ` Andreas Röhler
2015-05-19 1:35 ` Stefan Monnier
1 sibling, 1 reply; 7+ messages in thread
From: Artur Malabarba @ 2015-05-17 22:30 UTC (permalink / raw)
To: Andreas Röhler; +Cc: 20594
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
There's a thread on emacs-devel explaining the need for this. Other options
have been discussed there, a couple are under consideration (though it's
been quiet lately).
If you have suggestions, you're free to voice them here or there.
[-- Attachment #2: Type: text/html, Size: 281 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#20594: master-branch broke my init
2015-05-17 22:30 ` Artur Malabarba
@ 2015-05-18 5:28 ` Andreas Röhler
2015-05-18 10:08 ` Artur Malabarba
0 siblings, 1 reply; 7+ messages in thread
From: Andreas Röhler @ 2015-05-18 5:28 UTC (permalink / raw)
To: bruce.connor.am; +Cc: 20594
Am 18.05.2015 um 00:30 schrieb Artur Malabarba:
>
> There's a thread on emacs-devel explaining the need for this. Other
> options have been discussed there, a couple are under consideration
> (though it's been quiet lately).
>
> If you have suggestions, you're free to voice them here or there.
>
At least the user should be questioned yes-or-no-p once like "Write into
your init...?"
Writing without notice IMO is a no-go.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#20594: master-branch broke my init
2015-05-18 5:28 ` Andreas Röhler
@ 2015-05-18 10:08 ` Artur Malabarba
2015-05-18 19:50 ` Andreas Röhler
0 siblings, 1 reply; 7+ messages in thread
From: Artur Malabarba @ 2015-05-18 10:08 UTC (permalink / raw)
To: Andreas Röhler; +Cc: 20594
Yes, I agree. There should either be a prompt or a notice about this.
In addition to that. A few days ago I added some logic to package.el
so that it won't add anything to your init file when it's not
necessary. That was after 20150509. It may or may not catch your
use-case.
Would you be willing to test if it works for you?
If you are, just (1) remove those lines, (2) rebuild today's master,
and (3) start emacs again.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#20594: master-branch broke my init
2015-05-18 10:08 ` Artur Malabarba
@ 2015-05-18 19:50 ` Andreas Röhler
2015-05-18 21:05 ` Artur Malabarba
0 siblings, 1 reply; 7+ messages in thread
From: Andreas Röhler @ 2015-05-18 19:50 UTC (permalink / raw)
To: bruce.connor.am; +Cc: 20594
Am 18.05.2015 um 12:08 schrieb Artur Malabarba:
> Yes, I agree. There should either be a prompt or a notice about this.
>
> In addition to that. A few days ago I added some logic to package.el
> so that it won't add anything to your init file when it's not
> necessary. That was after 20150509. It may or may not catch your
> use-case.
> Would you be willing to test if it works for you?
>
> If you are, just (1) remove those lines, (2) rebuild today's master,
> and (3) start emacs again.
Bug seems gone with build of today, thanks!
close #20594
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#20594: master-branch broke my init
2015-05-17 14:50 bug#20594: master-branch broke my init Andreas Röhler
2015-05-17 22:30 ` Artur Malabarba
@ 2015-05-19 1:35 ` Stefan Monnier
1 sibling, 0 replies; 7+ messages in thread
From: Stefan Monnier @ 2015-05-19 1:35 UTC (permalink / raw)
To: Andreas Röhler; +Cc: 20594
> any Emacs started with error - while loading the dispatched setup
> manually worked.
Please don't tell us which error you get, lest we'd get some idea of
how to fix it!
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-05-19 1:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-17 14:50 bug#20594: master-branch broke my init Andreas Röhler
2015-05-17 22:30 ` Artur Malabarba
2015-05-18 5:28 ` Andreas Röhler
2015-05-18 10:08 ` Artur Malabarba
2015-05-18 19:50 ` Andreas Röhler
2015-05-18 21:05 ` Artur Malabarba
2015-05-19 1:35 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).