From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: #+STARTUP: overview and org-startup-folded have no effect [7.9.3e (7.9.3e-1032-g791a8d @ /home/horn/Repos/el/org-mode/lisp/)] Date: Wed, 06 Mar 2013 10:26:48 +0100 Message-ID: <878v60515z.fsf@bzg.ath.cx> References: <87mwv7i7on.fsf@thinkpad.tsdh.de> <86ehgjcl98.fsf@somewhere.org> <87ehgji6y8.fsf@thinkpad.tsdh.de> <87liarfczt.fsf@bzg.ath.cx> <87zjz7gqh4.fsf@thinkpad.tsdh.de> <87vc9vdwx7.fsf@bzg.ath.cx> <87ehgjgmiv.fsf@thinkpad.tsdh.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDAcf-0006zJ-TO for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 04:26:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDAce-0001eZ-Lc for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 04:26:53 -0500 In-Reply-To: <87ehgjgmiv.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Thu, 14 Feb 2013 12:31:04 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tassilo Horn Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi Tassilo, Tassilo Horn writes: > Bastien writes: > >>> I have seven agenda files, all not too big (~10K on average), and I >>> use an averagely performant computer (5 years old dual core laptop). >>> For me, the difference between `org-agenda-inhibit-startup' set to t >>> or nil is not noticable at all. In both cases, it's less than a >>> second, and that's a time I can easily live with. >> >> It really depends on what your agenda views are. >> >> The real test is this: create a 50K file with folded one headline and >> many second level TODO entries. > > 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. I don't think it varies depending on the Emacs 23 vs 24 version, but I believe we are using the same. PS: I will revert `org-agenda-inhibit-startup' to nil as a default and will explain why in another mail. --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=test.el Content-Transfer-Encoding: 8bit (add-to-list 'load-path "~/install/git/org-mode/lisp/") (add-to-list 'load-path "~/install/git/org-mode/contrib/lisp/") (org-reload t) (setq org-agenda-files '("~/test.org")) (setq org-test-noinhibit (cons (org-version nil t) (benchmark-run 1 (let (org-agenda-inhibit-startup) (org-todo-list))))) (ignore-errors (kill-buffer (find-buffer-visiting "/home/guerry/test.org"))) (setq org-test-inhibit (cons (org-version nil t) (benchmark-run 1 (let ((org-agenda-inhibit-startup t)) (org-todo-list))))) --=-=-= Content-Type: text/plain -- Bastien --=-=-=--