emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Cameron Horsburgh <cammo@netcall.com.au>
Cc: emacs-orgmode@gnu.org
Subject: Re: Empty lines between headers
Date: Fri, 30 Jan 2009 07:46:21 +0100	[thread overview]
Message-ID: <6789F41D-0A26-4E01-8DE4-CB4035457279@uva.nl> (raw)
In-Reply-To: <20090130005719.GD3781@earth>

Hi Cameron,

a relatively recent change is causing this new behavior.

The default is now to automatically insert an empty line
if the current headline does also have an empty line before it.

So If you have an empty line before "header 1", then you
will get an empty line before "header 2".  However, if you
then go back and remove the empty line before "header 2"
and afterwards insert a "header 3", no empty line will be
inserted.
The same is true for plain list items.

It seems to me that this is the best behavior, but if
you always prefer no empty line, customize the variable
`org-blank-before-new-entry'.

HTH

- Carsten

On Jan 30, 2009, at 1:57 AM, Cameron Horsburgh wrote:

> Hi folks,
>
> In the last few days hitting M-<enter> on a headline has inserted an
> empty line between the headline and the new line I'm trying to
> create. I end up with:
>
> ,----
> |
> | * header 1
> |
> | * header 2
> |
> `----
>
>
> instead of
>
> ,----
> |
> | * header 1
> | * header 2
> |
> `----
>
> I'm guessing I've mucked something up, but I'm not sure what. Ideas?
>
> -- 
>
> Cameron Horsburgh
>
> Blog: http://spiritcry.wordpress.com/
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-01-30  7:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-30  0:57 Empty lines between headers Cameron Horsburgh
2009-01-30  6:46 ` Carsten Dominik [this message]
2009-01-30  8:06   ` Cameron Horsburgh
2009-01-30  7:45 ` Jörg Hagmann
2009-01-30 16:32   ` Matthew Lundin

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=6789F41D-0A26-4E01-8DE4-CB4035457279@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=cammo@netcall.com.au \
    --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).