Re: [O] Agenda optimization: new option `org-agenda-inhibit-startup'

2013-01-30 Thread Carsten Dominik
Great, I am happy. - Carsten On 30 jan. 2013, at 11:21, Bastien wrote: > Hi Carsten, > > Carsten Dominik writes: > >> Maybe it would be useful to exempt initializing org-indent-mode from >> this. > > I double-checked and (setq org-startup-indented t) does not delay the > agenda generation, s

Re: [O] Agenda optimization: new option `org-agenda-inhibit-startup'

2013-01-30 Thread Bastien
Hi Carsten, Carsten Dominik writes: > Maybe it would be useful to exempt initializing org-indent-mode from > this. I double-checked and (setq org-startup-indented t) does not delay the agenda generation, so I implemented this: org-indent-mode is not inhibited anymore when `org-agenda-inhibit-st

Re: [O] Agenda optimization: new option `org-agenda-inhibit-startup'

2013-01-27 Thread Nicolas Goaziou
Hello, Bastien writes: >> Maybe it would be useful to exempt initializing org-indent-mode from this. >> I think (Nicolas?) that this will cost no time as long as the buffer is not >> visible, but it will help to make the buffer look "right" when the user >> gets to it. > > Mhh.. that's right. I

Re: [O] Agenda optimization: new option `org-agenda-inhibit-startup'

2013-01-27 Thread Bastien
Hi Carsten, Carsten Dominik writes: > Maybe it would be useful to exempt initializing org-indent-mode from this. > I think (Nicolas?) that this will cost no time as long as the buffer is not > visible, but it will help to make the buffer look "right" when the user > gets to it. Mhh.. that's rig

Re: [O] Agenda optimization: new option `org-agenda-inhibit-startup'

2013-01-27 Thread Bastien
Eric S Fraga writes: > Seems to work fine and it does seem to speed things up significantly > (although this is a non-quantitative assessment). Thanks for confirming! -- Bastien

Re: [O] Agenda optimization: new option `org-agenda-inhibit-startup'

2013-01-27 Thread Carsten Dominik
Hi Bastien, yes, this will lead to a speedup of the first agenda in an Emacs session. Once the buffers have been pulled in, this should not make a difference anymore. Maybe it would be useful to exempt initializing org-indent-mode from this. I think (Nicolas?) that this will cost no time as l

Re: [O] Agenda optimization: new option `org-agenda-inhibit-startup'

2013-01-26 Thread Eric S Fraga
Bastien writes: > Hi all, > > in the maint and master branch, there is `org-agenda-inhibit-startup', > a new option defaulting to t which prevent the agenda buffers to run > some startup initialization when called for generating an agenda -- > e.g. opening the buffer with a specific cycling state

[O] Agenda optimization: new option `org-agenda-inhibit-startup'

2013-01-26 Thread Bastien
Hi all, in the maint and master branch, there is `org-agenda-inhibit-startup', a new option defaulting to t which prevent the agenda buffers to run some startup initialization when called for generating an agenda -- e.g. opening the buffer with a specific cycling state is not honored. This will s