From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG] in last org in indentation of source blocks Date: Fri, 29 May 2015 09:59:59 +0200 Message-ID: <877frr3jb4.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyFBZ-00064W-C5 for emacs-orgmode@gnu.org; Fri, 29 May 2015 03:58:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyFBY-0003OE-II for emacs-orgmode@gnu.org; Fri, 29 May 2015 03:58:33 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:56673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyFBY-0003O6-CT for emacs-orgmode@gnu.org; Fri, 29 May 2015 03:58:32 -0400 In-Reply-To: (Rainer M. Krug's message of "Thu, 28 May 2015 13:49:15 +0200") 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: Rainer M Krug Cc: emacs-orgmode@gnu.org Hello, Rainer M Krug writes: > I reralised this morning that there eems to be a bug introduced in one > of the last commits which causes repeted editing of source blocks to > indent more each time the are edited (C-'). > > Original: > ,---- > | #+begin_src sh > | echo 2 > | #+end_src > `---- > > After C-' and back again > ,---- > | #+begin_src sh > | echo 2 > | #+end_src > `---- > > After second C-' and back > ,---- > | #+begin_src sh > | echo 2 > | #+end_src > `---- > > When C-', the indirect buffer has the same indentation as the source > block, but when switching back, two more spaces are added. This should be fixed in a33acf61917d8c72369297289031d8745e08e320. Thank you. Regards, -- Nicolas Goaziou