From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IEcKAu8j32U4PQAAe85BDQ:P1 (envelope-from ) for ; Wed, 28 Feb 2024 13:15:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id IEcKAu8j32U4PQAAe85BDQ (envelope-from ) for ; Wed, 28 Feb 2024 13:15:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DQLvRakL; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709122542; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sYOqyrztQ1TAUEELNjKtliNjB7re2eqqv40IvUzMibM=; b=SYw8JRu+CpFb5BIOJXEqoZ3Lwt1hOQXx/pY482ngPNT56bWMqFIg8T7ZiaKIhztbMFGxWc mB4P8sChjmoN6HjKDV643vBF4OpCMQsOLqQdq04DLRWyNfWQ1Ap44smB5t7peZ7Cj2njk9 /83Y3ljzryYzdvf6DUUUdWM2iT4FyGII/vvQ+bnLQrdugZIzUIl1a/h0lwEGLSwZDLCooY LhpZyJXv4JCavU4GkLWqEqeY4zA2teFekMXwfg0HO8e58VkTnUdoTcOF+TXGCTPDDS7JlP 4F0qNQChXinlm7wbFqLNBgoBrERQ7bJp9PiVJLO0JJgH0qAXlh0rmzOwXH9i7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DQLvRakL; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709122542; a=rsa-sha256; cv=none; b=udfC0gGWkpKf4Y7h73EbfncKkXc3VWLo4sAA5RdQFrjK098A/CsdUTnItlYoaZGIf5FrJV LSuc7Bl3SYqb9nDwb19rz46W1TGcP06ph5NzLonwnAZ59+1Uka9SDJokh4QEwuU/WQq2Mq 68l09PAHwWQVixsCghT4gg4OlwxmK55BoclTvmiJ6YSgegETYR7AfbkImYuYePm3WL7Q9G gxDBVNzN6OrZBaFEDFFwCQIpHUyGPXYgRCfukH6/PROV7wWpldTdMVsYjDZyFiLGaN+T6o wFT9f5v/he+QmyhUGzq2sbAZ3NDa1QJSsCvBcER+hvNnAiHSu6mm98KWCUzGjw== 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 2B93F6A522 for ; Wed, 28 Feb 2024 13:15:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfIn2-0006N4-80; Wed, 28 Feb 2024 07:12:05 -0500 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 1rfIkg-0003tT-US for emacs-orgmode@gnu.org; Wed, 28 Feb 2024 07:09:36 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfIke-00053N-UB for emacs-orgmode@gnu.org; Wed, 28 Feb 2024 07:09:34 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4685F24002A for ; Wed, 28 Feb 2024 13:09:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709122169; bh=Bypt9M7n5lmsmWTxer8TzQLG7ThzDWX9cvgEeNR39Mk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=DQLvRakLI14tnl6LvQPWrdwmBlSDjwwCnUMc4zLsHUmMT2MLFqrpK7eeHcjUZo210 BxGzq4NTTRTiFOu8qi/s/HHSvKZGHknUImcB5F2FX1RbU9UNHC2pJYwjc0oNW3Fzub ME1Bgf8ZlJZL+wZX6QBGCYLrQmumOjD3PE54jEWEIaAH3PRusMrFd7GnpIgXNlS0gD jIDsShdQlpansR1pAoF49RqtFmHPdqndah3HldKucZW79rRkwlUnwUvuHku8RquL32 QQtPck6zHb5grVQ3xs1arsf7GFgG4vr6iRibRUQJbKznXX7NoGZx8nuikVcPHDLhmM q2IhvUjhkVPyQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TlCp03bSzz6tm4; Wed, 28 Feb 2024 13:09:28 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: Rudi C , emacs-orgmode@gnu.org Subject: Re: org-mode: example blocks are no longer syntax highlighted in emacs In-Reply-To: <3aa4cfa3-9791-4b59-a891-e841facbc73f@gmail.com> References: <87il2cn9ly.fsf@localhost> <3aa4cfa3-9791-4b59-a891-e841facbc73f@gmail.com> Date: Wed, 28 Feb 2024 12:13:21 +0000 Message-ID: <87o7c03hy6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -7.33 X-Spam-Score: -7.33 X-Migadu-Queue-Id: 2B93F6A522 X-Migadu-Scanner: mx11.migadu.com X-TUID: t3hY1asaZsj0 Max Nikulin writes: >>> After upgrading to emacs 29.2 and org 9.7, my example blocks are no longer >>> syntax highlighted in emacs. >> >> Yet, there is no reason to remote it. >> I recovered example block fontification on main. > > At least some people are against the feature: > > https://list.orgmode.org/orgmode/CA+G3_PPYmiiwHYKkgiJDZQ=o7DvaG=0G3aQnPHSBKEMZsOyG-g@mail.gmail.com/T/#u > Tom Gillespie. Re: [DISCUSSION] Refactoring fontification system. Tue, 7 > Jun 2022 21:23:21 -0700. Tom is against babel support for example blocks. However, indicating language and fontification have nothing to do with babel. > I do not mind to have syntax highlighting support for #+begin_example > blocks, but it should be coherent with ox exporters. My idea to unify > #+begin_src and #+begin_example exporters was not meet warmly. It just got no responses, right? I personally did not reply because it was out of scope of that thread. > To notify users that fontification will be lost during export, the > feature may be turned into an opt-in one by adding a defcustom user > option disabled by default and having docstring clearly describing that > language will be ignored during export and users need to suppress > `org-lint' warnings. Colored export might be reasonable to add for example blocks, but we should discuss that separately. Not in this thread. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at