From: Shenli Zhu <zhushenli2@gmail.com>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Emacs C debug help function?
Date: Fri, 10 Sep 2010 16:43:02 +0800 [thread overview]
Message-ID: <AANLkTikmJWLedZCzKYiEFu-HsRdZq9jipSqcDCOS+KFK@mail.gmail.com> (raw)
In-Reply-To: <87occ61d79.fsf@uwakimon.sk.tsukuba.ac.jp>
[-- Attachment #1: Type: text/plain, Size: 1478 bytes --]
On Fri, Sep 10, 2010 at 11:37 AM, Stephen J. Turnbull <stephen@xemacs.org>wrote:
> Shenli Zhu writes:
>
> > Is there any help function to display form, etc?
>
> Yes. Type "help user" to gdb for an annotated list. If you don't
> understand how to use them from that list, or need help interpreting
> results, please ask specifically.
>
> > And is there any instruction files on hacking C files?
>
> For advice on writing code, as far as I know there is a little bit in
> the Emacs Lisp Reference, and for the general structure of C support
> for Lisp, online there's
>
> http://www.xemacs.org/Documentation/21.5/html/internals.html
>
> Warning: Emacs and XEmacs redisplays are completely different, as are
> text properties and extents. The Lisp language implementation is
> pretty similar, as are the buffer and string structures. (You need to
> be a little careful with text as XEmacs still uses Mule code
> internally, but it has the same formal properties, eg, finding
> character boundaries in O(1), etc, and many of the same higher-level
> APIs for actually handling encoding as used in Emacs.)
>
> For the style you should use in writing code, there is the GNU coding
> standard, which I believe is distributed somewhere with Emacs. If
> not, you can install XEmacs and throw away everything except the
> "standards.info" file. :-) (Sorry, we don't provide an online
> version. Probably somewhere on the GNU site?)
>
Hi Stephen, it's what I need, thank you.
[-- Attachment #2: Type: text/html, Size: 2063 bytes --]
next prev parent reply other threads:[~2010-09-10 8:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-10 2:11 Emacs C debug help function? Shenli Zhu
2010-09-10 3:37 ` Stephen J. Turnbull
2010-09-10 8:43 ` Shenli Zhu [this message]
2010-09-10 4:02 ` Glenn Morris
2010-09-10 8:40 ` Shenli Zhu
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=AANLkTikmJWLedZCzKYiEFu-HsRdZq9jipSqcDCOS+KFK@mail.gmail.com \
--to=zhushenli2@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=stephen@xemacs.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).