From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kjell Subject: Folding whitespace at the end of a tree Date: Wed, 29 Jan 2020 15:44:07 +0100 Message-ID: <4f9783af-6f1a-b3ad-bd37-78e33e6d708c@uber.space> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57451) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwoZh-0003LN-Fy for emacs-orgmode@gnu.org; Wed, 29 Jan 2020 09:44:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwoZg-0006nY-GD for emacs-orgmode@gnu.org; Wed, 29 Jan 2020 09:44:13 -0500 Received: from kowal.uberspace.de ([185.26.156.168]:56054) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iwoZg-0006jW-68 for emacs-orgmode@gnu.org; Wed, 29 Jan 2020 09:44:12 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello, sometimes I'd like my trees to be displayed with a blank line at the end of a subtree to improve visability. So it should look like this when unfolded once: * Headline 1 ** Subheadline 1.1 ** Subheadline 1.2 * Headline 2 However with org-cycle-seperator-lines at its default value of 2 a single blank line gets folded into Subheadline 1.2: * Headline 1 ** Subheadline 1.1 ** Subheadline 1.2 * Headline 2 When I set the variable to 1 a single blank line is not folded into Subheadline 1.2 but leads to a blank line between Headline 1 and Headline 2 when folded: * Headline 1 * Headline 2 but it should look like this: * Headline 1 * Headline 2 Is there any way to achieve this behaviour or is it impossible for org to know where the blank line belongs? Thanks, -- Kjell