From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Nick Dokos: Re: Re: Showing hidden subtree automatically if point is hidden when the buffer is opened Date: Tue, 28 Jul 2009 14:55:51 -0400 Message-ID: <8081.1248807351@alphaville.usa.hp.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVrrZ-0005bX-2h for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 14:57:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVrrX-0005aj-H0 for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 14:57:24 -0400 Received: from [199.232.76.173] (port=39122 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVrrX-0005aZ-BY for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 14:57:23 -0400 Received: from g1t0029.austin.hp.com ([15.216.28.36]:24825) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MVrrW-00076N-UV for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 14:57:23 -0400 Received: from smtp2.fc.hp.com (smtp2.fc.hp.com [15.11.136.114]) by g1t0029.austin.hp.com (Postfix) with ESMTP id 905733845E for ; Tue, 28 Jul 2009 18:55:50 +0000 (UTC) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org [forgot to copy the list - again...] ------- Forwarded Message Date: Tue, 28 Jul 2009 14:54:38 -0400 From: Nick Dokos To: User cc: nicholas.dokos@hp.com Subject: Re: [Orgmode] Re: Showing hidden subtree automatically if point is hid den when the buffer is opened User wrote: > Bastien googlemail.com> writes: > > > > If you load this *after* loading the saveplace hook then it should > > be okay. Thanks to Nick Dokos for shaking my brain on this :) > > > > Well, wasn't my original solution with the null timer much nicer? No. > You didn't have to worry about making sure you put org-mode hook > last and that it loads after saveplace hook. Yes, you can be a little lazy in setting it up and then pay the performance price for ever after. > > Now the user has to pay attention to where he sets > up the org-mode hook, instead of simply pasting the code > anywhere in .emacs. :-o I tend to favor solutions which avoid > such potential problems. :) > If they don't cost anything, yes. But I'm not sure I want an idle timer running all the time just to detect the (rare) occasions when I want to fold a tree. Thanks, Nick ------- End of Forwarded Message