From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Gillespie Subject: Re: Bug: headlines escape blocks [9.3 (9.3-elpaplus @ /home/tom/.emacs.d/elpa/org-plus-contrib-20191203/)] Date: Sat, 7 Dec 2019 12:31:05 -0800 Message-ID: References: <877e38wfrz.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37646) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idgjX-0002PS-SQ for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 15:31:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1idgjW-0003en-MP for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 15:31:19 -0500 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:33019) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1idgjW-0003XK-9s for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 15:31:18 -0500 Received: by mail-lj1-x229.google.com with SMTP id 21so11364570ljr.0 for ; Sat, 07 Dec 2019 12:31:18 -0800 (PST) In-Reply-To: <877e38wfrz.fsf@nicolasgoaziou.fr> 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: emacs-orgmode@gnu.org Hi Nicolas, Thanks for the reply and pointer to the docs. Given that the headlines are working as expected, is there the possibility to change how the syntax highlighting for source and example blocks works so that it matches the behavior for the verse blocks? Best, Tom On Sat, Dec 7, 2019 at 3:12 AM Nicolas Goaziou wrote: > > Hello, > > Tom Gillespie writes: > > > * Description > > Headlines are not ignored inside of blocks when the headline is not indented. > > > > * Affected versions > > 9.1.9, 9.3 > > > > * Observed behavior > > Lines starting with any headline pattern =*=, =**= etc. are treated as > > headlines inside all block types. Example and source blocks highlight > > as if the text is escaped, diverging from the behavior of org-mode. > > Verse blocks highlight as a headline, in agreement with the behavior. > > This is the expected behaviour. See (info "(org) Literal Examples") > > Regards, > > -- > Nicolas Goaziou