[Top][All Lists]

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

Re: [External] : Partly deferred font-locking?

From: Michael Heerdegen
Subject: Re: [External] : Partly deferred font-locking?
Date: Wed, 11 Jan 2023 20:31:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Drew Adams <drew.adams@oracle.com> writes:

> If that symlink font-lock rule is in a higher level
> then that already should provide a way to avoid its
> cost.  IOW, IIUC, just choosing not to fontify
> symlinks should take care of that particular cost.
> (But maybe I've misunderstood you.)

"What" and "how" are coupled: dired now indicates the type of symlink
targets by color (attached to the symlink).  Also broken symlinks are
highlighted specially.  To do that font-lock has to consult the file
system.  The rest of dired fontification is purely text based AFAIK.

But this was only an example to demonstrate the purpose of my question.


reply via email to

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