Re: [Emacs-orgmode] Autocollapse of outline nodes

2006-05-11 Thread Carsten Dominik
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

Re: [Emacs-orgmode] Autocollapse of outline nodes

2006-05-11 Thread Piotr Zielinski
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-

Re: [Emacs-orgmode] Autocollapse of outline nodes

2006-04-26 Thread Piotr Zielinski
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

Re: [Emacs-orgmode] Autocollapse of outline nodes

2006-04-26 Thread Carsten Dominik
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

Re: [Emacs-orgmode] Autocollapse of outline nodes

2006-04-24 Thread Xavier Maillard
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

[Emacs-orgmode] Autocollapse of outline nodes

2006-04-24 Thread Piotr Zielinski
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