From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gFejNH7gn2XBWQEAkFu2QA (envelope-from ) for ; Thu, 11 Jan 2024 13:35:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cFAPMH7gn2ViJQEAe85BDQ (envelope-from ) for ; Thu, 11 Jan 2024 13:35:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="o/joSbxi"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704976510; 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=ViUBzuWr+XCxOZmHMhtZq96Wd39aTy5alkcP/VkgtqQ=; b=mqBlAz7QIah+YUlp+fqivarzbd2kbk1USTDyufZSSUzWAhwmUufRogW6CfWzQhmRvhnq2N V9I+XmAFmFcvsoCmNXpPGcdBKWhI81UNtWEmkQ3k6rBayMcIi+O5EvKFHME8Kw0ldkoXu9 aZlz5L52mamBbzro1R0nzqM83xrAAcirOFq97D1gIM+L8VUP+vBZSLlIrN5ELij8TvvqJI irVlpb5WfO2nFJupaetUtfVFAuUSiqj17jGMXImhJ8b23/sJ3clZRBdgRguagkd1uezvVy pXtopwLHnJFMlVZrrXbDPlkoQwEBMZ+Wzw/MKNhequFz72qQpjvvyWN8aY9Frg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="o/joSbxi"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704976510; a=rsa-sha256; cv=none; b=kXwB6N9f6xi8nR8XQxIintKArDb4rzjPR1cDksMyeAbro1MYSLslFG7da4sgspR+Pn2YOv daJvg0WqqVLW+xqMfCAmBmKIvzGq3PEB8h2rz4Pk6wdUj0QUbT82LXWhRLHqzdLcSz92ny 7tPnUb7O3Mg7kwOzdQap+vRDiFzj1HhwYoQnTMyuffgOpo2iJ06CYDh9IC1/Str6aHkaxo iKX/j3iP8+WvcpPvtHkRUrK7OBS/P4eD+58H35Xe0SK+b/bn7NYKb/M4BuZw/oyQUcjze3 Oh5wVM4rDdGnSWW6z2HyXUubGkrnjw6PGYx5dCW9GCmoZGOlS7IJ13/GQhBnng== 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 9A191395FC for ; Thu, 11 Jan 2024 13:35:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNuGS-00051Y-RV; Thu, 11 Jan 2024 07:34:29 -0500 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 1rNuGQ-0004vU-9A for emacs-orgmode@gnu.org; Thu, 11 Jan 2024 07:34:26 -0500 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 1rNuGN-0006Hu-Md for emacs-orgmode@gnu.org; Thu, 11 Jan 2024 07:34:25 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 311B7240028 for ; Thu, 11 Jan 2024 13:34:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704976460; bh=jX+dfD2ddnxkNndGskLbGg6wZ58yQeEY+bXyDnPLkR0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=o/joSbxiOJahRGWZIz5HukKJZuBVaulu/jZd/N7k/o6x0t8t4WIHaO1gpeKZqcmix wemnJlHGqSjXeMm57iHvjwzuuGVEQhIFckLz9jiD0XcEIxisQysrlGP0bL+vJ8O1Pn E4S23RPLroFXaV54gxda3t8TzaYdB6VvEKGMWCZrGU1tTiioylAVXmoWaHIPSk1YPv duiTmHoTxdXsYg13pJQHmVW6rYChRNggImK1BsoZDqlEpwSsDj5Qjmv1iA91Xp2Q7b up3O3XtYjUVyA2Z3BHiwFNnMBg/GxqOQNlBXSjVSLvNB0NAjs4P6UVzL9hOwbL+NzZ /8b+de2kJMZyg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T9kcq2p4wz9rxD; Thu, 11 Jan 2024 13:34:19 +0100 (CET) From: Ihor Radchenko To: gerard.vermeulen@posteo.net Cc: Emacs orgmode Subject: Re: [BUG]: unexpected behavior related to org-indent-block In-Reply-To: References: Date: Thu, 11 Jan 2024 12:37:31 +0000 Message-ID: <87mstcjbas.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.03 X-Spam-Score: -9.03 X-Migadu-Queue-Id: 9A191395FC X-Migadu-Scanner: mx11.migadu.com X-TUID: VCavOnw+LXjd gerard.vermeulen@posteo.net writes: > Below, I show 2 commands to be run with point on a source block. > I expect that those commands modify an Org file identically, but > they do not. It fails when `org-indent-block' is called in a > loop after each `(insert (org-element-interpret-data copy))' and > it works when `org-indent-block' is called in a separate loop > after insertion of all `(org-element-interpret-data copy)'s: > ... > Example block: > --- > #+begin_src emacs-lisp > > #+end_src > --- > make-2-indent-fails results in > --- > #+begin_src emacs-lisp > copy 1 > #+end_src I cannot reproduce. I am seeing make-2-indent-fails results in --- #+begin_src emacs-lisp copy 1 #+end_src #+begin_src emacs-lisp copy 2 #+end_src On the latest main. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at