all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is there an emacs c code document ?
@ 2008-04-07  5:01 Kyle M. Lee
  2008-04-07  7:33 ` Jason Rumney
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kyle M. Lee @ 2008-04-07  5:01 UTC (permalink / raw)
  To: emacs-devel

Hi all,
I am very interested in emacs internal implementation, especially the c
code. And I have gotten the cvs emacs 23 code. I googled with "emacs
internal", found nothing valuable. So I asked this question, are there
some nice documents or guide about the emacs internal implementation ?

Maybe someone would tell me, the code is the real document.:) The emacs
code is not doxygen-like. So I am reading code with emacs + ECB.

Any comments are welcome.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there an emacs c code document ?
  2008-04-07  5:01 Is there an emacs c code document ? Kyle M. Lee
@ 2008-04-07  7:33 ` Jason Rumney
  2008-04-07  8:56 ` Stephen J. Turnbull
  2008-04-07 19:14 ` Eli Zaretskii
  2 siblings, 0 replies; 7+ messages in thread
From: Jason Rumney @ 2008-04-07  7:33 UTC (permalink / raw)
  To: Kyle M. Lee; +Cc: emacs-devel

Kyle M. Lee wrote:
> So I asked this question, are there
> some nice documents or guide about the emacs internal implementation ?
>   

In addition to the code itself, there are a few documents in
admin/notes. I thought there was something about garbage collection
there, but it must be somewhere else.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Is there an emacs c code document ?
  2008-04-07  5:01 Is there an emacs c code document ? Kyle M. Lee
  2008-04-07  7:33 ` Jason Rumney
@ 2008-04-07  8:56 ` Stephen J. Turnbull
  2008-04-07 16:10   ` Stefan Monnier
  2008-04-07 19:14 ` Eli Zaretskii
  2 siblings, 1 reply; 7+ messages in thread
From: Stephen J. Turnbull @ 2008-04-07  8:56 UTC (permalink / raw)
  To: Kyle M. Lee; +Cc: emacs-devel

Kyle M. Lee writes:

 > Hi all,
 > I am very interested in emacs internal implementation, especially the c
 > code. And I have gotten the cvs emacs 23 code. I googled with "emacs
 > internal", found nothing valuable. So I asked this question, are there
 > some nice documents or guide about the emacs internal implementation ?

The XEmacs Internals Manual
http://www.xemacs.org/Documentation/21.5/html/internals.html
may be of some use for general coding conventions and techniques.  The
Mule code is quite different, as are the internal console APIs.  But
the coding conventions for the Lisp engine are pretty similar.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there an emacs c code document ?
  2008-04-07  8:56 ` Stephen J. Turnbull
@ 2008-04-07 16:10   ` Stefan Monnier
  2008-04-08  1:50     ` Kyle M. Lee
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2008-04-07 16:10 UTC (permalink / raw)
  To: Stephen J. Turnbull; +Cc: Kyle M. Lee, emacs-devel

>> Hi all, I am very interested in emacs internal implementation,
>> especially the c code. And I have gotten the cvs emacs 23
>> code. I googled with "emacs internal", found nothing valuable. So
>> I asked this question, are there some nice documents or guide about
>> the emacs internal implementation ?

> The XEmacs Internals Manual
> http://www.xemacs.org/Documentation/21.5/html/internals.html may be of
> some use for general coding conventions and techniques.  The Mule code
> is quite different, as are the internal console APIs.  But the coding
> conventions for the Lisp engine are pretty similar.

There is also the "the craft of text editing" book
(http://www.finseth.com/craft/), which is very old and doesn't describe
Emacs's code, but can still be relevant in giving an idea of the
general organization.

And if you have detailed questions, this mailing list may answer them,
of course.


        Stefan




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there an emacs c code document ?
  2008-04-07  5:01 Is there an emacs c code document ? Kyle M. Lee
  2008-04-07  7:33 ` Jason Rumney
  2008-04-07  8:56 ` Stephen J. Turnbull
@ 2008-04-07 19:14 ` Eli Zaretskii
  2008-04-08  2:31   ` Kyle M. Lee
  2 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2008-04-07 19:14 UTC (permalink / raw)
  To: Kyle M. Lee; +Cc: emacs-devel

> Date: Mon, 07 Apr 2008 13:01:01 +0800
> From: "Kyle M. Lee" <mail2kyle@gmail.com>
> 
> I am very interested in emacs internal implementation, especially the c
> code. And I have gotten the cvs emacs 23 code. I googled with "emacs
> internal", found nothing valuable. So I asked this question, are there
> some nice documents or guide about the emacs internal implementation ?

In addition to all the good advice others gave you, I'd like to
mention the node "GNU Emacs Internals" in the ELisp manual.  While it
doesn't really describe the C code, it does give you some good
background about how the fundamental Emacs objects work.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there an emacs c code document ?
  2008-04-07 16:10   ` Stefan Monnier
@ 2008-04-08  1:50     ` Kyle M. Lee
  0 siblings, 0 replies; 7+ messages in thread
From: Kyle M. Lee @ 2008-04-08  1:50 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Stephen J. Turnbull, emacs-devel

Stefan Monnier 写道:
> There is also the "the craft of text editing" book
> (http://www.finseth.com/craft/), which is very old and doesn't describe
> Emacs's code, but can still be relevant in giving an idea of the
> general organization.
>
Nice book. I will read it and the XEmacs Internal document that Stephen
gave. Thanks.


> And if you have detailed questions, this mailing list may answer them,
> of course.
:) Thanks in advance.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Is there an emacs c code document ?
  2008-04-07 19:14 ` Eli Zaretskii
@ 2008-04-08  2:31   ` Kyle M. Lee
  0 siblings, 0 replies; 7+ messages in thread
From: Kyle M. Lee @ 2008-04-08  2:31 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii 写道:
> In addition to all the good advice others gave you, I'd like to
> mention the node "GNU Emacs Internals" in the ELisp manual.  While it
> doesn't really describe the C code, it does give you some good
> background about how the fundamental Emacs objects work.
Thanks, Eli. That's what I want too.
The info of emacs likes forest. :)




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-04-08  2:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-07  5:01 Is there an emacs c code document ? Kyle M. Lee
2008-04-07  7:33 ` Jason Rumney
2008-04-07  8:56 ` Stephen J. Turnbull
2008-04-07 16:10   ` Stefan Monnier
2008-04-08  1:50     ` Kyle M. Lee
2008-04-07 19:14 ` Eli Zaretskii
2008-04-08  2:31   ` Kyle M. Lee

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.