From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mB0BEg7dp2SwZAEASxT56A (envelope-from ) for ; Fri, 07 Jul 2023 11:38:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6FPaEQ7dp2QaswAA9RJhRA (envelope-from ) for ; Fri, 07 Jul 2023 11:38:22 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9A6CC459CB for ; Fri, 7 Jul 2023 11:38:21 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=W0NP3Lau; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688722702; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=g6qSy8/chEF9My4PsfSqzcs/V0g6zHNcwSMY/dkxoJ8=; b=q46sJd/g8//2RsHDkWtN7sgdvXOTxwgTdwZJH1p+L1Fqa9wYkniowDDhse8ICPR8jtLnT3 ffFqs2FaW2iSBckVLUb5NpoU0c0L+YyTPrhbZ509299BUV81PhwHslC8J1R8jziWhBYEz8 YTHFsRk1+u4rPx477cIjnHEj/EUaXEU0xzxJiO3V9pzkNN7lFu7AUGYyXBsNO/u6dWkkzd K/K1O59XvkoC6Mz23oq9jTw7lk6vjudKJfvcfBYZt5ulrJvYim6wQxxXAdKaFHRhYHwTwm CsrQOddTFpHv0IIDTxCbAkrRqcKpeDNV0VLHuQ7xAG478uZZ+RBNOmiOp59dXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=W0NP3Lau; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688722702; a=rsa-sha256; cv=none; b=Jp33fA4oXOLZwOvDkNrDBk5OCgG1PuHi4dQkogY/WWZpQIgzwB9IeiN0EX2uXu11b8iq39 YBYrj8sENGaBquii3UJzVekCLEsg6LZ/SbnhNi9DgE31ou8OQF+bwWfwru4J4jzIjzXFJm Vy9ZDnwr+IcYlrlcvGPvPaiFqnTRu38llAaAk1QXGo9RWTG/8uMK5xWKi4IqguIPW+JWCT 92ZxgXcv4+9eaPc/05hRScVr39blO+2LjFc0A0/K6th53Jf177YMATltuiX8pEusQlgtdY UZplMPPCZ51ZBVO/Kzg463n1ANRQ0f2w81WFLLZx4dISfevVNL2RUSHXSYl8XQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHhu2-00075K-4N; Fri, 07 Jul 2023 05:37:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHhu0-00075C-Qc for emacs-orgmode@gnu.org; Fri, 07 Jul 2023 05:37:24 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHhty-0000iN-87 for emacs-orgmode@gnu.org; Fri, 07 Jul 2023 05:37:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 77611240027 for ; Fri, 7 Jul 2023 11:37:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1688722639; bh=O2I5ThnxATR9olxv0Q/y9yoyBY9fhU8tZRkxkSzr/RM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=W0NP3Lau+zJe8x8SRhsIeoEw8BqViycsI+5EsUI86KDmrc7Gixl7u/M/Ix7xRiuVT P/4MnWffoyg/nszfq0KCZKHEEwhkDSFR9OkzLsE9qZOzHWAHxKUuf8W5/L3M+v3gLM pYa/oTss7Jf0gkEJgr94zNcbduNk5ZqBo9FQP116TH2uXkw80K03WPqr3WRa/hxO6P lubPy0uQ3vm6xegVMnkRLX3Uy8LYIopGbw8rK6ntGWul4aR+7djZiD8UsYNY32ncYL S0f0gK30+8MdCq5kmRj/NI6rhv7hFYGmzOhuOYi2RHeQ0QZSIEKDMoJmNaNa0xdnuw XliGq7nZZaS0w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Qy7bL64XGz9rxQ; Fri, 7 Jul 2023 11:37:18 +0200 (CEST) From: Ihor Radchenko To: Vladyslav Zapolskyi Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-indent-mode breaks indentation in source blocks In-Reply-To: <87r0pl747z.fsf@localhost> References: <87r0pl747z.fsf@localhost> Date: Fri, 07 Jul 2023 09:37:19 +0000 Message-ID: <87a5w8xdtc.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -7.39 X-Migadu-Queue-Id: 9A6CC459CB X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -7.39 X-TUID: U2gy+PXrLQL9 Ihor Radchenko writes: > Looks similar to what we are trying to solve in > https://list.orgmode.org/orgmode/ZIZLzousCaylbUz1@ws/ > > I will take a closer look after installing the patch we are discussing there. It looks like the linked fix also fixed this bug: 1. cd /path/to/latest/Org/git/repo 2. git checkout main 3. make repro REPRO_ARGS="/tmp/bug.org" 4. Insert the following * aba #+begin_src emacs-lisp (abababa abab :abab abab "abab") #+end_src ** ababa #+begin_src emacs-lisp (abababa abab :abab abab "abab") #+end_src *** abababa #+begin_src emacs-lisp (abababa abab :abab abab "abab") #+end_src **** ababababa #+begin_src emacs-lisp (abababa abab :abab abab "abab") #+end_src abab is aligned with "abab" 5. M-x org-indent-mode 6. Everything is still aligned perfectly. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at