Re: [O] Annoying empty line after M-RET / C-RET
Eric Abrahamsen schrieb: > I think by default it tries to guess what you want by looking at what's > already there: ie it interprets the previous blank line above your > current heading to mean that you like having blank lines between all > your headings. Ah, okay. That makes sense to me. So I'll either have to be consistent with empty lines (using or not using them), or I'll have to adjust org-blank-before-new-entry. Also, I just noticed that this is explained in the FAQ: http://orgmode.org/worg/org-faq.html#blank-line-after-headlines-and-list-items Sorry for not having looked there before asking. Regards, Volker -- Volker Grabsch ---<<(())>>---
Re: [O] Annoying empty line after M-RET / C-RET
Volker Grabsch writes: > 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. Check the docstring and value of org-blank-before-new-entry. I think by default it tries to guess what you want by looking at what's already there: ie it interprets the previous blank line above your current heading to mean that you like having blank lines between all your headings.
[O] Annoying empty line after M-RET / C-RET
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 ---<<(())>>---