emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Tag/Property that keeps headline folded during global visibility cycling?
@ 2013-09-18 11:35 Thorsten Jolitz
  2013-09-18 12:39 ` Nick Dokos
  0 siblings, 1 reply; 5+ messages in thread
From: Thorsten Jolitz @ 2013-09-18 11:35 UTC (permalink / raw)
  To: emacs-orgmode


Hi List, 

assume an Org file like 

,-----------
| * Topic 1
| ** Comment
| ** Content
| * Topic 2
| ** Comment
| ** Content
`-----------

where I want the 

,-----------
| ** Comment
`-----------

subtrees folded all the time (during global visibility cycling, not only
at start-up), except when I explicitly cycle their visibility locally,
i.e. I would like a 'property-drawer' like visibility behaviour for
these subtrees.

Is that implemented in Org-mode, or does somebody has a private
implementation of this (maybe via tags or headline properties)?

Wouldn't this be a nice feature for Org-mode?

--
cheers,
Thorsten

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

* Re: Tag/Property that keeps headline folded during global visibility cycling?
  2013-09-18 11:35 Tag/Property that keeps headline folded during global visibility cycling? Thorsten Jolitz
@ 2013-09-18 12:39 ` Nick Dokos
  2013-09-18 13:56   ` Thorsten Jolitz
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Dokos @ 2013-09-18 12:39 UTC (permalink / raw)
  To: emacs-orgmode

Thorsten Jolitz <tjolitz@gmail.com> writes:

> Hi List, 
>
> assume an Org file like 
>
> ,-----------
> | * Topic 1
> | ** Comment
> | ** Content
> | * Topic 2
> | ** Comment
> | ** Content
> `-----------
>
> where I want the 
>
> ,-----------
> | ** Comment
> `-----------
>
> subtrees folded all the time (during global visibility cycling, not only
> at start-up), except when I explicitly cycle their visibility locally,
> i.e. I would like a 'property-drawer' like visibility behaviour for
> these subtrees.
>
> Is that implemented in Org-mode, or does somebody has a private
> implementation of this (maybe via tags or headline properties)?
>
> Wouldn't this be a nice feature for Org-mode?
>

Isn't that what drawers are for?

--8<---------------cut here---------------start------------->8---
#+DRAWERS: comment

* foo
  :comment:
  This is a comment
  :END:
** This is a subsection
* bar
  :comment:
  This is another comment
  :END:
** This is another subsection
--8<---------------cut here---------------end--------------->8---


-- 
Nick

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

* Re: Tag/Property that keeps headline folded during global visibility cycling?
  2013-09-18 12:39 ` Nick Dokos
@ 2013-09-18 13:56   ` Thorsten Jolitz
  2013-09-18 14:14     ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Thorsten Jolitz @ 2013-09-18 13:56 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <ndokos@gmail.com> writes:

> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> Hi List, 
>>
>> assume an Org file like 
>>
>> ,-----------
>> | * Topic 1
>> | ** Comment
>> | ** Content
>> | * Topic 2
>> | ** Comment
>> | ** Content
>> `-----------
>>
>> where I want the 
>>
>> ,-----------
>> | ** Comment
>> `-----------
>>
>> subtrees folded all the time (during global visibility cycling, not only
>> at start-up), except when I explicitly cycle their visibility locally,
>> i.e. I would like a 'property-drawer' like visibility behaviour for
>> these subtrees.
>>
>> Is that implemented in Org-mode, or does somebody has a private
>> implementation of this (maybe via tags or headline properties)?
>>
>> Wouldn't this be a nice feature for Org-mode?
>>
>
> Isn't that what drawers are for?
>
> #+DRAWERS: comment
>
> * foo
>   :comment:
>   This is a comment
>   :END:
> ** This is a subsection
> * bar
>   :comment:
>   This is another comment
>   :END:
> ** This is another subsection

Yes, in principle I'm looking for drawer-style visibility behaviour. In
some aspects it would be more convenient though to have this behaviour
for certain marked subtrees - for an overview, navigation, tagging,
exporting ... a headline offers more than a drawer.

-- 
cheers,
Thorsten

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

* Re: Tag/Property that keeps headline folded during global visibility cycling?
  2013-09-18 13:56   ` Thorsten Jolitz
@ 2013-09-18 14:14     ` Carsten Dominik
  2013-09-18 14:28       ` Thorsten Jolitz
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2013-09-18 14:14 UTC (permalink / raw)
  To: Thorsten Jolitz; +Cc: emacs-orgmode

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


On 18.9.2013, at 15:56, Thorsten Jolitz <tjolitz@gmail.com> wrote:

> Nick Dokos <ndokos@gmail.com> writes:
> 
>> Thorsten Jolitz <tjolitz@gmail.com> writes:
>> 
>>> Hi List, 
>>> 
>>> assume an Org file like 
>>> 
>>> ,-----------
>>> | * Topic 1
>>> | ** Comment
>>> | ** Content
>>> | * Topic 2
>>> | ** Comment
>>> | ** Content
>>> `-----------
>>> 
>>> where I want the 
>>> 
>>> ,-----------
>>> | ** Comment
>>> `-----------
>>> 
>>> subtrees folded all the time (during global visibility cycling, not only
>>> at start-up), except when I explicitly cycle their visibility locally,
>>> i.e. I would like a 'property-drawer' like visibility behaviour for
>>> these subtrees.
>>> 
>>> Is that implemented in Org-mode, or does somebody has a private
>>> implementation of this (maybe via tags or headline properties)?
>>> 
>>> Wouldn't this be a nice feature for Org-mode?
>>> 
>> 
>> Isn't that what drawers are for?
>> 
>> #+DRAWERS: comment
>> 
>> * foo
>>  :comment:
>>  This is a comment
>>  :END:
>> ** This is a subsection
>> * bar
>>  :comment:
>>  This is another comment
>>  :END:
>> ** This is another subsection
> 
> Yes, in principle I'm looking for drawer-style visibility behaviour. In
> some aspects it would be more convenient though to have this behaviour
> for certain marked subtrees - for an overview, navigation, tagging,
> exporting ... a headline offers more than a drawer.

You can also "misuse" the ARCHIVE tag for this purpose.

- Carsten

> 
> -- 
> cheers,
> Thorsten
> 
> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

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

* Re: Tag/Property that keeps headline folded during global visibility cycling?
  2013-09-18 14:14     ` Carsten Dominik
@ 2013-09-18 14:28       ` Thorsten Jolitz
  0 siblings, 0 replies; 5+ messages in thread
From: Thorsten Jolitz @ 2013-09-18 14:28 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <carsten.dominik@gmail.com> writes:

>> Yes, in principle I'm looking for drawer-style visibility behaviour. In
>> some aspects it would be more convenient though to have this behaviour
>> for certain marked subtrees - for an overview, navigation, tagging,
>> exporting ... a headline offers more than a drawer.
>
> You can also "misuse" the ARCHIVE tag for this purpose.

Ok, nice. 
I don't mind if its a trick as long as it does what I want.

Thanks.

-- 
cheers,
Thorsten

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

end of thread, other threads:[~2013-09-18 14:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-18 11:35 Tag/Property that keeps headline folded during global visibility cycling? Thorsten Jolitz
2013-09-18 12:39 ` Nick Dokos
2013-09-18 13:56   ` Thorsten Jolitz
2013-09-18 14:14     ` Carsten Dominik
2013-09-18 14:28       ` Thorsten Jolitz

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