emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kjell <knoll@uber.space>
To: emacs-orgmode@gnu.org
Subject: Folding whitespace at the end of a tree
Date: Wed, 29 Jan 2020 15:44:07 +0100	[thread overview]
Message-ID: <4f9783af-6f1a-b3ad-bd37-78e33e6d708c@uber.space> (raw)

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

             reply	other threads:[~2020-01-29 14:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-29 14:44 Kjell [this message]
2020-02-03 18:50 ` Folding whitespace at the end of a tree Bastien
2020-02-05 19:11   ` knoll
2020-02-12 17:40     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4f9783af-6f1a-b3ad-bd37-78e33e6d708c@uber.space \
    --to=knoll@uber.space \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).