Great.
I did no know about get-buffer-window-list, this makes it a lot easier.
- Carsten
On May 12, 2006, at 3:26, Piotr Zielinski wrote:
Below is a version of autocollapse that works correctly even if
several windows show the same buffer. It periodically collapses
outline nodes that are far
Below is a version of autocollapse that works correctly even if
several windows show the same buffer. It periodically collapses
outline nodes that are far from the current point position [1].
Piotr
[1] http://zerotau.blogspot.com/2006/04/autocollapse-mode-for-emacs.html
(defun local-fold-from-
Carsten, thanks for your comments. I'll incorporate your suggestions
into the code as soon as I can.
Piotr
On 26/04/06, Carsten Dominik <[EMAIL PROTECTED]> wrote:
>
> On Apr 24, 2006, at 14:15, Piotr Zielinski wrote:
>
> > Hi,
> >
> > Here's a small piece of code that periodically collapses all o
On Apr 24, 2006, at 14:15, Piotr Zielinski wrote:
Hi,
Here's a small piece of code that periodically collapses all org nodes
(trees) which are far away (structurally) from the current cursor
position. The purpose is to automatically collapse nodes which you
are no longer working on, thereby p
On Monday 24 April 2006 14:15, Piotr Zielinski wrote:
> Hi,
>
> Here's a small piece of code that periodically collapses all org nodes
> (trees) which are far away (structurally) from the current cursor
> position. The purpose is to automatically collapse nodes which you
> are no longer working on
Hi,
Here's a small piece of code that periodically collapses all org nodes
(trees) which are far away (structurally) from the current cursor
position. The purpose is to automatically collapse nodes which you
are no longer working on, thereby preventing uncontrolled growth of
the visible size of y