[Top][All Lists]

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

Re: something like linum.el ought to be added

From: Stefan Monnier
Subject: Re: something like linum.el ought to be added
Date: Mon, 17 Sep 2007 20:49:37 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>> I thought that the hooks used by jit-lock ought to be sufficient
>> for linum as well.  But it turns out they are not, because
>> the code to run Vfontification_functions checks specifically
>> for the `fontified' property.

>     I believe they are sufficient, but jit-lock needs to be extended to
>     offer the feature required by linum.el.

> jit-lock is controlled by the `fontified' property.  We do not want linum
> to alter text properties, so it can't use jit-lock.

I do not follow.  I have a pretty good idea of how jit-lock could be
modified to provide just the necessary functionality.  linum.el would keep
using overlays (just like glasses-mode does already in conjunction with
jit-lock, by the way).


reply via email to

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