From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Org syntax inside verbatim/literal blocks Date: Fri, 09 Aug 2019 22:39:44 +0200 Message-ID: <87wofmf4z3.fsf@nicolasgoaziou.fr> References: <87tvaqduwe.fsf_-_@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41741) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwBfy-0004FM-Nk for emacs-orgmode@gnu.org; Fri, 09 Aug 2019 16:39:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwBfx-00033v-Qp for emacs-orgmode@gnu.org; Fri, 09 Aug 2019 16:39:50 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:47953) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hwBfx-0002xt-Ke for emacs-orgmode@gnu.org; Fri, 09 Aug 2019 16:39:49 -0400 In-Reply-To: <87tvaqduwe.fsf_-_@gmail.com> (=?utf-8?B?IsWgdMSbcMOhbiBOxJtt?= =?utf-8?B?ZWMiJ3M=?= message of "Fri, 09 Aug 2019 21:02:41 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Cc: emacs-orgmode@gnu.org Hello, =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec writes: > I notice that even inside example blocks, some strings are still parsed > as Org syntax, e.g. the asterisk becomes a bogus heading: > > #+begin_example > * _____ > \| @ \ > |_____/ > /\ /\ > #+end_example This is expected. Headlines bind stronger than example blocks. > When I enclose the text in a region and use > `org-insert-structure-template' to surround it with begin and end lines, > a comma is prepended to the asterisk automatically (doc string of > `org-escape-code-in-region' uses the word "append", which is usually > used in the sense of "add to the end", though). > > But all I could find in the manual regarding "verbatim", "escaping" etc. > are sections 12.2 and 16.3, neither of which mentions comma. See "Literal Examples" section, fourth footnote. Regards, --=20 Nicolas Goaziou