emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Shiyao Ma <i@introo.me>, emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: How to hide a specific subtree during startup?
Date: Thu, 27 Jul 2017 00:58:43 +0000	[thread overview]
Message-ID: <CAFyQvY1YPRq7WoOH2jmDv126x_cmhYu4N4DKmOgeGBRSehjWYA@mail.gmail.com> (raw)
In-Reply-To: <30621E53-8D6E-4443-9B74-C83CE719E0C9@introo.me>

[-- Attachment #1: Type: text/plain, Size: 638 bytes --]

On Wed, Jul 26, 2017, 8:42 PM Shiyao Ma <i@introo.me> wrote:

> Hi,
>
> I'd like to hide a specific *subtree* (not the whole document) after
> initial open, how to achieve that?
>

Tag that subtree as ARCHIVE (note the all uppercase).

I'd anticipate there is some magic property drawer under that subtree
> headline.
>
> Better, if that subtree will avoid participating in the global visibility
> cycling. It will get expanded/collapsed only when the cursor is *on* that
> subtree and I press tab-s.
>

Archived subtrees will not expand on global cycling. They will also not
expand on TAB; you'll need C-TAB instead.

> --

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 1331 bytes --]

  reply	other threads:[~2017-07-27  0:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-27  0:37 How to hide a specific subtree during startup? Shiyao Ma
2017-07-27  0:58 ` Kaushal Modi [this message]
2017-07-27  1:49   ` Shiyao MA

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=CAFyQvY1YPRq7WoOH2jmDv126x_cmhYu4N4DKmOgeGBRSehjWYA@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=i@introo.me \
    /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).