[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: |
Richard Stallman |
Subject: |
Re: something like linum.el ought to be added |
Date: |
Wed, 12 Sep 2007 04:47:14 -0400 |
I see what you mean; the main complication is that existing overlays
can still be necessary in other windows that show the same buffer.
That is true.
So
making all overlays available for (re-)consumption would entail
walking all visible windows and adjusting (new or existing) overlays
where necessary,
Indeed, the after-change-functions hook will need to deal with
all the windows. That is not very hard, with buffer-window-list.
If each overlay records which windows it is meant for, the
window-scroll-functions can could delete and redo only those that
pertain to the current window. Each window will run the
window-scroll-functions to recompute the overlays it needs.
(We can add a primitive to select overlays based on a certain
property value, to make that faster.)
We could also add this as a display feature.
It might not be very hard.
- something like linum.el ought to be added, Joe Wells, 2007/09/09
- Re: something like linum.el ought to be added, Richard Stallman, 2007/09/10
- Re: something like linum.el ought to be added, Markus Triska, 2007/09/14
- Re: something like linum.el ought to be added, Stefan Monnier, 2007/09/14
- Re: something like linum.el ought to be added, Joe Wells, 2007/09/14
- Re: something like linum.el ought to be added, Stefan Monnier, 2007/09/14
- Re: something like linum.el ought to be added, Richard Stallman, 2007/09/14
- RE: something like linum.el ought to be added, brianjiang, 2007/09/14
- Re: something like linum.el ought to be added, Markus Triska, 2007/09/14