From: Zack Piper <zack@apertron.net>
To: emacs-devel@gnu.org
Subject: Re: need help
Date: Sat, 2 May 2015 19:44:09 +0200 [thread overview]
Message-ID: <20150502174408.GA8238@apertron.net> (raw)
In-Reply-To: <tencent_74C13D841A92D8792A4C3864@qq.com>
On Sun, May 03, 2015 at 01:30:19AM +0800, 哪天的晚风 wrote:
> I don not know where to ask my questions.
> So please regret me for asking some easy questions, which I really do not know.
Don't worry, asking questions is how you learn. :)
>
>
> In emacs source code:
> 1. Where is the definition of DEFSYM, I can not find it in lisp.h now.
`M-x describe-function RET defsym RET` tells me it doesn't exist at
all for me, so probably not at all for anyone.
> 2. Where is the definition of the struct emacs_globals, I can not find it in all the source .c .h files
> in emacs-master source code which I get from github.
`emacs_globals` is mentioned at:
- line 116 of src/alloc.c
- line 3, and 1009 of src/globals.h
> 3. Can you give me some advice for reading the emacs source code ?
Well, learning C and LISP is a good start, and learning to use `grep`
(I assume you're on Linux or a platform like it) is great for finding things.
--
Zack Piper <zack@apertron.net> http://apertron.net
next prev parent reply other threads:[~2015-05-02 17:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-02 17:30 need help =?gb18030?B?xMTM7LXEze235w==?=
2015-05-02 17:44 ` Zack Piper [this message]
2015-05-02 18:30 ` Óscar Fuentes
2015-05-02 18:42 ` Eli Zaretskii
2015-05-02 20:36 ` Zack Piper
-- strict thread matches above, loose matches on Subject: below --
2010-04-14 7:00 马亮
2010-04-15 7:32 ` Alberto Luaces
2010-04-15 9:15 ` tomas
[not found] <mailman.495.1244783214.2239.help-gnu-emacs@gnu.org>
2009-06-13 22:13 ` Need help Xah Lee
2009-06-11 18:55 Dhaval Malaviya
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=20150502174408.GA8238@apertron.net \
--to=zack@apertron.net \
--cc=emacs-devel@gnu.org \
/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.