emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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

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