From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Correct Paths to Emacs C Sources after Installation Date: Tue, 04 Nov 2014 17:51:05 +0200 Message-ID: <83vbmvufpy.fsf@gnu.org> References: <834mugvw5w.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1415116311 28205 80.91.229.3 (4 Nov 2014 15:51:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2014 15:51:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 04 16:51:44 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 1XlgOU-0001i4-KK for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2014 16:51:42 +0100 Original-Received: from localhost ([::1]:41292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlgOU-0005zB-9m for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2014 10:51:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlgO8-0005q9-NT for help-gnu-emacs@gnu.org; Tue, 04 Nov 2014 10:51:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlgO2-00046s-I5 for help-gnu-emacs@gnu.org; Tue, 04 Nov 2014 10:51:20 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:37355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlgO2-00045U-Ay for help-gnu-emacs@gnu.org; Tue, 04 Nov 2014 10:51:14 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NEI00K00UFUHF00@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Tue, 04 Nov 2014 17:51:12 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NEI00KQNUPCFC40@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Tue, 04 Nov 2014 17:51:12 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:100735 Archived-At: > Date: Tue, 4 Nov 2014 16:33:54 +0100 > From: Alexander Shukaev > Cc: help-gnu-emacs@gnu.org > > Furthermore, Eli told me recently that sources should be included > (either separately or in the same archive) anyway to be compliant > with the license. I meant a separate source archive, of course. That had nothing to do with having the sources installed, let alone in some specific public place. > Can you give "typical examples" where (expand-file-name "../src/emacs" > > invocation-directory) will give the right result? > > > Would you agree that this is *at least* more reasonable default in many > cases than hard coding nonexistent directory? No, it's much *less* reasonable. > There were plenty of examples like relocating/deleting sources from > original location where they were during build or moving to > different machine with prebuilt Emacs (for instance on UFD) or > distributing it as prebuilt package to other users. I don't know > what other "more" convincing examples you want to find as these ones > pretty much cover the use cases of "source-directory" variable. Relocating things will not necessarily put them in ../src/ relative to the binaries. There's any number of other places, so the probability of winding up in ../src is close to zero.