From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] org.el: Fix indentation in lists after blocks with special env Date: Sat, 20 May 2017 08:38:21 +0200 Message-ID: <878tlsowwy.fsf@nicolasgoaziou.fr> References: <8760gw5gix.fsf@stoo.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBy22-00014x-6c for emacs-orgmode@gnu.org; Sat, 20 May 2017 02:38:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBy1z-0001Ot-3U for emacs-orgmode@gnu.org; Sat, 20 May 2017 02:38:30 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:50272) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dBy1y-0001Oh-TP for emacs-orgmode@gnu.org; Sat, 20 May 2017 02:38:27 -0400 In-Reply-To: <8760gw5gix.fsf@stoo.org> (Tim Stewart's message of "Fri, 19 May 2017 23:41:40 -0400") 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" To: Tim Stewart Cc: emacs-orgmode@gnu.org Hello, Tim Stewart writes: > * lisp/org.el (org--get-expected-indentation): Fix indentation within > lists after blocks that support a special editing environment. > > Testing shows that the indentation within lists is incorrect after > `example-block', `export-block', and `source-block'. The logic falls > through and makes a recursive call to `org-get-indentation' which > results in an indent to the same level as the last line of the block's > contents. Thank you. Could you provide an ECM, however? I'm not able to reproduce it so far. Regards, -- Nicolas Goaziou