* VISIBILITY:folded hides all empty lines after heading if org-cycle-separator-lines is set to negative
@ 2010-05-11 19:27 Tom
2010-05-11 20:41 ` Tom
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Tom @ 2010-05-11 19:27 UTC (permalink / raw)
To: emacs-orgmode
Here is an org file:
---- file begin -----
* test1
:PROPERTIES:
:VISIBILITY: folded
:END:
** test2
* test3
---- file end -----
org-cycle-separator-lines is set to -2, so org should hide one empty
line after the heading when it's folded and leave the others there.
If I fold the test1 tree with TAB then it collapses only one empty
line after test2 and leaves the other empty lines, so this is correct.
If I add VISIBILITY:folded to the test1 tree then and reopen the file
all the empty lines are hidden after test2 regardless of how many there are.
If I then unfold and then fold the test1 tree manually with TAB it
works correctly.
So it looks like VISIBILTY:folded doesn't take the negative value of
org-cycle-separator-lines into account.
Org-mode version 6.33x
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: VISIBILITY:folded hides all empty lines after heading if org-cycle-separator-lines is set to negative
2010-05-11 19:27 VISIBILITY:folded hides all empty lines after heading if org-cycle-separator-lines is set to negative Tom
@ 2010-05-11 20:41 ` Tom
2010-05-12 13:57 ` Carsten Dominik
2010-05-12 14:24 ` Carsten Dominik
2 siblings, 0 replies; 4+ messages in thread
From: Tom @ 2010-05-11 20:41 UTC (permalink / raw)
To: emacs-orgmode
Tom <levelhalom <at> gmail.com> writes:
> Org-mode version 6.33x
>
I just realized it's not the latest version, because emacs 23.2 preloads
its own org for some reason, before I could set the load path and I
don't yet know how to prevent it and use the latest org.
But I have a feeling this bug is present in the latest version too.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: VISIBILITY:folded hides all empty lines after heading if org-cycle-separator-lines is set to negative
2010-05-11 19:27 VISIBILITY:folded hides all empty lines after heading if org-cycle-separator-lines is set to negative Tom
2010-05-11 20:41 ` Tom
@ 2010-05-12 13:57 ` Carsten Dominik
2010-05-12 14:24 ` Carsten Dominik
2 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2010-05-12 13:57 UTC (permalink / raw)
To: Tom; +Cc: emacs-orgmode
Hi Tom,
nice catch! This is fixed now.
Thank you!
- Carsten
On May 11, 2010, at 9:27 PM, Tom wrote:
> Here is an org file:
>
> ---- file begin -----
> * test1
> :PROPERTIES:
> :VISIBILITY: folded
> :END:
> ** test2
>
>
>
>
> * test3
>
> ---- file end -----
>
> org-cycle-separator-lines is set to -2, so org should hide one empty
> line after the heading when it's folded and leave the others there.
>
> If I fold the test1 tree with TAB then it collapses only one empty
> line after test2 and leaves the other empty lines, so this is correct.
>
> If I add VISIBILITY:folded to the test1 tree then and reopen the file
> all the empty lines are hidden after test2 regardless of how many
> there are.
> If I then unfold and then fold the test1 tree manually with TAB it
> works correctly.
>
> So it looks like VISIBILTY:folded doesn't take the negative value of
> org-cycle-separator-lines into account.
>
> Org-mode version 6.33x
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: VISIBILITY:folded hides all empty lines after heading if org-cycle-separator-lines is set to negative
2010-05-11 19:27 VISIBILITY:folded hides all empty lines after heading if org-cycle-separator-lines is set to negative Tom
2010-05-11 20:41 ` Tom
2010-05-12 13:57 ` Carsten Dominik
@ 2010-05-12 14:24 ` Carsten Dominik
2 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2010-05-12 14:24 UTC (permalink / raw)
To: Tom; +Cc: emacs-orgmode
This is now fixed, thanks.
- Carsten
On May 11, 2010, at 9:27 PM, Tom wrote:
> Here is an org file:
>
> ---- file begin -----
> * test1
> :PROPERTIES:
> :VISIBILITY: folded
> :END:
> ** test2
>
>
>
>
> * test3
>
> ---- file end -----
>
> org-cycle-separator-lines is set to -2, so org should hide one empty
> line after the heading when it's folded and leave the others there.
>
> If I fold the test1 tree with TAB then it collapses only one empty
> line after test2 and leaves the other empty lines, so this is correct.
>
> If I add VISIBILITY:folded to the test1 tree then and reopen the file
> all the empty lines are hidden after test2 regardless of how many
> there are.
> If I then unfold and then fold the test1 tree manually with TAB it
> works correctly.
>
> So it looks like VISIBILTY:folded doesn't take the negative value of
> org-cycle-separator-lines into account.
>
> Org-mode version 6.33x
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-12 14:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11 19:27 VISIBILITY:folded hides all empty lines after heading if org-cycle-separator-lines is set to negative Tom
2010-05-11 20:41 ` Tom
2010-05-12 13:57 ` Carsten Dominik
2010-05-12 14:24 ` Carsten Dominik
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).