all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark Skilbeck <m@iammark.us>
To: drain <aeuster@gmail.com>
Cc: Help-gnu-emacs@gnu.org
Subject: Re: Emacs C source code
Date: Tue, 31 Jul 2012 17:37:57 +0100	[thread overview]
Message-ID: <20120731163757.GA13468@solitude.home> (raw)
In-Reply-To: <34234906.post@talk.nabble.com>

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



      parent reply	other threads:[~2012-07-31 16:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-31 10:12 Emacs C source code drain
2012-07-31 16:27 ` Teemu Likonen
2012-07-31 16:47   ` Teemu Likonen
2012-08-01  6:56     ` Teemu Likonen
2012-07-31 16:29 ` XeCycle
2012-08-01  3:57   ` Yuri Khan
2012-08-01  4:44     ` XeCycle
2012-07-31 16:37 ` Mark Skilbeck [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120731163757.GA13468@solitude.home \
    --to=m@iammark.us \
    --cc=Help-gnu-emacs@gnu.org \
    --cc=aeuster@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.