From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Edgington Subject: Babel blocks get unindented when making changes outside the blocks Date: Fri, 13 Feb 2015 11:46:45 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMJOq-0006yz-38 for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 11:47:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMJOp-00014y-Cl for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 11:47:28 -0500 Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:36739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMJOp-00014o-7z for emacs-orgmode@gnu.org; Fri, 13 Feb 2015 11:47:27 -0500 Received: by mail-ob0-f175.google.com with SMTP id va2so21987724obc.6 for ; Fri, 13 Feb 2015 08:47:26 -0800 (PST) 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 Hello all, Given the following code: ----- BEGIN CODE ----- * some headline - blah - blah - blah - blah - blah #+begin_src octave first line if (num <= 2) stuff end #+end_src - blah # some comments # more comments 1. item 1 ----- END CODE ----- If I go to the end of the 'item 1' line, and do 'M-x org-meta-return', the code in the preceding source-block gets un-indented, so that it looks like: #+begin_src octave first line if (num <= 2) stuff end #+end_src This behavior has been confirmed by another via IRC, and supposedly the problem lies somewhere in org-list-struct-apply-struct. I just wanted to report this strange behavior in the hope that someone might have an idea on how to remedy it. Regards, Mark