From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cD0hMeNU3GUWKAAA62LTzQ:P1 (envelope-from ) for ; Mon, 26 Feb 2024 10:07:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cD0hMeNU3GUWKAAA62LTzQ (envelope-from ) for ; Mon, 26 Feb 2024 10:07:47 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LizFFQmn; 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=1708938467; 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=ekivQPPv8gEyiJx7XsNbGFM/0gJZ/ken+2gOZYX82sM=; b=gEUAfYac6RS0WZoclvwVL5O0juHaICPjyeWkM+iJ9hofYTJoHqjOY2sHCFw3lWg79mli+t wbAKsa4B7psWY20loyED8DLntw7KXkysoT6dP+wo7XFO6+HpCY3p/QmxqWJhnvk/Fl50r1 ect2BLOrfwHoRLqZghMjs+/SNqywc1RH8OiPyg8dbUhbFlBKlo8/s/1MCBB3Dmtl9Wv8vT IMXvgbyuJWiaWPNIw8X2uiAL79BeIFwaPNhpIlwgg7iwTE6YKvjTni9v66yHgMhLiA0AVC YHosPfHkqrPwrkuZemAr3Xm5BBL3hGddaO/cZgo10UsHE6gU7YuhRx3HSJff0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LizFFQmn; 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=1708938467; a=rsa-sha256; cv=none; b=UbmRmnZ0Hok4sYEfothwiETCbnWjhZ2uhd+wNl/Z1fHuNDB9aRuFVn31ZOsKiWhkCeMGMi uuQexcrEtTubMX62W23b6nnBTPUoux9o6s6yOeoeisY/qQso0bBEUb/ALHf3TVzqsmkDuq VOYYHPAXItMiNU32F8gf3z8X15U/6DPMfjVuo9NhmAGX57cuBW2kV21YGAXA0Je6bG0u30 yYmFK4M2yBKgA+RspOArFvp691xjU5Zb9zkRhPkNFWIxMpzSBQTBQDnYbtNlnnzmHkWPKU Bnf53EI79+R7T2r2o4kOH4bFI4ADbu5gngJiAv5pa14cuY42VP5tDVDV2N3Ddg== 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 8D7373A8C7 for ; Mon, 26 Feb 2024 10:07:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reWwu-0007dX-Od; Mon, 26 Feb 2024 04:07:00 -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 1reWwt-0007cg-Ab for emacs-orgmode@gnu.org; Mon, 26 Feb 2024 04:06:59 -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 1reWwr-0003cQ-D9 for emacs-orgmode@gnu.org; Mon, 26 Feb 2024 04:06:59 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0ED58240027 for ; Mon, 26 Feb 2024 10:06:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1708938415; bh=eiwDI5U/1rY9nA6rJL0POkDZCktEbniXEpO2JMJgbo0=; h=MIME-Version:Content-Type:Date:From:To:Cc:Subject:Message-ID: From; b=LizFFQmn2/Q3MxLLM6C0Fl1XeX1fyVp4BOqKqPQF/MCoBdG46BRhfrovAAv6DD4wr u/n8HFFJalPlw03r8oZlg2cSrfhfuMEy+LQbLzbERrTv3Y2u1YKGpETDb6c6BlQnzy iTLVTGvQQ/vClmz5+i+89SV3UTxlBrs0Y2Nj6dOG2aXh5ZqGAoggLuR/rGbE+bRkSo tw8G5f7E0Dtw38SD69L142dPwjgJ64aspbNc1l7DvfSPSjEoru0S4cT0XeyBbureo2 Uzw0GGCVQinaJ32enyhaFGqr1VopgDLjmIYr8mdAWlKdK3diXUyZriAlmwEbKvOpBS ON1Yypq9VX3RA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TjvrG4hknz6tvc; Mon, 26 Feb 2024 10:06:54 +0100 (CET) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_52f3e8b79e22af9512cf41ededa4992b" Date: Mon, 26 Feb 2024 09:06:54 +0000 From: gerard.vermeulen@posteo.net To: Ihor Radchenko Cc: Emacs orgmode , emacs-orgmode-bounces+gerard.vermeulen=posteo.net@gnu.org Subject: Re: [PATCH] org-babel-demarcate-block: split using element API In-Reply-To: <87y1b8loop.fsf@localhost> References: <7e41f9b6e9026a404e256f33371e974c@posteo.net> <878r50yqmo.fsf@localhost> <442006329cfba666710c989aece5191a@posteo.net> <261356c53e857e0bc4b04f884366edfa@posteo.net> <87bk9uy31w.fsf@localhost> <680e4a4fccf4f3c5c8f51d8215257eff@posteo.net> <87a5p9uute.fsf@localhost> <87wmscrty4.fsf@localhost> <2c82fa1399ddaa52ebe5bb21e241fb5f@posteo.net> <87o7dll7vn.fsf@localhost> <874je4hjmr.fsf@localhost> <87frxmtasr.fsf@localhost> <87h6hzi9cy.fsf@localhost> <067f694028817e59ee3d0c49dc80dd3b@posteo.net> <87y1b8loop.fsf@localhost> Message-ID: Received-SPF: pass client-ip=185.67.36.65; envelope-from=gerard.vermeulen@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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-Migadu-Spam-Score: -8.99 X-Spam-Score: -8.99 X-Migadu-Queue-Id: 8D7373A8C7 X-Migadu-Scanner: mx11.migadu.com X-TUID: LS2Tza8D+60x --=_52f3e8b79e22af9512cf41ededa4992b Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 25.02.2024 13:21, Ihor Radchenko wrote: > gerard.vermeulen@posteo.net writes: > >> I added the caveat: >> This patch is incompatible with `org-babel-edit-prep:' functions >> that signal `user-error's. >> to the commit message and cleaned it up a bit. > > You may wrap `org-indent-block' into `condition-case' to catch > user-errors. Sorry, I did attach an old version of no-user-errors-in-edit-prep.org. Corrected. Regards -- Gerard --=_52f3e8b79e22af9512cf41ededa4992b Content-Transfer-Encoding: base64 Content-Type: application/octet-stream; name=no-user-errors-in-edit-prep.org Content-Disposition: attachment; filename=no-user-errors-in-edit-prep.org; size=2281 VGhlIGNhdmVhdCBpcyBub3QgYSByZWFsIGNvbnN0cmFpbnQsIHNpbmNlIE9yZyBoYXMgbGltaXRl ZCBzdXBwb3J0IGZvcgpzb3VyY2UgYmxvY2sgZWRpdGluZyBpbiBhbiBPcmcgbW9kZSBidWZmZXIg d2hlbiBhbgpgb3JnLWJhYmVsLWVkaXQtcHJlcDo8TEFORz4nIGZ1bmN0aW9uIHNpZ25hbHMgYW4g dXNlci1lcnJvci4gIERlbW86CgojK2JlZ2luX3NyYyBlbWFjcy1saXNwIC1uIDpyZXN1bHRzIHNp bGVudAo7OyBMaW1pdGVkIHNvdXJjZSBibG9jayBlZGl0aW5nIGluIGFuIE9yZyBidWZmZXIuCihk ZWZ1biBlZGl0LXByZXAtdXNlci1lcnJvciAoX2luZm8pCiAgKHVzZXItZXJyb3IgIlNpZ25hbGlu ZyB1c2VyLWVycm9ycyBpcyBoYXJtZnVsbCIpKQoKKGRlZnVuIG9yZy1iYWJlbC1lZGl0LXByZXA6 cHl0aG9uIChpbmZvKQogIChlZGl0LXByZXAtdXNlci1lcnJvciBpbmZvKSkKIytlbmRfc3JjCgoj K2JlZ2luX3NyYyBlbWFjcy1saXNwIC1uIDpyZXN1bHRzIHNpbGVudAo7OyBTdXBwb3J0cyBzb3Vy Y2UgYmxvY2sgZWRpdGluZyBpbiBhbiBPcmcgYnVmZmVyLgooZGVmdW4gZWRpdC1wcmVwLW1lc3Nh Z2UgKF9pbmZvKQogIChtZXNz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