From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Annoying empty line after M-RET / C-RET Date: Fri, 07 Dec 2012 10:15:23 +0800 Message-ID: <87k3sud2v8.fsf@ericabrahamsen.net> References: <20121206152109.GA20297@vlap> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgnSp-0005G9-K5 for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 21:14:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgnSm-0003wJ-VP for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 21:14:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:57220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgnSm-0003vL-Oc for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 21:14:52 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TgnSx-0004Gn-NP for emacs-orgmode@gnu.org; Fri, 07 Dec 2012 03:15:03 +0100 Received: from 114.250.112.175 ([114.250.112.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Dec 2012 03:15:03 +0100 Received: from eric by 114.250.112.175 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Dec 2012 03:15:03 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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.