From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 wPm0McNU2GNcIQAAbAwnHQ (envelope-from ) for ; Tue, 31 Jan 2023 00:37:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AHfVMMNU2GMWvAAAG6o9tA (envelope-from ) for ; Tue, 31 Jan 2023 00:37:39 +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 941B61D838 for ; Tue, 31 Jan 2023 00:37:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMdhs-0005Ez-Ne; Mon, 30 Jan 2023 18:37: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 1pMdhq-0005Ei-J4 for emacs-orgmode@gnu.org; Mon, 30 Jan 2023 18:36:58 -0500 Received: from mail-yw1-x1129.google.com ([2607:f8b0:4864:20::1129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pMdhp-0000xx-2o for emacs-orgmode@gnu.org; Mon, 30 Jan 2023 18:36:58 -0500 Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-501c3a414acso181820437b3.7 for ; Mon, 30 Jan 2023 15:36:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=LjuKLpjkSXfgNXju4FKdUY0/2vqyYP3sfxJEZV5eCKQ=; b=iC4jxxTTdOAlTF/pi0Ia/F7tpsgdLgPkCa6/BN/f/0IGxXUwkIZEhJaUIIkM4wCBa1 AyNun5IUWP/x2yhfMy1hsx9Uj6GI/VkEx+ag9Nqoj9TTJiXQkqC8kEzEaIHTSmu7gGdH w1jByIcJbR9fdhp5xVJZhI3LUxCPeCaP6O0ZejgAc90nkBs4T2uOT9iGTgg7z4oxooCy ivrH7MJVS0Kw18xlrhOl4x2ir7E+i8bPoBUpPlGBkhX2F7VnHmN56KjF67Q3Y7LJUjp4 UjTgaT1gJccBmqEbvCCrCdDQJbwl8Cp/dWvN5ZkY3beffEwLh7+7/hVtmdJdyVxdYLxB yG6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LjuKLpjkSXfgNXju4FKdUY0/2vqyYP3sfxJEZV5eCKQ=; b=hWifQoZ0Vfn1OVLWCvyGy9qawN4wd+vf4R8HbD+ST4O46M0SVFhZk/OAe3kTZ4JH6h S/Q9uejcIVOL7McXrowh+GxeELkUYtOIq0m57plQLgdXUbbdweHC6DLfXjK/C2bkCSNg 6Uzj7cGBrI9YJP/g+ginrLiynj/tYkWBvShK8VEspfV2W26TEUfxFF/AEkjOU6K+o3sl EVP6VcJxxa8L5K2A3Nif46bNa9l5Dhx18X/Hp3S6qImWX+xLuKg6umN7WXUOSd7sAqn6 b3qKxwEKa23XRr+2zqJiTbPpkFXI6zscsQAMkCeVE1wNxi9XaxjxqMg+v0xsQMKLp3Fr YPHA== X-Gm-Message-State: AO0yUKVCi1+kLVEzys1BdKejH+qBCahn5KtkK2rUXKpgMPJPzEgILy1D Oj/b4gMNULPO+bvtd1pwBQxvjQWuiN6I649TLElzCfUwhGw= X-Google-Smtp-Source: AK7set+/H4rC6WdMvVF117MabtjE2ert8w+f6nMXrTPeDts913Ah/ntzByH8yqF0pWqOkGJ0HE9OTg4ryPQNlcSL7XQ= X-Received: by 2002:a05:690c:78d:b0:506:512a:a8dd with SMTP id bw13-20020a05690c078d00b00506512aa8ddmr2988479ywb.159.1675121815683; Mon, 30 Jan 2023 15:36:55 -0800 (PST) MIME-Version: 1.0 References: <4P4fNv4F48z6tmQ@submission01.posteo.de> <87h6w83wc1.fsf@localhost> In-Reply-To: <87h6w83wc1.fsf@localhost> From: Tom Gillespie Date: Mon, 30 Jan 2023 18:36:44 -0500 Message-ID: Subject: Re: Inline markup: How does org identify nested code/verbatim? To: c.buhtz@posteo.jp Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000c7861e05f383b0b8" Received-SPF: pass client-ip=2607:f8b0:4864:20::1129; envelope-from=tgbugs@gmail.com; helo=mail-yw1-x1129.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675121859; a=rsa-sha256; cv=none; b=mgKrtBMLvCpBwVtJYrLsibTVB+3Da2kqpvJGOXP57mIh3bexQ5EaXKgRW8HK6UBCn2VkfY Fhs91UEZyzGzJX2PMgCiDwY1etSrvtr8vsFSHNcUFpIXjAFTnyIz2JvtFo16FKH9zwPOzk nbD12vdt9tpTgpeqLSCKiZQs5KGVtCGARyMlWV1bwq5EVMQ/W4UVlSjcwY8NGJxZVCQGZi cVGAG1W3W2sAT/KWQ7cBbk5sybJpKIP6gqMpIKI7qv0OkdUynSl7/uyD/Y1+DsTaXnCjD2 fDImi88dClamFmnY0lG0mmRcrlJifObdfdRUPrrgUrFFvmxn10sImd2UHi1+jg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iC4jxxTT; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675121859; 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=LjuKLpjkSXfgNXju4FKdUY0/2vqyYP3sfxJEZV5eCKQ=; b=Zi1baBse67i3leYgexSuvEFbupJFnupspotVHTAa2PCagDT8rnDKCp9Jx+qDVwVnueUHMw p9v+OUvh7IEt54W3uxLQmXo2rApnjRnNFHjOKMPJcHvU31J/lwf09gv6phtM7OLnEDrA5f QhvVDXLjGhUomTnGDD/K38DLwIwyggvCsqY8Z3PsmvWadY3LBCcVKhVh5Wxm7T/3u0M0t9 cDXi3WJV/HJ4KOSUDJN/v5vYmu87ARWW/cK8Qr2BHNxwanhuGHSMNTK0Iq/tei1aPFKNmi COvg7wSQ23QqZIrmWkl6A9234j6e2ZSfjhq4XK5x01FffO0b5Y+a2+KT1CUtyQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iC4jxxTT; 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=gmail.com X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.76 X-Spam-Score: -3.76 X-Migadu-Queue-Id: 941B61D838 X-TUID: ruae4xEiXYcY --000000000000c7861e05f383b0b8 Content-Type: text/plain; charset="UTF-8" In short, you cannot nest code in verbatim or verbatim in code because they are both terminal (end of the line for nesting). In fact you can't nest anything inside them by their very nature. Anything inside of them cannot have special functionality, even escape codes don't play well in that part of the grammar. There is no way around this because you cannot nest inside things that are by definition terminal. However, from your examples it seems that you can get the effect you are looking for using ~is~ =verbatim= ~in code~. --000000000000c7861e05f383b0b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In short, you cannot nest code in verbatim or verbatim in = code
because they are both terminal (end of the line for nesting).<= /div>
In fact you can't nest anything inside them by their very nat= ure.

Anything inside of them cannot have special functionality= , even
escape codes don't play well in that part of the grammar.
=
There is no way around this because you cannot nest inside
things th= at are by definition terminal. However, from your
examples it seems that= you can get the effect you are looking
for using ~is~ =3Dverbatim=3D ~i= n code~.
--000000000000c7861e05f383b0b8--