From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wKHuDpl8wWIiUQEAbAwnHQ (envelope-from ) for ; Sun, 03 Jul 2022 13:25:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MH3+DZl8wWKqqwAAG6o9tA (envelope-from ) for ; Sun, 03 Jul 2022 13:25:13 +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 CEC4F3BC82 for ; Sun, 3 Jul 2022 13:25:12 +0200 (CEST) Received: from localhost ([::1]:60892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7xix-0002WJ-Qd for larch@yhetil.org; Sun, 03 Jul 2022 07:25:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7xiH-0002W8-GR for emacs-orgmode@gnu.org; Sun, 03 Jul 2022 07:24:30 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:39721) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7xiF-0000KB-P9 for emacs-orgmode@gnu.org; Sun, 03 Jul 2022 07:24:29 -0400 Received: by mail-pg1-x536.google.com with SMTP id q140so6453541pgq.6 for ; Sun, 03 Jul 2022 04:24:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=e3inARm3/+pi7Cy3XL4ZaWMrYh0qeKY7AIvFc5mpjos=; b=UZDtXJ1ehHHW6UtbtMef9keyJwOp6hfCF3Q2si7Af9NKUigJXT8J3OjA+7ujDz4mNo G0+ocA4EpnaNAbZW3ke7A6VwhsJNChyhu77z1snYjlmpQEsaP3ftSHykzM5U/SkLDbjz f8i+sXCF9Eaf3+j2cj1bD4rOdJ7j6wVn+pMlHtaUjs3fybzohOHLpDAjmuFK+uTbjoHg d/Z20ElWikCAzRRFzwEInv8bc/iGul33/xvflWbNFYphqKwabPL0zx5gu38jcb/heSrn UtgOmzcxsAMeWV5hFkzxsf4anhRpC+qVeMViUItJAibqOxkVmpOKINVOHoTBErON02kg Kk+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=e3inARm3/+pi7Cy3XL4ZaWMrYh0qeKY7AIvFc5mpjos=; b=cgGRuvGUqF6xCH5QHveskd0Pi1Vyz5neybqMuDZkNbLgJ9iC/Y82qsVTARRh737kPk Q3zzhFnGIgyq0vx2OT05VFAiUE0xUcYPtCR7iopNDuLR4FYfvNJ/NCt1nuLGcb7kcWzA eO59f1OeKIzJSwtlkb4cqt3RHNpntqAvbJhVVDY8Qh670d0Hrtf8BIuuPISJweGGYKNC dho5gTyFKnrGAUM9OVe9441CEdn4ldyPPSqZlFuALzV3WU/Dgt2ja/wEOc0XLHw/LFoh zKHb1bom972eZjbt3EstgOidNwQW7KPE7HJjPQnZyDViwurdbDvSBuKXzQn1nNYynX0M Lppg== X-Gm-Message-State: AJIora9ZA1sfmAajtKf0KIlX0pDdaE2Z/KVa1KoEN6qSFjGWHh4sRNHW um4LkVQHNqaZmEI0hfi1rzc= X-Google-Smtp-Source: AGRyM1tQkVUt+Li/KfnY+7A524IYhCuocToTVGAfNzm8lySE2k9UPGRQswkFug84XeIsamZiIr+/Sw== X-Received: by 2002:a63:35c4:0:b0:40c:99f6:8889 with SMTP id c187-20020a6335c4000000b0040c99f68889mr19871112pga.387.1656847465409; Sun, 03 Jul 2022 04:24:25 -0700 (PDT) Received: from localhost ([104.223.86.8]) by smtp.gmail.com with ESMTPSA id x9-20020a1709027c0900b0016b8a72740dsm11793698pll.222.2022.07.03.04.24.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Jul 2022 04:24:24 -0700 (PDT) From: Ihor Radchenko To: numbchild@gmail.com Cc: Org Mode Subject: Re: [BUG] inline src_lang code is not fontified on headline In-Reply-To: <62c170f6.1c69fb81.59d94.214bSMTPIN_ADDED_BROKEN@mx.google.com> References: <62c170f6.1c69fb81.59d94.214bSMTPIN_ADDED_BROKEN@mx.google.com> Date: Sun, 03 Jul 2022 19:25:33 +0800 Message-ID: <87edz2h1zm.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=yantar92@gmail.com; helo=mail-pg1-x536.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656847512; 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=e3inARm3/+pi7Cy3XL4ZaWMrYh0qeKY7AIvFc5mpjos=; b=cPmIYHgsQVKBEEi8ZdOgeiGLAUOxCC68eBvXOoFGfCJ2cRtIsc9NTK51/6pTEakAtegvIW ieop97/Y3MhIqIIQ02O2IwkrRSqBRPrHGDSjWkQ8MkqgAwMO6rGZLiKtI+yVibPXrNqMIu dHG7PlGYs0rhr3cMI9SxJJh4yBRbvGnlGOHBbUy5luj+N1r0gCacQR9zMjW08csKmrpARN gx/HGx7PoYf5vwZjvldBKKQXZHBLlt+giy/r7UeQPh2G7oo69ssLXWMIcDZv8OYGvjoeEs anCO7SmW2Aps2/clCrKHxfWjYF+uscK5qP9yv0yC7dfa7w8l7eKmU5GJaytIWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656847512; a=rsa-sha256; cv=none; b=V/Hgp9Q2J/l17NbvJQnjLDRQJWOnWKcZ4QAbSa4iGPoqgLAWLbGQfbYzk2vS/cWkjk6Vrw CjFp2D0K0D3soiV6aJDwQg2P5Lm3J4T/qNysnImeuTVwYogWC60n0YL3HWBV70HZteOzCt L620dwFXE/kytMjOQebrHN3dve+l1kCEhUwEYLlxORs3PIpupT8QDlrzKHhHad08Atj+aO ivairiW4+lkyyIfuDIr5vE+wrgIc2o11hdiN7XLQYwKFRX7OaefDbM/llqDgLrA+EU2w4v XKlNaAg+UPXAYMDriMZFuyvMMxb8hgBVPbCnSPJbq+oaNKTAjH22KhQXJXaT/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UZDtXJ1e; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -9.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UZDtXJ1e; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: CEC4F3BC82 X-Spam-Score: -9.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: dEzEBfi7sTGl "Christopher M. Miles" writes: > The src_lang code fontification is normal in content, but not correctly > fontified on headline. > > There is a screenshot in attachment. Thanks for reporting! Note that a major rewrite of Org fontification is WIP. See https://orgmode.org/list/87ee7c9quk.fsf@localhost AFAIU, your example should work correctly with the new fontification. You can check yourself using the WIP feature/org-font-lock-element branch from https://github.com/yantar92/org Best, Ihor