[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: Markus Triska
Subject: Re: something like linum.el ought to be added
Date: Thu, 13 Sep 2007 19:06:14 +0200

Richard Stallman <address@hidden> writes:

> Indeed, the after-change-functions hook will need to deal with
> all the windows.  That is not very hard, with buffer-window-list.

Yes, that's how I'm doing it now; update is now also added to several
other hooks. One oversight in Emacs is, I think, that the functions in
window-size-change-functions are invoked as regular functions in
xdisp.c, therefore making the hook buffer-local currently results in
an error (due to 't'). I'm thus modifying the global hook for now.

> (We can add a primitive to select overlays based on a certain
> property value, to make that faster.)

Thanks; however, the current approach in version 0.9m is already so
fast that no new primitives seem to be necessary (for linum.el).

reply via email to

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