From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 EESwD9z8ZGUJWAAAauVa8A:P1 (envelope-from ) for ; Mon, 27 Nov 2023 21:32:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EESwD9z8ZGUJWAAAauVa8A (envelope-from ) for ; Mon, 27 Nov 2023 21:32:28 +0100 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 07CF75E74D for ; Mon, 27 Nov 2023 21:32:28 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-23sep header.b=lNW7kXyP; dmarc=pass (policy=quarantine) header.from=vodafonemail.de; 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=1701117148; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=VMNzl3EK17542vHKhDehKiJrdwvNzQcRVacVgU1cvuw=; b=M2pqvfDoOkkyHO5iGbde6kL6zgXtCf55dqFV1HouNiYmn+ILcZlrRnVkxCiOETa/EbBV0k 5AwV2wl4fkVFFWTVsJuo8ZFcLr9UZCdytb9A0qafjTiMTWX30hRPF50lHvYAaE4JLEtYQJ FeerUK2snaZK+u02jYch+poraawPchCOmjubYEgz2C8H3zSuHhJhpZs3RKGXLRegIEIzGn kXOOVd2TuO+p66iKX68lGfjxQptQWNHLaJcNqIva6wjEpfI2FpTEw0KTVEakhaaqvVlnNg bhyF3pbjf7mWgTH1m9/4YpPGhWRvM4LMjbKikmgokorC+pom0AMtJcc+wtPNcw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701117148; a=rsa-sha256; cv=none; b=JSWabXNhh2rlGczi9tlfiwnV7zbNme1jVYRb1pw3bHAQwnOOCqd6QtmZxKPHj4juaRRtyc V3wT9r2tECvC/We10TT9G35H1ulKJEmTflwPnlC9gnEYNn7tBTxsp93mE/WAR5HZFp/BEn 66rYOUCVvckz7cL+haaaxBHqx5FyQx9GiuOB2GvfypH6pEuD1UiPdh3welzywASUNcIZ/p wK9H7l1lYE4FzKxyqbEMf6mS3/cr7SudetCk1K6IYCjSS9uTeQy9Y0nNJI9r0fHclaBiNr 31EfkQ62ctlP3QvuAxAqanNUEgNWEZelMIZxU2bj1QdO05qN8NQ1+BM+wYarnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-23sep header.b=lNW7kXyP; dmarc=pass (policy=quarantine) header.from=vodafonemail.de; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7iCV-0003bD-Ek; Mon, 27 Nov 2023 15:27:27 -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 1r7iCU-0003Zg-4X for emacs-orgmode@gnu.org; Mon, 27 Nov 2023 15:27:26 -0500 Received: from mr3.vodafonemail.de ([145.253.228.163]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7iCR-0002rD-ET for emacs-orgmode@gnu.org; Mon, 27 Nov 2023 15:27:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-23sep; t=1701116837; bh=VMNzl3EK17542vHKhDehKiJrdwvNzQcRVacVgU1cvuw=; h=Message-ID:Date:User-Agent:From:Content-Language:To:Subject: Content-Type:From; b=lNW7kXyPRYviPQntoPqwK0TCATVIMjUqPhVLc/kOqv0cflSN0L6ZUpVTjWzOt6Zq3 B/pzAwHAIIClQzQtVE/toHYsRZ3PS89LEJzPV/Co+6JEApAFNU4R9WtDcB59lB3mdS b6pG2j1z6O5Rv29z3aPp5HQxzE8wWAxoRKSnX0ns= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr3.vodafonemail.de (Postfix) with ESMTPS id 4SfHFK2HCQz1xyf for ; Mon, 27 Nov 2023 20:27:17 +0000 (UTC) Received: from [192.168.178.41] (port-92-196-85-0.dynamic.as20676.net [92.196.85.0]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4SfHFF02PFzHnHW for ; Mon, 27 Nov 2023 20:27:09 +0000 (UTC) Message-ID: <628222e2-d516-4ff0-b244-66f20f28698e@vodafonemail.de> Date: Mon, 27 Nov 2023 21:27:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Jens Schmidt Content-Language: de-DE-frami, en-US To: Org-mode Subject: How to get the inner boundaries of a block Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-purgate-type: clean X-purgate: clean X-purgate-size: 634 X-purgate-ID: 155817::1701116833-A2FF818D-763811A4/0/0 Received-SPF: pass client-ip=145.253.228.163; envelope-from=jschmidt4gnu@vodafonemail.de; helo=mr3.vodafonemail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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: mx11.migadu.com X-Migadu-Spam-Score: -6.73 X-Spam-Score: -6.73 X-Migadu-Queue-Id: 07CF75E74D X-TUID: 0GqRlRs6DweQ Triggered by a recent question here on `org-in-src-block-p' and a current need: Is there a function already available that returns the *inner* boundaries of an arbitrary block element? For the element corresponding to the block below: #+begin_verse ^A foo bar baz^B #+end_verse that function would return, for example, the pair of positions (A . B). Currently, I use org element properties and some combination of save-excursion, forward-line, and skip-syntax-*, but I thought this could be something which is available already. A cursory search hasn't brought up anything, though. Thanks Jens