From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Subject: VISIBILITY:folded hides all empty lines after heading if org-cycle-separator-lines is set to negative Date: Tue, 11 May 2010 19:27:12 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=53045 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBv71-0005ir-3I for emacs-orgmode@gnu.org; Tue, 11 May 2010 15:27:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBv6z-0008LV-Qg for emacs-orgmode@gnu.org; Tue, 11 May 2010 15:27:27 -0400 Received: from lo.gmane.org ([80.91.229.12]:58196) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBv6z-0008LF-Kf for emacs-orgmode@gnu.org; Tue, 11 May 2010 15:27:25 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OBv6v-0000i6-TG for emacs-orgmode@gnu.org; Tue, 11 May 2010 21:27:22 +0200 Received: from 94-21-223-66.pool.digikabel.hu ([94.21.223.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 May 2010 21:27:21 +0200 Received: from levelhalom by 94-21-223-66.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 May 2010 21:27:21 +0200 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: emacs-orgmode@gnu.org 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