From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.help Subject: Re: Emacs C source code Date: Wed, 01 Aug 2012 09:56:19 +0300 Message-ID: <877gtjdrsc.fsf@mithlond.arda> References: <34234906.post@talk.nabble.com> <87k3xjrj3p.fsf@mithlond.arda> <87fw87ri70.fsf@mithlond.arda> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343804195 12672 80.91.229.3 (1 Aug 2012 06:56:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2012 06:56:35 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: drain Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 01 08:56:35 2012 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 1SwSrA-0006nO-L5 for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Aug 2012 08:56:32 +0200 Original-Received: from localhost ([::1]:38892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwSr9-0004Go-SI for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Aug 2012 02:56:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwSr1-0004Gf-8l for Help-gnu-emacs@gnu.org; Wed, 01 Aug 2012 02:56:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwSr0-0006g8-Ee for Help-gnu-emacs@gnu.org; Wed, 01 Aug 2012 02:56:23 -0400 Original-Received: from mta-out.inet.fi ([195.156.147.13]:51203 helo=jenni2.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwSr0-0006fy-44 for Help-gnu-emacs@gnu.org; Wed, 01 Aug 2012 02:56:22 -0400 Original-Received: from mithlond.arda (84.251.134.110) by jenni2.inet.fi (8.5.140.03) id 4FD0823502B8C4BE; Wed, 1 Aug 2012 09:56:20 +0300 Original-Received: from dtw by mithlond.arda with local (Exim 4.72) (envelope-from ) id 1SwSqx-0000ze-Oo; Wed, 01 Aug 2012 09:56:19 +0300 In-Reply-To: <87fw87ri70.fsf@mithlond.arda> (Teemu Likonen's message of "Tue, 31 Jul 2012 19:47:31 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 195.156.147.13 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:86142 Archived-At: Teemu Likonen [2012-07-31 19:47:31 +0300] wrote: > Teemu Likonen [2012-07-31 19:27:54 +0300] wrote: >> If you compile Emacs from its source code and leave the source code >> directory intact then the Emacs runtime will find function and >> variable definitions from the C source too. > > I found it. It's variable find-function-C-source-directory and it > should point to the src subdirectory of Emacs code tree. So, you could download the source code $ mkdir -p /home/drain/some/good/place $ cd /home/drain/some/good/place $ apt-get source emacs23 and add a line like this to your Emacs init file: (setq find-function-C-source-directory "/home/drain/some/good/place/emacs23-23.2+1/src") Done.