From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Skilbeck Newsgroups: gmane.emacs.help Subject: Re: Emacs C source code Date: Tue, 31 Jul 2012 17:37:57 +0100 Message-ID: <20120731163757.GA13468@solitude.home> References: <34234906.post@talk.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1343752694 2929 80.91.229.3 (31 Jul 2012 16:38:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Jul 2012 16:38:14 +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 Tue Jul 31 18:38:14 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 1SwFSV-00036s-Tv for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Jul 2012 18:38:12 +0200 Original-Received: from localhost ([::1]:53595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwFSV-0004yF-2M for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Jul 2012 12:38:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwFSK-0004wX-7g for Help-gnu-emacs@gnu.org; Tue, 31 Jul 2012 12:38:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwFSJ-0007zh-4k for Help-gnu-emacs@gnu.org; Tue, 31 Jul 2012 12:38:00 -0400 Original-Received: from li357-97.members.linode.com ([178.79.188.97]:53983 helo=mail.iammark.us) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwFSI-0007zT-UU for Help-gnu-emacs@gnu.org; Tue, 31 Jul 2012 12:37:59 -0400 Original-Received: from mail.iammark.us (host86-156-113-181.range86-156.btcentralplus.com [86.156.113.181]) by mail.iammark.us (Postfix) with ESMTPSA id 98584AC2F; Tue, 31 Jul 2012 17:37:57 +0100 (BST) Content-Disposition: inline In-Reply-To: <34234906.post@talk.nabble.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 178.79.188.97 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:86137 Archived-At: On Tue, Jul 31, 2012 at 03:12:07AM -0700, drain wrote: > > After I enter C-h f then forward-word, I get this message: > > forward-word is an interactive built-in function in `syntax.c'. > > I click on 'syntax.c' and Emacs tells me: "the C source file syntax.c is not > available". > > Where can I find this file? Where is it most likely to be in GNU / Linux? > (my distro is Ubuntu 11.10) Hi! According to the documentation for `find-function-source-path', it will look through your `load-path' variable. You will need to point this to your local Emacs source. Of course, installing Emacs through the ubuntu apt-get interface does not give you the source - you'll have to use `apt-get source emacs' or something similar. Compiling and installing your own Emacs binary, I believe, sets the load-path automatically to find the source code. -- - mgs. if all you young men / were fish in the water how many young girls / would undress and dive after