From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Babel blocks get unindented when making changes outside the blocks Date: Sat, 14 Feb 2015 12:52:39 +0100 Message-ID: <877fvku2uw.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMbG4-0005qi-De for emacs-orgmode@gnu.org; Sat, 14 Feb 2015 06:51:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMbFz-000580-Rw for emacs-orgmode@gnu.org; Sat, 14 Feb 2015 06:51:36 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:58677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMbFz-00057u-M9 for emacs-orgmode@gnu.org; Sat, 14 Feb 2015 06:51:31 -0500 In-Reply-To: (Mark Edgington's message of "Fri, 13 Feb 2015 11:46:45 -0500") 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: Mark Edgington Cc: emacs-orgmode Hello, Mark Edgington writes: > 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 should be fixed. Thank you. Regards, -- Nicolas Goaziou