emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] src and example blocks do not properly escape headings [9.6.6


From: note meta
Subject: Re: [BUG] src and example blocks do not properly escape headings [9.6.6 (release_9.6.6 @ /usr/share/emacs/30.0.50/lisp/org/)]
Date: Wed, 13 Sep 2023 12:15:50 +0800

hi,

I think you might use a comma.

See here https://orgmode.org/worg/org-syntax.html#Blocks

Lines beginning with an asterisk or #+ must be quoted by a comma (,*, ,#+).

Zhen


Vladimir Nikishkin <lockywolf@gmail.com> 于2023年9月13日周三 11:59写道:
Hello, everyone,

My MWE is the following:

```
Hello, preamble.

* Heading one

body one

#+begin_src org
* heading 2
#+end_src

#+begin_example
* heading 3
#+end_example

#+begin_verbatim
* heading 4
#+end_verbatim


```

Clearly, "heading 2", "heading 3", and of course, "heading 4" should not
be considered headings of the original document. However, here they are
treated as normal headings, in particular, they are not just breaking
the folding logic, they are even breaking the detection of begin_*/end_*
blocks.

I have a feeling that this was not the case in the past...?

Emacs  : GNU Emacs 30.0.50 (build 1, x86_64-slackware-linux-gnu, GTK+ Version 3.24.31, cairo version 1.16.0)
 of 2023-07-31
Package: Org mode version 9.6.6 (release_9.6.6 @ /usr/share/emacs/30.0.50/lisp/org/)
--
Your sincerely,
Vladimir Nikishkin (MiEr, lockywolf)
(Laptop)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]