Stef Epardaud <stef(a)lunatech.com> writes:
while, and Java brainwashed me quite well, i got very confused as to
all
the precompiler macros
Don't worry. The preprocessor macro's scare everybody. They are way
over the top, IMVHO.
Try reading the "Internals" info file. Especially the GCPRO section
(basically GCPRO is where the C part says to the lisp-engine: "I'm
using this variable!").
After that simply read some code and ask _lots_ of questions.
I would suggest you stay away from the redisplay code in the beginning.
i mean, i could not find a place where i could learn how all this
fit
together, how i should declare new lisp structures, how and when to use
GC related functions, and how to organize the code i would add.
Try reading the examples from the "modules" directory. They are fairly
small and self-contained.
Personally I think a good way too learn is to do real work :-). Try
looking at the bug tracking system http:///cvs.xemacs.org/XEmacs-bugs
for a few bugs you can reproduce and then try to work on that.
Jan
P.S. Here is a real bug if you want to learn about specifiers:
When you use (set-specifier minimum-line-ascent 30 (current-buffer))
then the result of (window-height) does not change, but it should.