emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: "Jörg Hagmann" <joerg.hagmann@unibas.ch>
Cc: emacs-orgmode@gnu.org
Subject: Re: Empty lines between headers
Date: Fri, 30 Jan 2009 10:32:48 -0600	[thread overview]
Message-ID: <871vukrbyn.fsf@fastmail.fm> (raw)
In-Reply-To: <4982B031.1080509@unibas.ch> ("Jörg Hagmann"'s message of "Fri\, 30 Jan 2009 08\:45\:53 +0100")


Hi Jörg,

Jörg Hagmann <joerg.hagmann@unibas.ch> writes:

> This also happens with lists:
>
> 1. item
>
> 2. item
>
> but not if you have
> 1. item
> 2. item
> and then add a third item with M-<enter>
>
> I suppose that's intended? If yes, I don't think it's convenient.

If you don't like this behavior, you can turn it off by adding the
following to your .emacs file:

(setq org-blank-before-new-entry '((heading) (plain-list-item)))

Best,

Matt

>
> Cheers, Jörg
>
> 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?
>>
>>   
>
> -- 
> Prof. Jörg Hagmann-Zanolari MD
> University of Basel
> Department of Biomedicine
> Institute of Biochemistry and Genetics
> Mattenstrasse 28
> CH-4058 Basel
> Switzerland
> Phone +41 (0)61 267 3565
>
>
>
> _______________________________________________
> 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 16:32 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
2009-01-30  8:06   ` Cameron Horsburgh
2009-01-30  7:45 ` Jörg Hagmann
2009-01-30 16:32   ` Matthew Lundin [this message]

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=871vukrbyn.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=joerg.hagmann@unibas.ch \
    /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).