From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Correct Paths to Emacs C Sources after Installation Date: Tue, 04 Nov 2014 10:02:31 -0500 Message-ID: References: <834mugvw5w.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415113388 9459 80.91.229.3 (4 Nov 2014 15:03:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2014 15:03:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Alexander Shukaev Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 04 16:03:01 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XlfdL-0000VJ-H0 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2014 16:02:59 +0100 Original-Received: from localhost ([::1]:40985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlfdL-00067t-5k for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2014 10:02:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xlfd3-00067D-36 for help-gnu-emacs@gnu.org; Tue, 04 Nov 2014 10:02:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xlfcu-0004AA-Ka for help-gnu-emacs@gnu.org; Tue, 04 Nov 2014 10:02:41 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:30624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xlfcu-0004A4-HP for help-gnu-emacs@gnu.org; Tue, 04 Nov 2014 10:02:32 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au4MAOatTlRFpY87/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWIwULCw4mEhQYDSSISwnLcgEBAQEGAQEBAR6RCAeESwWEYocCjyuEA5B9ghGBb4QWH4J6AQEB X-IPAS-Result: Au4MAOatTlRFpY87/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWIwULCw4mEhQYDSSISwnLcgEBAQEGAQEBAR6RCAeESwWEYocCjyuEA5B9ghGBb4QWH4J6AQEB X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="95927685" Original-Received: from 69-165-143-59.dsl.teksavvy.com (HELO ceviche.home) ([69.165.143.59]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 04 Nov 2014 10:02:31 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 65735660F0; Tue, 4 Nov 2014 10:02:31 -0500 (EST) In-Reply-To: (Alexander Shukaev's message of "Tue, 4 Nov 2014 00:05:47 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100730 Archived-At: > these sources it was built from. I think nobody can deny that it's > pretty much a convention to distribute open-source project sources > under ".../src/name" (for potential further usage or reference like > we have in this case as well). I haven't paid attention, so maybe it is a wide-spread convention, but although I can't deny your claim, I do need some convincing. Can you give "typical examples" where (expand-file-name "../src/emacs" invocation-directory) will give the right result? > 2. I build and install Emacs, then I package it and distribute to > end users. Why on Earth should the path to the build directory > (which obviously does not exist on end users' machines) that I used > be hard coded into "Vsource_directory"? This is done under the assumption that a common case is when Emacs was built locally. And I think it's more common for Emacs to be built locally, compared to the situation where the user installed a precompiled package and then fetched the sources. Stefan