From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Štěpán Němec" <stepnem@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org syntax inside verbatim/literal blocks
Date: Fri, 09 Aug 2019 22:39:44 +0200 [thread overview]
Message-ID: <87wofmf4z3.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87tvaqduwe.fsf_-_@gmail.com> ("Štěpán Němec"'s message of "Fri, 09 Aug 2019 21:02:41 +0200")
Hello,
Štěpán Němec <stepnem@gmail.com> 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,
--
Nicolas Goaziou
next prev parent reply other threads:[~2019-08-09 20:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-09 19:02 Org syntax inside verbatim/literal blocks Štěpán Němec
2019-08-09 20:39 ` Nicolas Goaziou [this message]
2019-08-09 21:02 ` Štěpán Němec
2019-08-15 8:13 ` Nicolas Goaziou
2019-08-15 10:16 ` Štěpán Němec
2019-08-17 13:24 ` Nicolas Goaziou
2019-08-17 14:00 ` Štěpán Němec
2019-08-17 14:36 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wofmf4z3.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=stepnem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.