[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: |
Alan Mackenzie |
Subject: |
Re: [Emacs-diffs] emacs-24 d69e9f1: CC Mode: Stop Font Lock forcing fontification from BOL. Fixes debbugs#19669. |
Date: |
Sat, 7 Feb 2015 12:27:11 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello, Stefan.
On Mon, Feb 02, 2015 at 09:26:46PM -0500, Stefan Monnier wrote:
> >> 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?
In the sense meant, 409 is the earliest "syntactically safe" position,
since (char-before 409) is "{"
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).