Re: Need some bug/version info

David Kastrup <[email protected]>
Newsgroups gmane.emacs.auc-tex,gmane.emacs.xemacs.beta
Message-ID <[email protected]>
Ralf Angeli <[email protected]> writes:

> [Copying to the AUCTeX mailing list as well.]
>
> * Stephen J. Turnbull (2005-02-02) writes:
>
>>>>>>> "Ralf" == Ralf Angeli <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.