From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 cEROEWh14GXExgAAe85BDQ:P1 (envelope-from ) for ; Thu, 29 Feb 2024 13:15:36 +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 cEROEWh14GXExgAAe85BDQ (envelope-from ) for ; Thu, 29 Feb 2024 13:15:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EUDvsMwX; 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=1709208936; 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=xgHS6Uup3pGHPUPUaLWWPNYAWys0GdYRcYH+QRrb8g0=; b=urS8oEfRnfP+HsrSAK1glcumqkjRyWAEuSABvPHh1RfHyJ2vnw80DLiPBSwNGk0tghnX4H kW1W0DPjmYW8M2WPx5jUYwt0KajLbqWuiyw1wB3N8eHTDbzk5en8kpADOhrFGnleewkgqo PuZnEPYR+t1w1wqNrgvcmP7Zr3MFS1KbGocGYkkdHhVnic/50sxUU0o08V1gsZOVmzKkwx fp5MgYXGw8gwVrQwGOsoKDd6KVzlGJgVEpn+plrVaGDFKOZQJbnYar/rN65td2s8Kwa1OK o7tITUtv3inv4SF2hWTexnhjwUxT4qI0FFwDY7rU+HgysCrWsYy6d1rs8zUqwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EUDvsMwX; 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=1709208936; a=rsa-sha256; cv=none; b=jD3hi+XV1ab4RfcQRbqvwishhi6LHP3OfZO8o9/FFC3YTLoDef2tOKum3IeUtV3HAxiU3i qBlUKyE5YX/+fXjwb78djGoZ1jGwrELQ0OQf1dzwwKq7VeB2ojx4UyGBA2K3nFHlL3f39H 6eQauZYyMoZMIPPOBBN2dKGq/+S+/1s7OdISW5pUPUX8LO3Aewt7i+Z30KT3azJNuTTaHH 5AiN0vPYS6yMLKKc8ZpNyUWlNv+DIxbyylVkJVfq9mgI9KaUJvtyLgZwc6u5sSBHNRzuSS whKs5hbcZ/B0wMSFaje9qtLT/Y/QYlL1qlpkEdX+pWyu1PT3GiLIAunpzbpykw== 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 AC4403A2F0 for ; Thu, 29 Feb 2024 13:15:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfeyF-0007c4-CZ; Thu, 29 Feb 2024 06:53:03 -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 1rfeyC-0007bd-WD for emacs-orgmode@gnu.org; Thu, 29 Feb 2024 06:53:01 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfeyA-0005Nb-OI for emacs-orgmode@gnu.org; Thu, 29 Feb 2024 06:53:00 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id F16B2240104 for ; Thu, 29 Feb 2024 12:52:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709207575; bh=N37epoACQtCqTNDsgCyTAYQ7/WmQihXkVoJaZhkVI6g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=EUDvsMwXlj4nISbosVL1bIFavyuIlMijvBW4xyjgkNPzgXbk8bBDDxaNgSq49dquc Q1aNFqOdxZ6SgH8gcGXOOfxCu0M6DkuuBMsVQ1O691wl+xwuTNz7PDnpAOH1xEBSnG Fe2VF6ovayhWWh3vYECS3wlgJ++9+0SH9XJrFEGdpn7fmrGdsS4W9RzLXW0DyeR9r2 vkfOayq4yT+btyjr9pY3OVM5wx5lssBAEAsnjgzTRCqbS3lUAOy6vsOrODDdrOEUdo 5FnXkn8cZsG4Wbai8aByorM/CxaUPvnQCArSuMwK6eb0hliv5x3yEvEhaTzGUPGI05 p6iMrNE7Q7JkQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TlqNQ29V8z9rxP; Thu, 29 Feb 2024 12:52:54 +0100 (CET) From: Ihor Radchenko To: gerard.vermeulen@posteo.net Cc: Emacs orgmode Subject: Re: [PATCH] org-babel-demarcate-block: split using element API In-Reply-To: <71a7a6b51654e020f72cfa6ac07ce36b@posteo.net> References: <7e41f9b6e9026a404e256f33371e974c@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> <529eafb5a5274fb4e15917ce3b97d785@posteo.net> <87wmqo3it5.fsf@localhost> <71a7a6b51654e020f72cfa6ac07ce36b@posteo.net> Date: Thu, 29 Feb 2024 11:56:47 +0000 Message-ID: <8734tbo54w.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H4=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-Spam-Score: -8.84 X-Spam-Score: -8.84 X-Migadu-Queue-Id: AC4403A2F0 X-Migadu-Scanner: mx11.migadu.com X-TUID: /HEDwnlnU9/x gerard.vermeulen@posteo.net writes: > That includes `org-babel-demarcate-block' splitting with the patch. > > I do not understand why it works and why I never see the user-error > re-signalled by `org-babel-edit-prep:sql' (even as demoted message). Because `org-babel-edit-prep:sql' does not signal anything. It simply returns a string: In (condition-case nil (sql-set-product product) (user-error "Cannot set `sql-product' in Org Src edit buffer")) (user-error ) means "If we encounter user-error, do ". That code is certainly misleading. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at