From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WL6mBh8jAWVcgwEAauVa8A:P1 (envelope-from ) for ; Wed, 13 Sep 2023 04:49:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WL6mBh8jAWVcgwEAauVa8A (envelope-from ) for ; Wed, 13 Sep 2023 04:49:03 +0200 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 0C42447E2D for ; Wed, 13 Sep 2023 04:49:02 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=XXaqPHyB; 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=1694573342; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1B0zgTDy2LEpAKWGsqzPs4I5BXsp4HSppNPHix3Lfuc=; b=GO9NZdDDs7QzkA0hRD0ugQMHaMIlh97qEEtTfsAt/CQjTLmQm2aipnQ2bwoEdhyA0mMYrU 6pzeYnEYDC3j4gS3orW1DYh/QaG3pMky97AT1J/WWVtzjpX8axl4IgTwtC01W7wIY+32gE mgsI3uq8JFYV8Ixh+mZ+weMF1PSNkzHuwLkLkgYl2kk6RKjlf2XhSLVxPFJZxNi4RVX7aq 44Unr5HJBRuSdlB1apvy7ukwgtbhHDCzGSJfzWY9dK6Kd7Kvowu27tT6lcKfr+1JgO8+7F QmzLfYGUO31Cw1PN2pxq4QqKTd12xWftlRTKo/GA7w+15v7C3M3UL2eRrwbCJA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=XXaqPHyB; 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-Seal: i=1; s=key1; d=yhetil.org; t=1694573342; a=rsa-sha256; cv=none; b=Nu+5QtgGo5+CrfCq9uEDDzoEujfpIou0KpIy6S3eCLrB70/+shfKUttDGd9fvgsXoVU0Lx CrrMRaJWz/AwMoS1x3URV2DHVVsu4Gj6dCsXctXuJXjWLkCyy19nKhY9BpukgNVva+CukZ 5sE9fE9GVr/9+/yuDZJX3/AL0zFvm7x3r0Xfex8OBLhU3j5iu9n3rC3KcrfbnPGF4HDf/j uWENdQIgeQ3tzeO+eyuSOHF/ar05vjGxL+KPUc3znkrzv3w5IhIAbklYI72MYPR7Alr9Kc TLJTdKvGCj+ekt9rU22kyaxRSSHtK9uBONNhGRohdbsMXwxO2wrN3Q0X94EKoA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgFvF-00032t-2Q; Tue, 12 Sep 2023 22:48:09 -0400 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 1qgFvC-00032L-Ot for emacs-orgmode@gnu.org; Tue, 12 Sep 2023 22:48:06 -0400 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qgFv3-0003CM-4z for emacs-orgmode@gnu.org; Tue, 12 Sep 2023 22:48:06 -0400 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-986d8332f50so840036766b.0 for ; Tue, 12 Sep 2023 19:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694573274; x=1695178074; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc :subject:date:message-id:reply-to; bh=1B0zgTDy2LEpAKWGsqzPs4I5BXsp4HSppNPHix3Lfuc=; b=XXaqPHyBCq897SodLuG9mLYs10r+II+i/hV9aRSeVZXptOHpfi9Nod9NTdx/sml6rz QuYZ8jSmTKPGIdM1ukIwjdKThjITC1Glb4rUoIgBdwb5KA5t2zpWTruF89364AZm3edz 7LnaCRU+mi06eGrQYDCZpXDXpQsxZXWrwFmaNj76RW4b007jvU7T1CxDmShWxaCJH/vy p+fuxI3giK07NxmyohL2GDnuEMW2difKKhBuK8Gt1TCTFW30aKZnWazkEaez2+a7Tc1N QVblFrtCLCapDoKkBHEwongHGNEZU0lrdveqNrkMdJmuNCLhpDjwEAyl+rds2/7VtPVx f+yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694573274; x=1695178074; h=mime-version:message-id:date:subject:to:from:user-agent :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1B0zgTDy2LEpAKWGsqzPs4I5BXsp4HSppNPHix3Lfuc=; b=tVpXrwEr19x0JHNjkZz4Yh+2vw7CutrbQnd1ZwskSHnSdaAxzM4tPR/d4pNVyX4QjQ 6wPIE3sWJBcbTqF68cmNcWl+/8B8kDRPEaBqt65uZUyNRZbw4hTNhoZWTDQkXuBXknGd mi5UgFUik6eS0Te4z9L8pGR3YFq0lJCOZOiSW2w1Y5WTaN9ocBiWJhLBsynoxcpyW3X+ DjXYo9Kiu4Pm4GE2M1C1sPnHuJaif5ZD7/swUtWqf8D3pOMm/OAeZAizumJ+Aae52DKZ naVLX6zkuk+z0OnEe89RFPBEmXljiElBfY43Fb5vEZmWV2DuoFAi5BKxQ4tKndBkaUep xl/Q== X-Gm-Message-State: AOJu0YzmwwRRTNdoD8OPVI7fh9D1GvS8p1Qsrsy0bBvnckN/sNMc3JuH ycCiNzN+ylVqavHPNCZ6i3va1mAOQ7oBEg== X-Google-Smtp-Source: AGHT+IE+hRndfTCABDTCRBK0QKzg8sKnxeR+gx5hSjxoGNcjosL3wmLW/NsuclrHsoa5H8BZ1viclg== X-Received: by 2002:a17:906:5a5e:b0:9ad:8782:3d7 with SMTP id my30-20020a1709065a5e00b009ad878203d7mr809276ejc.51.1694573274428; Tue, 12 Sep 2023 19:47:54 -0700 (PDT) Received: from laptop.lockywolf.net ([2001:470:24:315::102]) by smtp.gmail.com with ESMTPSA id gt33-20020a1709072da100b009ad854daea6sm1858759ejc.132.2023.09.12.19.47.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 19:47:53 -0700 (PDT) User-agent: mu4e 1.10.7; emacs 30.0.50 From: Vladimir Nikishkin 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 Message-ID: <87r0n24wmm.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=lockywolf@gmail.com; helo=mail-ej1-x62c.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, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -1.11 X-Spam-Score: -1.11 X-Migadu-Queue-Id: 0C42447E2D X-TUID: bWeZFx2fNa0N 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)