[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9401: 24.0.50; Crash during fontification

From: Stefan Monnier
Subject: bug#9401: 24.0.50; Crash during fontification
Date: Wed, 31 Aug 2011 08:42:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> I've found the bug, and committed a fix.  It was a problem with
> find_defun_start not updating its cache variables consistently.  (Is
> that optimization really necessary?  I guess we can re-examine it some
> other time.)

IIRC this optimization is sometimes important, but it's re-implemented
(in a more sophisticated way) in syntax.el for syntax-ppss, so it would
be good to make the C code somehow use the syntax.el cache.  Maybe the
best way is to change back_comment so that in `lossage' it just calls
a Lisp function (that we'd put in syntax.el), so we can throw away
find_defun_start (and even open_paren_in_column_0_is_defun_start).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]