emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to hide a specific subtree during startup?
@ 2017-07-27  0:37 Shiyao Ma
  2017-07-27  0:58 ` Kaushal Modi
  0 siblings, 1 reply; 3+ messages in thread
From: Shiyao Ma @ 2017-07-27  0:37 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

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


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.




Best,

Shiyao

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to hide a specific subtree during startup?
  2017-07-27  0:37 How to hide a specific subtree during startup? Shiyao Ma
@ 2017-07-27  0:58 ` Kaushal Modi
  2017-07-27  1:49   ` Shiyao MA
  0 siblings, 1 reply; 3+ messages in thread
From: Kaushal Modi @ 2017-07-27  0:58 UTC (permalink / raw)
  To: Shiyao Ma, emacs-org list

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to hide a specific subtree during startup?
  2017-07-27  0:58 ` Kaushal Modi
@ 2017-07-27  1:49   ` Shiyao MA
  0 siblings, 0 replies; 3+ messages in thread
From: Shiyao MA @ 2017-07-27  1:49 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: emacs-org list

Thanks.

This solves my problem.



> On 27 Jul 2017, at 08:58, Kaushal Modi <kaushal.modi@gmail.com> wrote:
> 
> 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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-27  1:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-27  0:37 How to hide a specific subtree during startup? Shiyao Ma
2017-07-27  0:58 ` Kaushal Modi
2017-07-27  1:49   ` Shiyao MA

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).