emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vladimir Nikishkin <lockywolf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [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 10:43:55 +0800	[thread overview]
Message-ID: <87r0n24wmm.fsf@laptop.lockywolf.net> (raw)

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	other threads:[~2023-09-13  2:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-13  2:43 Vladimir Nikishkin [this message]
2023-09-13  4:15 ` [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/)] note meta
2023-09-13  8:01   ` Ihor Radchenko

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r0n24wmm.fsf@laptop.lockywolf.net \
    --to=lockywolf@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).