emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] How to preverse fold status after reopening a file


From: Matthew Lundin
Subject: Re: [Orgmode] How to preverse fold status after reopening a file
Date: Tue, 26 May 2009 23:17:59 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux)

Hi Yuanle,

Yuanle Song <address@hidden> 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. 

> 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 ‘VISIBILITY’ property (see 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]