emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Annoying empty line after M-RET / C-RET


From: Volker Grabsch
Subject: [O] Annoying empty line after M-RET / C-RET
Date: Thu, 6 Dec 2012 16:21:09 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Dear Org-Mode Gurus,

I noticed some strange behaviour in Org Mode. I'm not sure
if this happens for a good reason, or is simply a bug.
Either way, it's pretty annoying.

Normally, C-RET inserts a new empty headline directly after
the previous one, i.e.

--------------------------------
Stuff
* Head 1_
--------------------------------

[C-RET]

--------------------------------
Stuff
* Head 1
* _
--------------------------------

(where underscore "_" denotes the cursor)

However, if the headline is preceded by an empty line,
for whathever reason, the C-RET and M-RET commands
add an extra newline:

--------------------------------
Stuff

* Head 1_
--------------------------------

[C-RET]

--------------------------------
Stuff

* Head 1

* _
--------------------------------

This is especially annoying when quickly typing notes
into a small set of headers.

A similar behaviour occurs at deeper levels as well.
Also, this happens if there's a previous entry that
ends with an empty line (i.e. it doesn't have to happen
at the first headline entry).

Is this a bug? Does it happen for a good reason (if so,
what's the use case)? Can this be turned off?


Thanks,
Volker

-- 
Volker Grabsch
---<<(())>>---



reply via email to

[Prev in Thread] Current Thread [Next in Thread]