From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mCrMFpikt2Kc3QAAbAwnHQ (envelope-from ) for ; Sun, 26 Jun 2022 02:13:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ICimFpikt2J1VgAA9RJhRA (envelope-from ) for ; Sun, 26 Jun 2022 02:13:12 +0200 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 658D92DF63 for ; Sun, 26 Jun 2022 02:13:11 +0200 (CEST) Received: from localhost ([::1]:33206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5Ftm-0008RA-0m for larch@yhetil.org; Sat, 25 Jun 2022 20:13:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5Ft1-0008Qk-8A for emacs-orgmode@gnu.org; Sat, 25 Jun 2022 20:12:23 -0400 Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]:60991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5Fsy-0007ev-Dd for emacs-orgmode@gnu.org; Sat, 25 Jun 2022 20:12:22 -0400 Received: (Authenticated sender: me@fabionatali.com) by mail.gandi.net (Postfix) with ESMTPSA id 94BE140004 for ; Sun, 26 Jun 2022 00:12:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fabionatali.com; s=gm1; t=1656202327; h=from:from: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; bh=tqzIz5PfBa49BTyd8pZyay4bNAtllhhhURGMc8270cs=; b=ovJZTplE+ZGyNxxK7RI8GRn5Aom3QBxiSkHjHNBu0oz1lyofXObJIvKL2jEKwXSE3A827p 0rZyrkvA3ygnyg56qJgPdbaxACIWdOHH1ExbTP0fB/jjlbogeDW05TRPtkjGWm6v/AsYYZ JHJfF0tgDX+e5g6vne74Q/hmZsx8EW6wTwMgH8ztFMQXUmO8nDNrDb/GZHFXtWNn4+zOWf LMMEBnnc8twKKSuf0YC/W79J+xucWgSHhRuSaUm/D2qk84M9RDEDrqZ1LwD5F3Y3Taiqwq fOt/USgGh0PawUmrfyz/8jKBD4XD9T05rNq/gz8sZ2XdUDCs0OMOn/9HNUbtwQ== Date: Sun, 26 Jun 2022 01:12:04 +0100 From: Fabio Natali To: emacs-orgmode@gnu.org Subject: Allowed characters/formatting in Org text blocks Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:4b98:dc4:8::222; envelope-from=me@fabionatali.com; helo=relay2-d.mail.gandi.net 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656202391; 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=tqzIz5PfBa49BTyd8pZyay4bNAtllhhhURGMc8270cs=; b=kBf9FPzDERjzxQf8GgZ00UYnDqFpBDHXOF7n37/ugXK7NJ88sfbmXjkIxmtxzl/+QElb1O W3wvzNCr4XNr+HWqhhMcVzbB4ii8ZrbQlze5bk1Vc4tjcu/KN5lqVABvEklKBIURecI5H1 wrjoxDZCAP0vKaV8jfxyR09yP74oVNeocPrDhLEoaSseBaM+lA9/FAHzDGWyzDlrSwyGmX rmZp7eqsPR6KELi4yrOiRxaE4JNFTFxRIdUXDkBsUi1rXgr36YkWqrbp2jooy65s4RkJT3 M4wpW+TtyvcxvlBkdSFvzpfunjcertuZn+KM14iKwAfqU+7nhPwUZqFBfJZUmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656202391; a=rsa-sha256; cv=none; b=udxLD1wRfBgfmF2vzW8EnoAs1l20+RjNjgnom/DjNk4vSvcVRKWGY9IkwQSzK6SPpnI59r GfmyuKVBHa0I5/uO1QaKSoUzaqGuQXHPgD1WQQaT+B+3rRhp7oFefE2aqFVHocafF9LuQD fkcJPVLwV0wtCmRfCL1wY73hyV4TH1bzI4xhYXefKxEER77Sdsc3Ke4/Tlqi4DfTvWDwPn fmIRNf/NotxhWGkAvKqu22zwN6lhr8caC90lUDeLF96Vo4LpBvvE5EOelG6mh1h26IJsOV VkpAoe24quIp3n+Hc08ek4HRipcU38zUvvNc8DOkAb4/7D6j6XsRRMt3p1blOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=ovJZTplE; dmarc=none; 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" X-Migadu-Spam-Score: -5.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=ovJZTplE; dmarc=none; 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" X-Migadu-Queue-Id: 658D92DF63 X-Spam-Score: -5.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: VMzY6A3507h+ Hello, I seem to be having problems when selecting an Org text block from an Emacs Lisp snippet. An MVE follows. Consider a buffer with the following blocks. In this first example, the Emacs Lisp block runs successfully. The block "foo" is identified correctly and the point gets moved accordingly. #+name: foo #+begin_src text Hello world #+end_src #+begin_src emacs-lisp (org-babel-goto-named-src-block "foo") #+end_src Now consider a slight variation where "Hello world" is formatted as a Org heading. The 'org-babel-goto-named-src-block' function is no longer able to identify the text block. Executing the Emacs Lisp block results in the error message below. #+name: bar #+begin_src text * Hello world #+end_src #+begin_src emacs-lisp (org-babel-goto-named-src-block "bar") #+end_src #+results: : source-code block ‘bar’ not found in this buffer Is this expected? Am I misunderstanding what text blocks are for and what characters/formatting they're allowed to use? Thanks, best wishes, Fabio.