emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* top headline's visibility property blocked by subheadline's property
@ 2018-01-01  9:24 Michael Maurer
  2018-01-01 18:52 ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Maurer @ 2018-01-01  9:24 UTC (permalink / raw)
  To: emacs-orgmode

hello,

I'm not sure if this is a feature, or I'm missing something, but if I
set up an outline like this:

* 2017
:PROPERTIES:
:VISIBILITY: folded
:END:
** december
:PROPERTIES:
:VISIBILITY: folded
:END:
*** 31
*** 30
** november
:PROPERTIES:
:VISIBILITY: folded
:END:

....

the headlines underneath 2016 don't get folded. If I manually delete
the visibility property of the months, it gets folded. Reason for this
setup is that after each done year, I'd like to hide all its children
without manually going through each month and deleting the property.

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

* Re: top headline's visibility property blocked by subheadline's property
  2018-01-01  9:24 top headline's visibility property blocked by subheadline's property Michael Maurer
@ 2018-01-01 18:52 ` Nicolas Goaziou
  2018-01-02  8:48   ` Michael Maurer
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2018-01-01 18:52 UTC (permalink / raw)
  To: Michael Maurer; +Cc: emacs-orgmode

Hello,

Michael Maurer <maurer.michael@gmail.com> writes:

> I'm not sure if this is a feature, or I'm missing something, but if I
> set up an outline like this:
>
> * 2017
> :PROPERTIES:
> :VISIBILITY: folded
> :END:
> ** december
> :PROPERTIES:
> :VISIBILITY: folded
> :END:
> *** 31
> *** 30
> ** november
> :PROPERTIES:
> :VISIBILITY: folded
> :END:
>
> ....
>
> the headlines underneath 2016 don't get folded.

I'm not sure to understand. Where is headline "2016"? What do you get
upon opening the document (or pressing C-u C-u <TAB>)? What did you
expect instead?

Regards,

-- 
Nicolas Goaziou

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

* Re: top headline's visibility property blocked by subheadline's property
  2018-01-01 18:52 ` Nicolas Goaziou
@ 2018-01-02  8:48   ` Michael Maurer
  2018-01-02 13:56     ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Maurer @ 2018-01-02  8:48 UTC (permalink / raw)
  To: emacs-orgmode

On Mon, Jan 1, 2018 at 7:52 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Hello,
>
> Michael Maurer <maurer.michael@gmail.com> writes:
>
>> I'm not sure if this is a feature, or I'm missing something, but if I
>> set up an outline like this:
>>
>> * 2017
>> :PROPERTIES:
>> :VISIBILITY: folded
>> :END:
>> ** december
>> :PROPERTIES:
>> :VISIBILITY: folded
>> :END:
>> *** 31
>> *** 30
>> ** november
>> :PROPERTIES:
>> :VISIBILITY: folded
>> :END:
>>
>> ....
>>
>> the headlines underneath 2016 don't get folded.
>
> I'm not sure to understand. Where is headline "2016"? What do you get
> upon opening the document (or pressing C-u C-u <TAB>)? What did you
> expect instead?
>
> Regards,
>
> --
> Nicolas Goaziou

2016 was a typo, I meant 2017.

Basically what I expect is to see 2017 folded, with none of its
children visible (because I added the visibility/folded property).
Instead I see all the children, apparently because they themselves
have a visibility/folded property. When I delete the children's
visibility/folded property, the 2017 visibility/folded property gets
respected and they are all folded.

What I want to see

* 2017
* 2016

What I get

* 2017
** January
** February
....
* 2016
** January
** February
....

Doing a #STARTUP: overview isn't really an option, since I want to see
the content unless I specifiy otherwise.

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

* Re: top headline's visibility property blocked by subheadline's property
  2018-01-02  8:48   ` Michael Maurer
@ 2018-01-02 13:56     ` Nicolas Goaziou
  2018-01-08 16:36       ` Michael Maurer
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2018-01-02 13:56 UTC (permalink / raw)
  To: Michael Maurer; +Cc: emacs-orgmode

Hello,

Michael Maurer <maurer.michael@gmail.com> writes:

> Basically what I expect is to see 2017 folded, with none of its
> children visible (because I added the visibility/folded property).
> Instead I see all the children, apparently because they themselves
> have a visibility/folded property. When I delete the children's
> visibility/folded property, the 2017 visibility/folded property gets
> respected and they are all folded.
>
> What I want to see
>
> * 2017
> * 2016
>
> What I get
>
> * 2017
> ** January
> ** February
> ....
> * 2016
> ** January
> ** February
> ....

I see. Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

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

* Re: top headline's visibility property blocked by subheadline's property
  2018-01-02 13:56     ` Nicolas Goaziou
@ 2018-01-08 16:36       ` Michael Maurer
  2018-01-08 16:56         ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Maurer @ 2018-01-08 16:36 UTC (permalink / raw)
  To: emacs-orgmode

On Tue, Jan 2, 2018 at 2:56 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Hello,
>
> Michael Maurer <maurer.michael@gmail.com> writes:
>
>> Basically what I expect is to see 2017 folded, with none of its
>> children visible (because I added the visibility/folded property).
>> Instead I see all the children, apparently because they themselves
>> have a visibility/folded property. When I delete the children's
>> visibility/folded property, the 2017 visibility/folded property gets
>> respected and they are all folded.
>>
>> What I want to see
>>
>> * 2017
>> * 2016
>>
>> What I get
>>
>> * 2017
>> ** January
>> ** February
>> ....
>> * 2016
>> ** January
>> ** February
>> ....
>
> I see. Fixed. Thank you.
>
> Regards,
>
> --
> Nicolas Goaziou

I installed the latest version of org, but now all my
visibility/folded properties get ignored

so with 8.2.10 I get

* 2017
** January
** February
 ....
 * 2016
 ** January
 ** February

but with the latest I get

* 2017
** January
***1
***2
***3
...
** February
***1
***2
***3
 ....
 * 2016
 ** January
***1
***2
***3
....
 ** February
***1
***2
***3
....


Maybe something fundamentally changed how properties get parsed, I don't know.

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

* Re: top headline's visibility property blocked by subheadline's property
  2018-01-08 16:36       ` Michael Maurer
