[Top][All Lists]

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

Re: jit-lock-antiblink-grace

From: Eli Zaretskii
Subject: Re: jit-lock-antiblink-grace
Date: Sat, 30 Nov 2019 21:22:36 +0200

> From: João Távora <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden
> Date: Sat, 30 Nov 2019 19:11:57 +0000
> a.  You want to make a string region in a non-string buffer of 10 lines
>     between line 3 and 7.
> b.  You go to line 7 and type a quote
> c.  You go to line 3 and type a quote
> Previously, after step b) you would get lines 8, 9, and 10 (and 7
> partially) string-fontified "immediately".
> Now, after step b), and _if stay on the same line_, it takes 2 seconds
> for lines 7-10 to be string-fontified.  If you leave line 7 in your
> journey to line 3 before those 2 seconds are up, 7-10 are immediately
> string-fontified (and the old and new version become identical in
> behaviour).

So how is this a problem, if at worst we get the old behavior?

> +** New customizable variable 'jit-lock-antiblink-grace'.
> +When typing strings, this helps avoid "blinking", an oscillation
> +between string and non-string fontification.  The variable holds a
> +number of seconds (default is 2) before a potentially unwanted
> +fontification starts.  Set to nil to deactivate.
"Deactivate" is not self-explanatory here, because the text didn't
mention any "activation".  I suggest this instead:

  Set to nil to get back the old behavior.


reply via email to

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