From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: windows installer Date: Sat, 11 Nov 2017 09:33:26 +0200 Message-ID: <83h8u1p8vt.fsf@gnu.org> References: <87po99qzbn.fsf@russet.org.uk> <1509955878.550800.1162811960.541B525D@webmail.messagingengine.com> <87h8u6bae3.fsf@russet.org.uk> <1510126271.1965593.1165373624.0601E5CF@webmail.messagingengine.com> <8760aijcek.fsf@russet.org.uk> <83ineiotjr.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1510385619 29066 195.159.176.226 (11 Nov 2017 07:33:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Nov 2017 07:33:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 11 08:33:33 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDQIG-0007D9-Pa for ged-emacs-devel@m.gmane.org; Sat, 11 Nov 2017 08:33:33 +0100 Original-Received: from localhost ([::1]:44702 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDQIM-0007za-1s for ged-emacs-devel@m.gmane.org; Sat, 11 Nov 2017 02:33:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDQIE-0007y5-V0 for emacs-devel@gnu.org; Sat, 11 Nov 2017 02:33:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDQIB-0008Rd-19 for emacs-devel@gnu.org; Sat, 11 Nov 2017 02:33:30 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDQIA-0008RZ-TQ; Sat, 11 Nov 2017 02:33:26 -0500 Original-Received: from [176.228.60.248] (port=1694 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eDQIA-0005dI-Aq; Sat, 11 Nov 2017 02:33:26 -0500 In-reply-to: (message from Stefan Monnier on Fri, 10 Nov 2017 15:46:09 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220048 Archived-At: > From: Stefan Monnier > Date: Fri, 10 Nov 2017 15:46:09 -0500 > > > They _will_ want to add it to PATH if they want to install packages > > from the likes of ELPA, which frequently come with Makefiles that > > invoke Emacs to compile the Lisp files. > > For lack of familiarity with the Windows world, I don't know if typical > Windows users will want to add it to PATH (as a GNU/Linux user, of > course I'd do that), but I think the "frequently" above is incorrect. > > The way Elisp files are compiled by package.el is to do it in the > running Emacs rather than by executing a separate Emacs session, AFAIK. > > And even if you configure it to use something like async.el, doesn't > (expand-file-name invocation-name invocation-directory) let async.el find > an Emacs executable even when it's not in PATH? Maybe I'm missing something. 29 packages (out of 166) in ELPA have a Makefile. Taking just one random Makefile, company/Makefile, I see this: EMACS=emacs [...] compile: ${EMACS} -Q --batch -L . -f batch-byte-compile company.el company-*.el If this Makefile is invoked with "make compile", it clearly expects Emacs to be found along PATH. And even if Make is invoked from Emacs, the directory where the Emacs binary was found is not added to PATH. So how can this work without Emacs's binary being on PATH? And what am I missing here?