From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Stewart Subject: Re: [PATCH] org.el: Fix indentation in lists after blocks with special env Date: Sat, 20 May 2017 11:18:00 -0400 Message-ID: <87y3tr8slz.fsf@stoo.org> References: <8760gw5gix.fsf@stoo.org> <878tlsowwy.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dC68t-0007Vf-Qa for emacs-orgmode@gnu.org; Sat, 20 May 2017 11:18:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dC68p-0002d0-RS for emacs-orgmode@gnu.org; Sat, 20 May 2017 11:18:07 -0400 Received: from mail-qk0-x235.google.com ([2607:f8b0:400d:c09::235]:33978) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dC68p-0002cc-LY for emacs-orgmode@gnu.org; Sat, 20 May 2017 11:18:03 -0400 Received: by mail-qk0-x235.google.com with SMTP id k74so80591966qke.1 for ; Sat, 20 May 2017 08:18:02 -0700 (PDT) In-reply-to: <878tlsowwy.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hi, Nicolas Goaziou writes: > 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. Huh. I just tried to minimally reproduce and was unable to do so. Then I tried my standard configuration (without this patch) and was still unable to reproduce! To keep my sanity, I'm telling myself this may have been fixed in the meantime. There were several others at my workplace experiencing the issue--I will have them remove the patch and retest in their environments. I apologize, I should have tried to provide an ECM from the beginning! Thank you, and I'll let you know what I find, -TimS -- Tim Stewart ----------- Mail: tim@stoo.org Matrix: @tim:stoo.org