From mboxrd@z Thu Jan 1 00:00:00 1970 From: User Subject: Re: Showing hidden subtree automatically if point is hidden when the buffer is opened Date: Tue, 28 Jul 2009 18:46:58 +0000 (UTC) Message-ID: References: <878wi9agq8.fsf@bzg.ath.cx> <87y6q93tay.fsf@bzg.ath.cx> <87ab2ou09h.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVrhi-0007xq-DG for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 14:47:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVrhe-0007nA-RH for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 14:47:14 -0400 Received: from [199.232.76.173] (port=41734 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVrhe-0007mx-Mm for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 14:47:10 -0400 Received: from main.gmane.org ([80.91.229.2]:40867 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MVrhd-0005Kp-Eg for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 14:47:10 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MVrha-0006Uu-OS for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 18:47:06 +0000 Received: from dsl51B6735B.pool.t-online.hu ([81.182.115.91]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jul 2009 18:47:06 +0000 Received: from spamfilteraccount by dsl51B6735B.pool.t-online.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jul 2009 18:47:06 +0000 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 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? You didn't have to worry about making sure you put org-mode hook last and that it loads after saveplace hook. 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. :)