@ 2018-01-08 16:56         ` Nicolas Goaziou
  2018-01-08 17:02           ` Michael Maurer
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2018-01-08 16:56 UTC (permalink / raw)
  To: Michael Maurer; +Cc: emacs-orgmode

Hello,

Michael Maurer <maurer.michael@gmail.com> writes:

> I installed the latest version of org, but now all my
> visibility/folded properties get ignored

What version?

> so with 8.2.10 I get
>
> * 2017
> ** January
> ** February
>  ....
>  * 2016
>  ** January
>  ** February
>
> but with the latest I get
>
> * 2017
> ** January
> ***1
> ***2
> ***3
> ...
> ** February
> ***1
> ***2
> ***3
>  ....
>  * 2016
>  ** January
> ***1
> ***2
> ***3
> ....
>  ** February
> ***1
> ***2
> ***3
> ....

With the following document

  * 2017
  :PROPERTIES:
  :VISIBILITY: folded
  :END:
  ** december
  :PROPERTIES:
  :VISIBILITY: folded
  :END:
  *** 31
  *** 30
  ** november
  :PROPERTIES:
  :VISIBILITY: folded
  :END:

using C-u C-u TAB displays

  * 2017...

Regards,

-- 
Nicolas Goaziou

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

* Re: top headline's visibility property blocked by subheadline's property
  2018-01-08 16:56         ` Nicolas Goaziou
@ 2018-01-08 17:02           ` Michael Maurer
  2018-01-08 17:22             ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Maurer @ 2018-01-08 17:02 UTC (permalink / raw)
  To: emacs-orgmode

On Mon, Jan 8, 2018 at 5:56 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Hello,
>
> Michael Maurer <maurer.michael@gmail.com> writes:
>
>> I installed the latest version of org, but now all my
>> visibility/folded properties get ignored
>
> What version?

org-plus-contrib-20180108

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

* Re: top headline's visibility property blocked by subheadline's property
  2018-01-08 17:02           ` Michael Maurer
@ 2018-01-08 17:22             ` Nicolas Goaziou
  2018-01-09 12:24               ` Michael Maurer
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2018-01-08 17:22 UTC (permalink / raw)
  To: Michael Maurer; +Cc: emacs-orgmode

Michael Maurer <maurer.michael@gmail.com> writes:

> On Mon, Jan 8, 2018 at 5:56 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>> Hello,
>>
>> Michael Maurer <maurer.michael@gmail.com> writes:
>>
>>> I installed the latest version of org, but now all my
>>> visibility/folded properties get ignored
>>
>> What version?
>
> org-plus-contrib-20180108

It should be fine.

And you don't obtain the same view with the given example?

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

* Re: top headline's visibility property blocked by subheadline's property
  2018-01-08 17:22             ` Nicolas Goaziou
@ 2018-01-09 12:24               ` Michael Maurer
  2018-01-09 12:38                 ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Maurer @ 2018-01-09 12:24 UTC (permalink / raw)
  To: emacs-orgmode

On Mon, Jan 8, 2018 at 6:22 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Michael Maurer <maurer.michael@gmail.com> writes:
>
>> On Mon, Jan 8, 2018 at 5:56 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>>> Hello,
>>>
>>> Michael Maurer <maurer.michael@gmail.com> writes:
>>>
>>>> I installed the latest version of org, but now all my
>>>> visibility/folded properties get ignored
>>>
>>> What version?
>>
>> org-plus-contrib-20180108
>
> It should be fine.
>
> And you don't obtain the same view with the given example?

Nope. And I think I figured it out. When I remove

     CLOSED: [2017-12-31 So 00:17]
- CLOSING NOTE [2017-12-31 So 00:17]

and the :PROPERTIES: specification is the only thing underneath the
headline, it works.

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

* Re: top headline's visibility property blocked by subheadline's property
  2018-01-09 12:24               ` Michael Maurer
@ 2018-01-09 12:38                 ` Nicolas Goaziou
  0 siblings, 0 replies; 10+ messages in thread
From: Nicolas Goaziou @ 2018-01-09 12:38 UTC (permalink / raw)
  To: Michael Maurer; +Cc: emacs-orgmode

Hello,

Michael Maurer <maurer.michael@gmail.com> writes:

> Nope. And I think I figured it out. When I remove
>
>      CLOSED: [2017-12-31 So 00:17]
> - CLOSING NOTE [2017-12-31 So 00:17]
>
> and the :PROPERTIES: specification is the only thing underneath the
> headline, it works.

Per Org syntax, the properties drawer should be the first thing below
the headline, barring any planning info line (scheduled, deadline,
closed).

In ORG-NEWS, there's a function to fix your documents.

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2018-01-09 12:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-01  9:24 top headline's visibility property blocked by subheadline's property Michael Maurer
2018-01-01 18:52 ` Nicolas Goaziou
2018-01-02  8:48   ` Michael Maurer
2018-01-02 13:56     ` Nicolas Goaziou
2018-01-08 16:36       ` Michael Maurer
2018-01-08 16:56         ` Nicolas Goaziou
2018-01-08 17:02           ` Michael Maurer
2018-01-08 17:22             ` Nicolas Goaziou
2018-01-09 12:24               ` Michael Maurer
2018-01-09 12:38                 ` Nicolas Goaziou

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