"Stephen J. Turnbull" <turnbull(a)sk.tsukuba.ac.jp> writes:
Ave> Btw, I also think that REGEX_MALLOC should be defined by
Ave> default for Digital UNIX.
I don't know about this; can you explain more?
I do. Digital Unix has a small default for stack segment, so XEmacs
crashes in regexp-heavy Lisp apps like Gnus and possibly font-lock.
The solution is to either increase the stack size with `ulimit', or to
make things work by default by defining REGEX_MALLOC, which makes
regexp.c use malloc rather than alloca.
Defining REGEX_MALLOC is not a perfect solution, though, because some
people suspect it to leak, and it makes regexps slower. Therefore:
A third, and IMHO best, solution would be for XEmacs to raise its own
stack size if it notices it to be too small. It's quite easy to do
for someone who has access to a Digital Unix system.