GNU bug report logs -
#17291
24.3.90; Doing "make" in elpa branch uses the user's ~/.emacs.d
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 17291 in the body.
You can then email your comments to 17291 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#17291
; Package
emacs
.
(Fri, 18 Apr 2014 14:54:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 18 Apr 2014 14:54:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
I cloned the elpa repo, ran "make externals" and "make".
It showed me warnings like:
EMACS -f batch-byte-compile packages/ack/ack.el
Warning (emacs): Unable to activate package `use-package'.
Required package `bind-key-1.0' is unavailable
(the exact warning is irrelevant, it's a problem in my own installation)
The reason is that the actual command line (which is unfortunately not
shown on the screen) has -f package-initialize which looks for my own
~/.emacs.d. I suggest the following patch to fix the problem:
Modified GNUmakefile
diff --git a/GNUmakefile b/GNUmakefile
index 2b07767..f9deecf 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -131,7 +131,7 @@ elcs := $(call SET-diff, $(naive_elcs), $(patsubst %.el, %.elc, $(nbc_els)))
%.elc: %.el
@echo 'EMACS -f batch-byte-compile $<'
@$(EMACS) \
- --eval "(setq package-directory-list '(\"$(abspath packages)\"))" \
+ --eval "(setq package-directory-list nil package-user-dir \"$(abspath packages)\")" \
--eval '(package-initialize)' \
-L $(dir $@) -f batch-byte-compile $<
--
Nico.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17291
; Package
emacs
.
(Fri, 18 Apr 2014 20:15:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 17291 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> EMACS -f batch-byte-compile packages/ack/ack.el
> The reason is that the actual command line (which is unfortunately not
> shown on the screen)
I voiced a similar concern before, but Stefan didn't want to change
the output. Showing some but not all flags and arguments gives the
false impression of showing the precise Emacs invocation. I think it
ought to show the full invocation.
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17291
; Package
emacs
.
(Wed, 23 Apr 2014 03:01:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 17291 <at> debbugs.gnu.org (full text, mbox):
>> EMACS -f batch-byte-compile packages/ack/ack.el
>> The reason is that the actual command line (which is unfortunately not
>> shown on the screen)
> I voiced a similar concern before, but Stefan didn't want to change
> the output. Showing some but not all flags and arguments gives the
> false impression of showing the precise Emacs invocation. I think it
> ought to show the full invocation.
I'm indeed opposed to showing the whole command because it's too long,
making the output even harder to read (in the "normal" case where
you're looking for byte-compiler errors and warnings).
But it could be improved in 2 ways:
- change the current output so it give less the illusion of being
a real command.
- provide some option to show the real command.
As for Nicolas's suggestion to "disable" ~/.emacs.d/elpa, I think it
makes sense, since we already use --batch which disables ~/.emacs.
So feel free to install his patch.
Stefan
Reply sent
to
Barry OReilly <gundaetiapo <at> gmail.com>
:
You have taken responsibility.
(Thu, 24 Apr 2014 21:25:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
:
bug acknowledged by developer.
(Thu, 24 Apr 2014 21:25:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 17291-done <at> debbugs.gnu.org (full text, mbox):
Applied Nicolas's patch, changed echo messages.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 23 May 2014 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 29 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.