From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: Correct Paths to Emacs C Sources after Installation Date: Tue, 4 Nov 2014 14:00:25 -0700 Message-ID: <20141104135320983572700@bob.proulx.com> References: <83vbmvufpy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1415134866 22866 80.91.229.3 (4 Nov 2014 21:01:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2014 21:01:06 +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 22:01:00 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 1XllDl-00052I-Hc for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2014 22:00:57 +0100 Original-Received: from localhost ([::1]:42985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XllDl-0000Tl-4k for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2014 16:00:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XllDN-0000Rd-5q for help-gnu-emacs@gnu.org; Tue, 04 Nov 2014 16:00:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XllDG-0003FH-Vf for help-gnu-emacs@gnu.org; Tue, 04 Nov 2014 16:00:33 -0500 Original-Received: from joseki.proulx.com ([216.17.153.58]:57422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XllDG-0003F6-PM for help-gnu-emacs@gnu.org; Tue, 04 Nov 2014 16:00:26 -0500 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 7893321229 for ; Tue, 4 Nov 2014 14:00:25 -0700 (MST) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 55EB52DC35; Tue, 4 Nov 2014 14:00:25 -0700 (MST) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 216.17.153.58 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:100750 Archived-At: Alexander Shukaev wrote: > > I really don't think it is. The only thing I have ever seen use /usr/src > > on GNU/Linux machines is the Linux kernel and other related items where > > the sources are needed for compiling kernel modules. > > Perhaps you should look into "/usr/local/src". This is the place where > package managers can fetch the so-called "source packages", those which > contain only the source code. The /usr/local tree won't be used directly by package managers. Talking dpkg and rpm specifically here. The /usr/local tree is for the local admin to do with as they will. (PATH variables such as Perl's INC and others may include /usr/local paths so that packaged tools integrate into the packaged tools installed into system directories.) If you want it installed by a package manager then the /usr/share/emacs/VERSION directory is about the only acceptable place for it. Personally I always felt that if you want to look at the source code then it makes the most sense to download source and compile it. In which case source will be wherever you have placed it. In my case that is in my ~/src/foo directory tree. Being my own copy it means I can make modifications and compile those modifications. Having modified it means that I want it in version control so that I can use it for diff'ing, for branching, generating patches, and general source control. Bob