emacs-devel
[Top][All Lists]
Advanced

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

Re: checking jit-lock-defer-multiline


From: Stefan Monnier
Subject: Re: checking jit-lock-defer-multiline
Date: Mon, 24 Oct 2005 10:14:17 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> The recent change to `jit-lock-fontify-now' may disable checking the
> `jit-lock-defer-multiline' property in a number of cases.  It might make
> sense to introduce a variable `jit-lock-defer-multiline' with default
> nil.  Modes like `perl-mode' would set this to t and the check in
> `jit-lock-fontify-now' become:

>             (when (and jit-lock-context-unfontify-pos
>                        (>= jit-lock-context-unfontify-pos start)
>                        (< jit-lock-context-unfontify-pos next)
>                        (not jit-lock-defer-multiline))
>               (setq jit-lock-context-unfontify-pos next))

Hmm... Could you give some example (concrete or hypothetical) where the
problem you mention comes up?


        Stefan




reply via email to

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