emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Re: cc-mode fontification feels random


From: Stefan Monnier
Subject: Re: [PATCH] Re: cc-mode fontification feels random
Date: Mon, 30 Aug 2021 16:11:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Because good defaults matter, and if we have proper input preemption of
> stealth JIT working, there should be no downside.

`jit-lock-stealth-time` defaults to nil (i.e. stealth fontification is
disabled by default) for a good reason: it used to be enabled.

The known downsides are:
- we don't have good input preemption
- it eats up your battery with no clear benefit
  [ Because you end up re-fontifying the whole rest of the buffer after
    every buffer modification.  ]

If we want to keep the buffers fully fontified, then it's crucial to make
sure every tiny buffer modification doesn't force re-fontifying most of the
rest of the buffer.


        Stefan




reply via email to

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