[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs C source, suggested reading order
From: |
Rob Thorpe |
Subject: |
Re: Emacs C source, suggested reading order |
Date: |
23 Jan 2004 19:25:50 -0800 |
joao <joao@nospam.net> wrote in message
news:<m3u12mqlnh.fsf@localhost.localdomain>...
> Hi all,
>
> I wanted to write some emacs lisp code to display the contents of registers,
> where I've saved several window configurations. I was thinking of a list of
> registers identified by a, b, c, ..., with, for each one, the names of the
> buffers/files displayed in each window.
>
> Unfortunately the Elisp Manual states clearly that
>
> Primitives to look inside of window configurations would
> make sense, but none are implemented. It is not clear they
> are useful enough to be worth implementing.
>
> So I guess it's time to start reading that Emacs C source code, so I can add
> the primitive I need. I've found the window config functions in window.c, but
> obviously there's a lot to understand in this (big) source.
>
> Does anyone have a suggested reading order in all these C source files ? are
> there some useful comments buried inside any particular file ? things like
> description/explanation of how lisp objects/functions are implemented in C ?
> or
> the interface between lisp and C ?
>
> Suggestions welcome. Otherwise I'll start with emacs.c :-)
Start with lisp.h, then read emacs.c or eval.c
I can't advise you further than that since I haven't got further myself!