From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: on specifying the C source code directory (Was: Re: on ``An Introduction to Programming in Emacs Lisp'') Date: Mon, 1 Feb 2016 13:32:54 +0100 Message-ID: <20160201123254.GA14737@tuxteam.de> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <0q7fio63c2.fsf_-_@toledo.com> <87egcwhah7.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1454332084 22780 80.91.229.3 (1 Feb 2016 13:08:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Feb 2016 13:08:04 +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 Feb 01 14:07:59 2016 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 1aQED0-0005jh-Sz for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Feb 2016 14:07:59 +0100 Original-Received: from localhost ([::1]:52347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQED0-0006ie-9U for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Feb 2016 08:07:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQECp-0006iK-2n for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 08:07:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQECl-0001N4-5B for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 08:07:46 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:39778 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQECk-0001MA-VX for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 08:07:43 -0500 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aQDf4-0003qz-HN for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 13:32:54 +0100 In-Reply-To: <87egcwhah7.fsf@mbork.pl> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 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:108949 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Feb 01, 2016 at 01:38:12PM +0100, Marcin Borkowski wrote: > > On 2016-02-01, at 13:07, Daniel Bastos wrote: > > > Marcin Borkowski writes: > > > > [...] > > > >> I'd like to point out that one nice benefit of compiling from source > >> (apart from staying on the bleeding edge) is that you can easily use C-h > >> f to jump to the source code of functions written in C. > > > > You seem a good person to ask then. I'm able to look up source code in > > C source code in a Windows installation. But I always need to tell it > > which is the directory source code. How could I make sure it knows > > which directory that is? > > No idea. It Just Works™ on my (GNU/Linux) machine, after compiling from > source, without specifying the directory even once. There is a (documented) variable called "source-directory" which seems to do that. Try perhaps setting it to an appropriate value. regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlavUHYACgkQBcgs9XrR2kZpEgCffO99NhMmEiQVCV3QoQHnNXD5 a4QAnjeFyo5tVDYNTMWfVimCYvyq2V0O =fH+w -----END PGP SIGNATURE-----