From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: How to preverse fold status after reopening a file Date: Tue, 26 May 2009 23:17:59 -0500 Message-ID: <87zlcz6ux4.fsf@fastmail.fm> References: <20090527021947.GA25775@sylecn> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9AZj-0001JW-LG for emacs-orgmode@gnu.org; Wed, 27 May 2009 00:17:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9AZe-0001D0-5X for emacs-orgmode@gnu.org; Wed, 27 May 2009 00:17:10 -0400 Received: from [199.232.76.173] (port=38586 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9AZe-0001Cp-3E for emacs-orgmode@gnu.org; Wed, 27 May 2009 00:17:06 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:54571) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M9AZc-0001xu-Lg for emacs-orgmode@gnu.org; Wed, 27 May 2009 00:17:04 -0400 In-Reply-To: <20090527021947.GA25775@sylecn> (Yuanle Song's message of "Tue, 26 May 2009 21:19:47 -0500") 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 mailing list , sylecn@gmail.com Hi Yuanle, Yuanle Song writes: > org-mode can show a file in following mode when opening a file: > > overview top-level headlines only > content all headlines > showall no folding at all, show everything > > But they don't feed my need. I want to have the file exactly the same > as last time I open it, i.e. if a headline is fold when closing it > will be fold after reopening. My guess is that this would require a lot of overhead to implement in a plain text system like org.=20 > If that's not possible. Is there any properties that I can apply to > one headline, that will keep the headline fold (or unfold) unless the > user press TAB on them? I believe the following passage from the manual (2.3) will be of interest: ,---- | Furthermore, any entries with a =E2=80=98VISIBILITY=E2=80=99 property (se= e Properties | and Columns) will get their visibility adapted accordingly. Allowed | values for this property are folded, children, content, and all. `---- http://orgmode.org/manual/Visibility-cycling.html#Visibility-cycling Regards, Matt