From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Inserted Heading Starts on Prior Heading's Fold Mark Date: Mon, 6 Apr 2015 13:12:21 -0500 Message-ID: References: <87bnj1uqzw.wl-ded-law@ddoherty.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfBVZ-0007nf-Vf for emacs-orgmode@gnu.org; Mon, 06 Apr 2015 14:12:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfBVW-0006CN-Sh for emacs-orgmode@gnu.org; Mon, 06 Apr 2015 14:12:25 -0400 Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:34754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfBVW-0006CE-N9 for emacs-orgmode@gnu.org; Mon, 06 Apr 2015 14:12:22 -0400 Received: by obbgh1 with SMTP id gh1so50937429obb.1 for ; Mon, 06 Apr 2015 11:12:21 -0700 (PDT) In-Reply-To: <87bnj1uqzw.wl-ded-law@ddoherty.net> 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: "Daniel E. Doherty" Cc: emacs-orgmode On Mon, Apr 6, 2015 at 12:05 PM, Daniel E. Doherty wrote: > > I don't know when this started, but recently I've seen the following annoying > behavior from M-RET in org files. I have this on my main Org file and just assumed it was due to it being big and Org having a tough time keeping track of all the various blocks (src, example, etc.), properties, ids, and whatnot. I figured I'd messed up the syntax in there somewhere and would just have to deal with this quirky behavior. I think others have experienced this as well (e.g. http://lists.gnu.org/archive/html/emacs-orgmode/2010-09/msg00457.html). Can you try commenting out: #+begin_src .emacs ;;(setq org-blank-before-new-entry nil) #_end_src I copied my .emacs into a new config, started with emacs -Q, loaded that file, and then tried your original post's exercise, repeating after commenting out various lines in my own config file. We both had the above setting, and that turned out to fix it for me on your test file. Not sure if there's another interaction between your options vs. mine, though, so confirmation is needed. John > > I've tried tweaking a number of these settings with no luck. > > Any ideas about what is going wrong here? > > Dan Doherty > >