From unknown Sun Jun 22 08:05:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17291: 24.3.90; Doing "make" in elpa branch uses the user's ~/.emacs.d Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Apr 2014 14:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17291 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 17291@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13978327829262 (code B ref -1); Fri, 18 Apr 2014 14:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Apr 2014 14:53:02 +0000 Received: from localhost ([127.0.0.1]:52035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WbAA2-0002P6-5j for submit@debbugs.gnu.org; Fri, 18 Apr 2014 10:53:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43049) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WbA9z-0002On-7l for submit@debbugs.gnu.org; Fri, 18 Apr 2014 10:53:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbA9j-0001LR-TO for submit@debbugs.gnu.org; Fri, 18 Apr 2014 10:52:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbA9j-0001LN-Pq for submit@debbugs.gnu.org; Fri, 18 Apr 2014 10:52:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbA9c-0007vn-9J for bug-gnu-emacs@gnu.org; Fri, 18 Apr 2014 10:52:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbA9U-0001IF-Nz for bug-gnu-emacs@gnu.org; Fri, 18 Apr 2014 10:52:36 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:25313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbA9U-0001Ho-Hx for bug-gnu-emacs@gnu.org; Fri, 18 Apr 2014 10:52:28 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AioGAEQ7UVOkD4Xx/2dsb2JhbABarjybE3SDYTQBBIkIARSaT49wmwoBh1mHX4cghCIEny+MDoMzOw Received: from mathsrv4.ulb.ac.be (HELO geodiff-mac3.ulb.ac.be) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 18 Apr 2014 16:52:26 +0200 From: Nicolas Richard Date: Fri, 18 Apr 2014 16:53:02 +0200 Message-ID: <87zjji665t.fsf@geodiff-mac3.ulb.ac.be> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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. From unknown Sun Jun 22 08:05:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17291: 24.3.90; Doing "make" in elpa branch uses the user's ~/.emacs.d References: <87zjji665t.fsf@geodiff-mac3.ulb.ac.be> In-Reply-To: <87zjji665t.fsf@geodiff-mac3.ulb.ac.be> Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Apr 2014 20:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17291 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: theonewiththeevillook@yahoo.fr, 17291@debbugs.gnu.org Received: via spool by 17291-submit@debbugs.gnu.org id=B17291.139785209811856 (code B ref 17291); Fri, 18 Apr 2014 20:15:03 +0000 Received: (at 17291) by debbugs.gnu.org; 18 Apr 2014 20:14:58 +0000 Received: from localhost ([127.0.0.1]:52184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WbFBZ-000354-A2 for submit@debbugs.gnu.org; Fri, 18 Apr 2014 16:14:57 -0400 Received: from mail-ob0-f176.google.com ([209.85.214.176]:65472) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WbFBW-00034q-Ow for 17291@debbugs.gnu.org; Fri, 18 Apr 2014 16:14:55 -0400 Received: by mail-ob0-f176.google.com with SMTP id wp4so2164514obc.21 for <17291@debbugs.gnu.org>; Fri, 18 Apr 2014 13:14:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=qhN7aHmzlD3Szie6csJvIjgOdsTb8S8WHDvtOI1w1/c=; b=Xhu2/hTTb6Z7LN+4FiT4Ys29KJITmpPy40Sy1V8PdAOrQHF9Oocayr7OXbbNAS0rpx 0ZMIwSJqcv7pyRk1vmlSMoq+Pa4D+ptSRE2BnQIZyEMsLDitFM4/2HkrtEq8hZ+ivN1v QBuMemrrcrW008jjawxZ32RYTpaN/o4ygvVJywWa/7gpevnkSwnS73pxJJTVLoxavvCZ Rjkmcr/MTCoNeIHav75fu3iO4PJ6Ae11aOhxLcwMF60JnhjFy3ClrNZU8Ql1bMP4gN/e v0w561JRhmXKIhR3l0sH7K71F0Jxp8NmWQXy9VY+vqQeJ8yfuQTE1ip1kYXqLU0Lyq3e mBKA== MIME-Version: 1.0 X-Received: by 10.182.24.69 with SMTP id s5mr14117672obf.35.1397852089108; Fri, 18 Apr 2014 13:14:49 -0700 (PDT) Received: by 10.76.6.44 with HTTP; Fri, 18 Apr 2014 13:14:48 -0700 (PDT) Date: Fri, 18 Apr 2014 16:14:48 -0400 Message-ID: From: Barry OReilly Content-Type: multipart/alternative; boundary=001a11c2a20c384d6004f756cdf4 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11c2a20c384d6004f756cdf4 Content-Type: text/plain; charset=UTF-8 > 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. --001a11c2a20c384d6004f756cdf4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> EMACS -f batch-byte-compile packages/ack/ack.el
> The reason is that the actual command line (which is unfortunately n= ot
> shown on the screen)

I voiced a similar concern before, b= ut 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.

--001a11c2a20c384d6004f756cdf4-- From unknown Sun Jun 22 08:05:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17291: 24.3.90; Doing "make" in elpa branch uses the user's ~/.emacs.d Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Apr 2014 03:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17291 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Barry OReilly Cc: theonewiththeevillook@yahoo.fr, 17291@debbugs.gnu.org Received: via spool by 17291-submit@debbugs.gnu.org id=B17291.139822204514976 (code B ref 17291); Wed, 23 Apr 2014 03:01:02 +0000 Received: (at 17291) by debbugs.gnu.org; 23 Apr 2014 03:00:45 +0000 Received: from localhost ([127.0.0.1]:55554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WcnQS-0003tN-1C for submit@debbugs.gnu.org; Tue, 22 Apr 2014 23:00:44 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:54097) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WcnQG-0003rV-Im for 17291@debbugs.gnu.org; Tue, 22 Apr 2014 23:00:37 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s3N30TMS010419; Tue, 22 Apr 2014 23:00:30 -0400 Received: by ceviche.home (Postfix, from userid 20848) id C7775665E1; Sat, 19 Apr 2014 13:24:00 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87zjji665t.fsf@geodiff-mac3.ulb.ac.be> Date: Sat, 19 Apr 2014 13:24:00 -0400 In-Reply-To: (Barry OReilly's message of "Fri, 18 Apr 2014 16:14:48 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4920=0 X-NAI-Spam-Version: 2.3.0.9378 : core <4920> : inlines <759> : streams <1165012> : uri <1738093> X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) >> 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 From unknown Sun Jun 22 08:05:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nicolas Richard Subject: bug#17291: closed (Re: bug#17291: 24.3.90; Doing "make" in elpa branch uses the user's ~/.emacs.d) Message-ID: References: <87zjji665t.fsf@geodiff-mac3.ulb.ac.be> X-Gnu-PR-Message: they-closed 17291 X-Gnu-PR-Package: emacs Reply-To: 17291@debbugs.gnu.org Date: Thu, 24 Apr 2014 21:25:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1398374702-19910-1" This is a multi-part message in MIME format... ------------=_1398374702-19910-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #17291: 24.3.90; Doing "make" in elpa branch uses the user's ~/.emacs.d which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 17291@debbugs.gnu.org. --=20 17291: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17291 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1398374702-19910-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 17291-done) by debbugs.gnu.org; 24 Apr 2014 21:24:59 +0000 Received: from localhost ([127.0.0.1]:57525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WdR8d-0005Ap-C9 for submit@debbugs.gnu.org; Thu, 24 Apr 2014 17:24:59 -0400 Received: from mail-ob0-f170.google.com ([209.85.214.170]:37981) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WdR8b-0005Ai-OD for 17291-done@debbugs.gnu.org; Thu, 24 Apr 2014 17:24:58 -0400 Received: by mail-ob0-f170.google.com with SMTP id vb8so3380775obc.29 for <17291-done@debbugs.gnu.org>; Thu, 24 Apr 2014 14:24:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=1coiEiC0IyeZf2umXFNCaWAsqZRQqxzv95TZDiBzLOw=; b=tsG7UlnCUz+jhKqs+xxNmby0XYYg4SW4xfGk5QCOsNt9UkZldVqvQ2ZHcSzBfCfBMW VQpPJukTn5Fev0w+hvj0k5LMlMEz0aeibhm/+IvqThHbLxCLzUm5mtqJCRN998h1Adhd qgSkTg11xThqEY817EVx35hQFPUhnLWMlq21JGM6JFBUqoczbhvferk2HcPpnaYdYjUz LD4gp4pOFWwgUvIxLkR64XBt3SVN5zR7UhoQLD7SnASRyTDfuKTRp2adyckrj+bMUV1Z JVtph6NnB2npMf6wOaMVjNpNPxF7jn71L2CsjDnPkV5ldy4PTDt0u42wg3KPA1ZCnDao jhNA== MIME-Version: 1.0 X-Received: by 10.60.135.226 with SMTP id pv2mt3022329oeb.62.1398374696998; Thu, 24 Apr 2014 14:24:56 -0700 (PDT) Received: by 10.76.6.44 with HTTP; Thu, 24 Apr 2014 14:24:56 -0700 (PDT) In-Reply-To: References: <87zjji665t.fsf@geodiff-mac3.ulb.ac.be> Date: Thu, 24 Apr 2014 17:24:56 -0400 Message-ID: Subject: Re: bug#17291: 24.3.90; Doing "make" in elpa branch uses the user's ~/.emacs.d From: Barry OReilly Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 17291-done Cc: theonewiththeevillook@yahoo.fr, 17291-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Applied Nicolas's patch, changed echo messages. ------------=_1398374702-19910-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Apr 2014 14:53:02 +0000 Received: from localhost ([127.0.0.1]:52035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WbAA2-0002P6-5j for submit@debbugs.gnu.org; Fri, 18 Apr 2014 10:53:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43049) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WbA9z-0002On-7l for submit@debbugs.gnu.org; Fri, 18 Apr 2014 10:53:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbA9j-0001LR-TO for submit@debbugs.gnu.org; Fri, 18 Apr 2014 10:52:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbA9j-0001LN-Pq for submit@debbugs.gnu.org; Fri, 18 Apr 2014 10:52:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbA9c-0007vn-9J for bug-gnu-emacs@gnu.org; Fri, 18 Apr 2014 10:52:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbA9U-0001IF-Nz for bug-gnu-emacs@gnu.org; Fri, 18 Apr 2014 10:52:36 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:25313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbA9U-0001Ho-Hx for bug-gnu-emacs@gnu.org; Fri, 18 Apr 2014 10:52:28 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AioGAEQ7UVOkD4Xx/2dsb2JhbABarjybE3SDYTQBBIkIARSaT49wmwoBh1mHX4cghCIEny+MDoMzOw Received: from mathsrv4.ulb.ac.be (HELO geodiff-mac3.ulb.ac.be) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 18 Apr 2014 16:52:26 +0200 From: Nicolas Richard To: bug-gnu-emacs@gnu.org Subject: 24.3.90; Doing "make" in elpa branch uses the user's ~/.emacs.d Date: Fri, 18 Apr 2014 16:53:02 +0200 Message-ID: <87zjji665t.fsf@geodiff-mac3.ulb.ac.be> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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. ------------=_1398374702-19910-1--