emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] emacs-24 d69e9f1: CC Mode: Stop Font Lock forcing font


From: Stefan Monnier
Subject: Re: [Emacs-diffs] emacs-24 d69e9f1: CC Mode: Stop Font Lock forcing fontification from BOL. Fixes debbugs#19669.
Date: Mon, 02 Feb 2015 21:26:46 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> Can you walk me through what happens in the scenario of bug#19669?
> Certainly!

This looks specific to some assumptions made in CC-mode's font-lock
code, rather than to assumptions made in font-lock itself, or
assumptions often made in other major modes, so I think we're in the clear.
Thanks.

> 12. font-lock-default-fontify-region adjusts 409 to 404, since 409 is
> not at BOL.  404 is no longer a "syntactically safe" position wrt the
> original 506.

What would be "the closest syntactically safe" position before 409?


        Stefan



reply via email to

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