From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexis Newsgroups: gmane.emacs.help Subject: Re: Correct Paths to Emacs C Sources after Installation Date: Tue, 04 Nov 2014 12:30:49 +1100 Message-ID: <87wq7bu3rv.fsf@gmail.com> References: <834mugvw5w.fsf@gnu.org> <87y4rru6fa.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415066264 22961 80.91.229.3 (4 Nov 2014 01:57:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2014 01:57:44 +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 02:57:37 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 1XlTNI-0000XZ-86 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2014 02:57:36 +0100 Original-Received: from localhost ([::1]:38139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlTNH-0007BR-NT for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 20:57:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlTMw-0007B0-6l for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 20:57:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlTMm-0002KO-Vx for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 20:57:14 -0500 Original-Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]:33132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlTMm-0002KB-On for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 20:57:04 -0500 Original-Received: by mail-pa0-f43.google.com with SMTP id eu11so13409654pac.30 for ; Mon, 03 Nov 2014 17:57:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:subject:date:in-reply-to:message-id:mime-version :content-type; bh=Ox2saT0enOM5DWT0pdXGxNnwm+TjJNCzY2VftlMY66k=; b=oYi4oBI8lGsrlUzegJUGYRzq5QBZEv3Y/UBkXsncWBdQ4nleeYB/w1D7MQ/odyLYx2 n1ytddYTj5BBVGL+WAikITeS/fVwzvtJ8DXhWAJNWreKvdrwWEd9dD7sbx29ZzBj786f nKFWG5sFkX1XIQwMSmAdBkoK6Lemn95/kiz1LeJByAFZGUQBlUbrwPR/OZRAMEZbkq0c d0ePODLeRHZeXTsPeoeAo+J66H9aGjFrLAnkrghxNwOTYNI2v0Yz8WjiUbkErmjLmoVg NNWHbVonCmGNEv/Gdz8XhX7fQukuiyx4AxOWGzCMbCXtmiMgwcL46hWBdYFkliDwl0kX zoVw== X-Received: by 10.66.122.2 with SMTP id lo2mr47153788pab.9.1415066223751; Mon, 03 Nov 2014 17:57:03 -0800 (PST) Original-Received: from localhost (ppp118-209-92-67.lns20.mel4.internode.on.net. [118.209.92.67]) by mx.google.com with ESMTPSA id x7sm18376182pdj.36.2014.11.03.17.56.56 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 03 Nov 2014 17:57:02 -0800 (PST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::22b 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:100714 Archived-At: Alexander Shukaev writes: > Did you delete the build directory? No, i didn't. In contrast to yourself, i don't usually delete my build directories, because i might need to rebuild with some slight modifications; deleting everything would result in the entire build being done from scratch, often (from my point of view) unnecessarily. > Furthermore, I just don't get what exactly you don't understand. Do > you realize that the default `source-directory` is hard coded to the > path where Emacs sources were when you built them? You cannot relocate > them now without either manually changing the value of this variable > through Emacs Lisp or rebuilding Emacs from scratch so that the > default changes. This poses a major difficulty when distributing Emacs > as a prebuilt package, since on the developer machine sources would be > located on some directory which does not even exists for end > users. How many more times should I repeat that issue? Well, my apologies; i got confused because, even though your original post implied (to me) that the packaging issue was your primary concern, in a subsequent post you mentioned both the packaging issue /and/ the case where you yourself were compiling - but i then overlooked the fact that you delete your build directories. Sorry! i'm not one of the Emacs maintainers, myself, but i would think this is something that needs to be decided by those who package Emacs. Not all those packaging Emacs have end-users who want or need the C sources to be available, so from the point of view of such packagers, including the sources in the package would make it unnecessarily large. Furthermore, different platforms (e.g. different Linux distros) might differ in where such C sources should be located in their filesystem hierarchy (e.g. they might have chosen /usr/src/ as the standard location for C sources). So it seems to me it might be best for the Emacs build system to not make decisions best left to package maintainers. Alexis.