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 16:24:44 +0200 Message-ID: <073BFFBA-4F2C-4697-A186-F67BB8C95766@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=59726 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCCrn-0002Ri-Dt for emacs-orgmode@gnu.org; Wed, 12 May 2010 10:24:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCCri-0007u9-74 for emacs-orgmode@gnu.org; Wed, 12 May 2010 10:24:55 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:52526) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCCrh-0007tg-NS for emacs-orgmode@gnu.org; Wed, 12 May 2010 10:24:50 -0400 Received: by ewy8 with SMTP id 8so45535ewy.8 for ; Wed, 12 May 2010 07:24:48 -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 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