From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: VISIBILITY:folded hides all empty lines after heading if org-cycle-separator-lines is set to negative Date: Wed, 12 May 2010 15:57:19 +0200 Message-ID: <047BDF9D-5BE0-44FE-A3CC-148F14B15D8B@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=56928 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCCUH-0000Yh-TN for emacs-orgmode@gnu.org; Wed, 12 May 2010 10:00:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCCUF-0003fk-UC for emacs-orgmode@gnu.org; Wed, 12 May 2010 10:00:37 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:51789) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCCUB-0003cl-9W for emacs-orgmode@gnu.org; Wed, 12 May 2010 10:00:35 -0400 Received: by mail-ew0-f216.google.com with SMTP id 8so20697ewy.8 for ; Wed, 12 May 2010 07:00:30 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tom Cc: emacs-orgmode@gnu.org 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