Need some bug/version info
David Kastrup
dak at gnu.org
Wed Feb 2 04:17:43 EST 2005
Ralf Angeli <angeli at iwi.uni-sb.de> writes:
> [Copying to the AUCTeX mailing list as well.]
>
> * Stephen J. Turnbull (2005-02-02) writes:
>
>>>>>>> "Ralf" == Ralf Angeli <dev.null at iwi.uni-sb.de> writes:
>>
>> Ralf> The backtrace I posted is not related to font locking. It
>> Ralf> seems to be a problem with shy groups in the regular
>> Ralf> expressions.
>>
>> Most likely fixed in CVS, due out in 21.4.17 in a few days according
>> to the release manager.
>
> As we are about to release AUCTeX 11.55, we are in need of a
> workaround for 21.4.16. David posted the following on the AUCTeX list
>
> (string-match "\\(\\(\\(\\(\\(\\(\\(\\(\\(\\(\\(\\(\\(\\(\\(\\(.\
> \\)\\)\\)\\)\\)\\)\\)\\)\\)\\)\\)\\)\\)\\)\\)\\)" "x")
>
> but didn't consider it a real and bullet-proof solution.
To be more exact: it is not a workaround but a preliminary for not
working around. As such it is ugly. And I have not even taken a look
at the respective XEmacs code, so it is guesswork at best whether or
not this code avoids or just hides a problem.
> As a last resort we could prevent the regexps triggering the
> segfault from being applied in XEmacs.
If a workaround like the above is considered workable, it would be
interesting to know how often it is to be applied: once per session,
once after any save-match-data, once per process
sentinel... Presumably something like
(set-match-data (make-list 30 0))
would be more efficient, anyway.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
More information about the XEmacs-Beta
mailing list