From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id OHfiIlOh2GWlpAAAe85BDQ:P1 (envelope-from ) for ; Fri, 23 Feb 2024 14:44:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OHfiIlOh2GWlpAAAe85BDQ (envelope-from ) for ; Fri, 23 Feb 2024 14:44:51 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="nqEqvc/q"; 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=1708695886; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=9Wxj84jPF/+hll6OXucNEqM5FeUtEejuK8GRPxGGwns=; b=d/jlt/Hs7H4d+RH1PpG15WjHjGjFqBHzU1WOTdLRoi6O6bV+rF5XHlcXM8FnbarqnqlKX5 oUk8rz8cVcE082TVZ1m3k7qog2RsxIQtb9a+8tMM3WurESyLFdf8YNc7nsQ8KJNkkfgF0z BzziiquLBv+QEaM7SgB+x2xTndJQMTpna3ps+TrNmrdShc2Kt+/ETb3F41SIvH7awN9lDE KJusCh1IiPcp3mzsm18rcsaXX7cmbCTKROQs3Q7EEl9r/Z9OifZOilcADloWxtG0wM9Spu cLlXALDZ8zdBusuuySAr/pieDjh4bwyyTxI6h+Rlnie/w1+gU7OU3cnxP3I0NA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="nqEqvc/q"; 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=1708695886; a=rsa-sha256; cv=none; b=gQbUah7YPqMmT1DHHLBmDAX8ZEoPZRao93/p0/D4nbRu5kOo5lu5uL03h9KnqqywyQERoN uuIy22fMGU82vX5wExAAp0NGNiJj1bazWeo9fr20P/mthQY4mspkIU9BxWkGwRupNuFApU F2w+Orc68vh5JYaDVF1B3KCPIGdLsMMZYeBKRtvr+Z37YnOE483n8Jwla4fUK0/bKoiP9Y AXGLz+N6EYo6Q1rCbBlJNjz8VcAUvGpZRFg/D31ujlKVRwBbBeqWWaCON7qQRmAF9TzTlK Q0NTKoqFNJWyga1cowVpsiIRrsN4psYohunWtWkeC5Km9Wmlxs3XsU5Y/MTuUQ== 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 6486032A4A for ; Fri, 23 Feb 2024 14:44:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdVqS-0006By-Vw; Fri, 23 Feb 2024 08:44:09 -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 1rdVmo-0004Lo-Kt for emacs-orgmode@gnu.org; Fri, 23 Feb 2024 08:40:24 -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 1rdVmi-0000AH-Vz for emacs-orgmode@gnu.org; Fri, 23 Feb 2024 08:40:21 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 20296240028 for ; Fri, 23 Feb 2024 14:40:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1708695614; bh=9Wxj84jPF/+hll6OXucNEqM5FeUtEejuK8GRPxGGwns=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=nqEqvc/qlJEZD6QAPs61moOt+Cmf9SFGqemAqYPROb/vJ1yX5M5rOeirj2/x1nauU lL2GngLwLqPMzCijRY3mKM8dNYrCe2F1tGXO8mxqj7KVtgTvR79DnkiqfP8P8oqddK AdPJNTdZSgCMF2OdGhwHiO2/zwhVx9a2mtfQllmktQbgojB4OpjiuUU4RM7HcNARif 0SPddiLxcqLvlUa1sMD+CpPdDnKdvNJnfKSp3JGgDBLGnDQyVJ7XMl20NcXuKBoY9L 4UuFcJ3lvWc/1hvFGPUPYyqa7SH6lUNZp3Ygfy0MP1Fda3ftenLc2vQGxugqNPmgtW sMzEjkUqR5/1g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ThB3125cxz6trs; Fri, 23 Feb 2024 14:40:13 +0100 (CET) From: Ihor Radchenko To: gerard.vermeulen@posteo.net 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: References: <7e41f9b6e9026a404e256f33371e974c@posteo.net> <87y1d55fc6.fsf@localhost> <37fdcc4bfcf734c2e5ec439d40b4f7d8@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> Date: Fri, 23 Feb 2024 13:43:57 +0000 Message-ID: <87h6hzi9cy.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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_H3=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-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.88 X-Spam-Score: -8.88 X-Migadu-Queue-Id: 6486032A4A X-TUID: yppik+q6j1Gr gerard.vermeulen@posteo.net writes: >>> May you please provide more details? >>=20 > This is different of what I saw before: > > When splitting python blocks in an org file I got a long list of=20 > warnings: > Warning (org-element): =E2=80=98org-element-at-point=E2=80=99 cannot be u= sed in non-Org=20 > buffer # (python-mode) > until it stopped by itself. > > I traced this to user-errors in my own `org-babel-edit-prep:python'=20 > which I > use to let eglot handle python source blocks. > > I rewrote my `org-babel-edit-prep:python' to get rid of user-errors but > then I bumped on the user-error coming from=20 > `org-src--make-source-overlay'. This is strange. `org-src--make-source-overlay' does not use `org-element' API. I cannot see how you are getting such warnings from ther= e. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at