On Mon, Aug 16, 1999 at 12:17:11PM +0200, Jan Vroonhof wrote:
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!").
wow, another mystery solved. this macro meant nothing to me and i kept
seeing it everywhere, now i understand. maybe your two lines should be
commented above the declaration ? in addition to the comments that meant
nothing to me.
After that simply read some code and ask _lots_ of questions.
I would suggest you stay away from the redisplay code in the beginning.
who should i be asking questions to ?
file maintainer or this mailinglist ?
> 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.
in my modules/examples/ i have only purified.c and nothing in
modules/samples/ and the others like modules/ldap/ are not very
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.
hey, cool, thanx a lot for your tips. now i feel motivation flowing
again !
--
# Stef Epardaud, # There is no limit to the power of computing ...
# Java Defeater # ... except men maybe ?
# Earth # Lunatech Research,
# Solar System # soon we will quit researching and start finding...