emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: emacs-orgmode mailing list <emacs-orgmode@gnu.org>, sylecn@gmail.com
Subject: Re: How to preverse fold status after reopening a file
Date: Tue, 26 May 2009 23:17:59 -0500	[thread overview]
Message-ID: <87zlcz6ux4.fsf@fastmail.fm> (raw)
In-Reply-To: <20090527021947.GA25775@sylecn> (Yuanle Song's message of "Tue, 26 May 2009 21:19:47 -0500")

Hi Yuanle,

Yuanle Song <sylecn@gmail.com> 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

  parent reply	other threads:[~2009-05-27  4:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-27  2:19 How to preverse fold status after reopening a file Yuanle Song
2009-05-27  4:05 ` Carsten Dominik
2009-05-27  4:17 ` Matthew Lundin [this message]
2009-05-27  8:39   ` Yuanle Song

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zlcz6ux4.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=sylecn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).