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: Mon, 03 Nov 2014 22:58:19 +0200 Message-ID: <834mugvw5w.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1415048342 5822 80.91.229.3 (3 Nov 2014 20:59:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2014 20:59:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 21:58:55 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 1XlOiE-00006q-T2 for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 21:58:55 +0100 Original-Received: from localhost ([::1]:37332 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlOiE-0004Zy-Ki for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 15:58:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlOhx-0004Yn-NU for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 15:58:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlOhq-0002qD-5R for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 15:58:37 -0500 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:38848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlOhp-0002pf-TP for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 15:58:30 -0500 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NEH00C00DF4G800@mtaout27.012.net.il> for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 22:53:35 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NEH00CYZE1BXN10@mtaout27.012.net.il> for help-gnu-emacs@gnu.org; Mon, 03 Nov 2014 22:53:35 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.183 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:100699 Archived-At: > Date: Mon, 3 Nov 2014 21:55:05 +0100 > From: Alexander Shukaev > > After building and installing Emacs, the C sources are not installed. How > to ask the build system for that? I think only manually. Better yet, just unpack the sources in the directory where you want them in the first place. > Furthermore, if Emacs was built in some random (usually temporary) build > directory, then: when issuing Emacs documentation on some function which is > defined in C code and clicking the `C source code' link, Emacs would open > the corresponding C source file which is located in this random build > directory. This is definitely not something one would expect, especially in > the case when Emacs was built on a developer machine and distributed to > other users in a prebuilt form. > > How to tell Emacs to recognize that the C sources are in say the "src" > directory which would be on the same level as the "bin" directory and > company (preferably in the relative form). Try setting the variable source-directory.