From: Teemu Likonen <tlikonen@iki.fi>
To: drain <aeuster@gmail.com>
Cc: Help-gnu-emacs@gnu.org
Subject: Re: Emacs C source code
Date: Wed, 01 Aug 2012 09:56:19 +0300 [thread overview]
Message-ID: <877gtjdrsc.fsf@mithlond.arda> (raw)
In-Reply-To: <87fw87ri70.fsf@mithlond.arda> (Teemu Likonen's message of "Tue, 31 Jul 2012 19:47:31 +0300")
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.
next prev parent reply other threads:[~2012-08-01 6:56 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 [this message]
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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877gtjdrsc.fsf@mithlond.arda \
--to=tlikonen@iki.fi \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).