On Mon, Aug 16, 1999 at 04:23:34PM +0200, Jan Vroonhof wrote:
Stef Epardaud <stef(a)lunatech.com> writes:
> 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 ?
It seems a bit silly to do that at every GCPRO. There are loads of
them, they are part of the basic vocabulary of the XEmacs C code. This
is what the Internals manual is for.
well i didn't mean at every GCPRO, but when i met this macro first, i
looked it up to the declaration, and the comments there are just not
very clear. i mean i didn't understand what you said in one line. now
that i've looked at the info node though, it's clearer.
Maybe there should be one super-commented example source.
yeah, there is one example of such in the info node, declaring a
function and GCPRO-ing a list, but it would be nice to have an easier
introduction for potential new coders. i think helping would become more
popular. dunno if the quality would increase, because i admit getting
into it requires much knowledge, and some might argue it is probably
best like this, i am not one of those.
> who should i be asking questions to ?
> file maintainer or this mailinglist ?
This mailing list.
will gladly :)
> 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.
I think modules/sample/sample.c is pretty self contained. It is maybe
even too simple (there is no GCPRO) for instance.
my checkout is 21.1.4, but my modules/sample/ directory is empty.
i'll try to chekout a newer version...
for something completely different: does anybody have selection problems
with 21.1.4 ? when i select text and expend/reduce the selection, the
selection is not painted/repainted correctly, and it leaves lines of
unrepainted selections of one pixel high around the screen until text or
something else redraws over it. is it me or is it just everyone, or just
my version? we have it here on all machines, even with -vanilla, but we
all use the same version.
--
# 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...