From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: windows installer Date: Sat, 11 Nov 2017 11:34:08 +0000 Message-ID: <87fu9l3v7z.fsf@russet.org.uk> 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> <83h8u1p8vt.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1510400060 13332 195.159.176.226 (11 Nov 2017 11:34:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Nov 2017 11:34:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 11 12:34:16 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 1eDU3C-0003Fx-SY for ged-emacs-devel@m.gmane.org; Sat, 11 Nov 2017 12:34:14 +0100 Original-Received: from localhost ([::1]:45214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDU3K-0000vI-Ba for ged-emacs-devel@m.gmane.org; Sat, 11 Nov 2017 06:34:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDU3D-0000vB-J5 for emacs-devel@gnu.org; Sat, 11 Nov 2017 06:34:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDU3C-0006bC-On for emacs-devel@gnu.org; Sat, 11 Nov 2017 06:34:15 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:39512) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eDU39-0006ZB-1X; Sat, 11 Nov 2017 06:34:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=sPp6PFMpBZ5V6+3J0mNXbgSwlsMnSPFB8I2h4jtc+S8=; b=zRCsx71cYUN6gpZCs4U+XNmK5 9aAkuAE6n5IQ+iZMThbrUe7IVljNPtsVLowVLKYHK40bpLMENRCLnyRwih11RpUl4wqo5hoicmmyi BsTsfHiFY1rxW6B4JECciqL4qvrLb7f0rD8mXKzYv/HaLuGUvV8ChPevDqzFCNMXpgDeiuA8sz/Ht ieyCJLcliHtYPJUMaLK7gd3LGmuK4DSJ1Bj2/PlXte46ZsK/83IuCpbW57JhWA9v647ihxLdo5Sgi XNPfgtYj9ImOH9zDc1FdvicmZeI+Ob+Bgk3B6iX4AeZ85tNg6PEreWGfXrnO+8XTdKHC4kL7/j1pw d8lCyK99A==; Original-Received: from cpc8-benw10-2-0-cust100.16-2.cable.virginm.net ([92.233.204.101]:59624 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eDU36-000YjY-Oe; Sat, 11 Nov 2017 11:34:08 +0000 In-Reply-To: <83h8u1p8vt.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 11 Nov 2017 09:33:26 +0200") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 78.129.138.110 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:220066 Archived-At: Eli Zaretskii writes: >> 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? This is just not a function of ELPA, it's a function of the ELPA source. Phil