From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cDVyAVHsL2TZPgAASxT56A (envelope-from ) for ; Fri, 07 Apr 2023 12:11:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kAWHAVHsL2R3JAAA9RJhRA (envelope-from ) for ; Fri, 07 Apr 2023 12:11:29 +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 657D82DE6C for ; Fri, 7 Apr 2023 12:11:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkj3W-0006Bw-TL; Fri, 07 Apr 2023 06:10:54 -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 1pkj3U-0006BJ-30 for emacs-orgmode@gnu.org; Fri, 07 Apr 2023 06:10:52 -0400 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 1pkj3S-0005M0-A6 for emacs-orgmode@gnu.org; Fri, 07 Apr 2023 06:10:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id DECDA2403BA for ; Fri, 7 Apr 2023 12:10:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1680862247; bh=e3MZB4ynwesteIevEpWnRdjCKGAzPHJ2JoNviRfZnHA=; h=From:To:Cc:Subject:Date:From; b=jUO640CyGP6wNl5j4BYpZSOpgf/2Yqe+fPJjyEawIdDNMfN89HWureNWTQUPW/Ore gZ2KpHm7SYDvm6ZKhb9lm0EkFxpFNA8FN71lJz1Z6eehh173lgtpsUa4cRvh1gVl5X upMjwyvUVCHmi0CTj2cc1275h1hIWffuCzS/QJAbLFbHvtNz7+7QHpDNBGJi/HJeJq gaXcbwlJjOslH0hukKqhwYwUCPXPxjoMRNvgfr3uoNykrlue7RC8jgOo7skEN4hWRq 0pwpAUnkuL6tiKKZ2hsoQA9lK1W5+hIQsM9h64STFb3sampGm4SyBV+V7A0BeI+h5n G18Ds2FVNRGSw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PtDdz3HzZz6tsb; Fri, 7 Apr 2023 12:10:47 +0200 (CEST) From: Ihor Radchenko To: Nathaniel Nicandro Cc: emacs-orgmode Subject: Re: [PATCH] Handle block-type when checking `org-src-fontify-natively' In-Reply-To: <87zg7lghzz.fsf@gmail.com> References: <87zg7lghzz.fsf@gmail.com> Date: Fri, 07 Apr 2023 10:13:08 +0000 Message-ID: <878rf4knkb.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_H2=-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680862288; a=rsa-sha256; cv=none; b=hU9QjRUcuIMvI5q0rNfI+sZLyKtyQ460+Zr8VKIBbrmN/QXhEw4Ta5v6tb1Cy7GWMcPrzK HMA1g5wNsA3RkmYpxf58aOhILQ8C5xr6q/CDBNGa3RONIAv/K/Y3RVRE8fm+DyGghdlQE3 lNPnTgNS1cHevd9JeXTpodzf8JvZEW7rfrBoqZtQHCXs0mOnEdTfv2bQlLwFOywToOr08h wqZz4IzWhojQLwRcV6RIVCagHdXkLwfNI4qia8cMXSs93cO5vOr+GbuoSqTwvR+Ly0+Mey hUHml1bv0pJlGcCdM/7fKI4ee192GOQrgZawdD80jHF/OgGMWHwgyNPnGw1UWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=jUO640Cy; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680862288; 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=TFgtD4NestdRJjuQ6NiMnDf4OouZsJ6ZDl6VHPzkLOs=; b=Nx3mG49ZtXAppQw5ZCYKzfoX56jXSYFtH5MKZYxU6BzKofeUyJ7VwqmNaJyU9jhfCCK9KW kirytwaMVq3SSBOB1EtbW1VAcUdp0xDtl8e4FYqeBqfUOrCwWRnEth5eVCE+T+SnD9TIom 2L/p2nvLnFH9oqkqKog59d+o/2uGp1CzhuFgSGGql3xU570u/dbsFj923xDbnwDyuAjgZm eYSNw7NGQm3yD2e/4RhcFK11FdIIqjTHBL8IqA5NFsiGILOefnkvncvN7J5rzGWw2TJVSu UxDCqthw/2dz3gi52IF5J+cSUNiXlhh+yScA4+WN4BH8hFyjKuyxVY+iZV0h9w== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=jUO640Cy; dmarc=pass (policy=none) header.from=posteo.net; 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.72 X-Spam-Score: -9.72 X-Migadu-Queue-Id: 657D82DE6C X-TUID: /Xk4G/+tINbk Nathaniel Nicandro writes: > I think I found a bug where the condition for `org-src-fontify-natively` > in `org-src-fontify-meta-lines-and-blocks-1` wasn't handling the block > type. `org-src-fontify-natively` says it should fontify src blocks > only, but the condition didn't have that constraint. Attached is a > patch that adds in the constraint. Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=616e80a9f -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at