From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cCifJ2hoUl9VQgAA0tVLHw (envelope-from ) for ; Fri, 04 Sep 2020 16:16:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CEJ+I2hoUl/SewAAB5/wlQ (envelope-from ) for ; Fri, 04 Sep 2020 16:16:40 +0000 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 446DB940654 for ; Fri, 4 Sep 2020 16:16:40 +0000 (UTC) Received: from localhost ([::1]:43346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEEOF-0000xA-8B for larch@yhetil.org; Fri, 04 Sep 2020 12:16:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEEMd-0007Wf-5u for emacs-orgmode@gnu.org; Fri, 04 Sep 2020 12:14:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45595) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEEMc-0004Re-Is; Fri, 04 Sep 2020 12:14:58 -0400 Received: from lns-bzn-32-82-254-31-120.adsl.proxad.net ([82.254.31.120]:43076 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1kEEMb-0004vT-OM; Fri, 04 Sep 2020 12:14:58 -0400 Received: by guerry (Postfix, from userid 1000) id CA3181A60D40; Fri, 4 Sep 2020 18:14:56 +0200 (CEST) From: Bastien To: =?utf-8?Q?S=C3=A9bastien?= Miquel Subject: Re: Bug: org-block face isn't applied to special blocks Organization: GNU References: <42749c98-ddfe-bad4-43a5-1119e24972bd@posteo.eu> Date: Fri, 04 Sep 2020 18:14:56 +0200 In-Reply-To: <42749c98-ddfe-bad4-43a5-1119e24972bd@posteo.eu> (=?utf-8?Q?=22S=C3=A9bastien?= Miquel"'s message of "Sat, 29 Feb 2020 21:05:30 +0100") Message-ID: <87tuwdh62n.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: UqfDzxZEVnVF Hi S=C3=A9bastien, S=C3=A9bastien Miquel writes: > Afaict, the org-block face isn't applied to special blocks. Its > documentation implies it applies to any block. > > The relevant function is org-fontify-meta-lines-and-blocks-1. > > It may be a simple matter of changing the logic a bit and adding > (add-face-text-property bol-after-beginline beg-of-endline 'org-block > t). Is it still the case with latest master? If so, can you provide a minimal example? Thanks, --=20 Bastien