Hi Bastien,

>> Ok, the testfile looks like
>>
>> * The folded top-level headline
>>
>> ** TODO Some test todo headline 0
>>
>>    - also some contents
>>
>> ** TODO Some test todo headline 1
>>
>>    - also some contents
>>
>> and has 2000 such subheadlines.  File size is 127K.
>> `org-startup-folded' is t.
>
> That's not a very good test file, because you just need to unfold the
> main headline to get all headlines visible.
>
> I tested with a test.org file using this structure:
>
> * Test
> ** TODO Test
> *** Test
>
> repeated 10k times.  Then run emacs -Q -l ~/test.el with the
> attached test.el file, I get sensible results here.

Indeed, with this test file, `org-agenda-inhibit-startup' does have a
major performance implication.

> PS: I will revert `org-agenda-inhibit-startup' to nil as a default
> and will explain why in another mail.

I'm keen to hear the explanation.

Bye,
Tassilo

Reply via email to