From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= Subject: Bug: org-block face isn't applied to special blocks Date: Sat, 29 Feb 2020 21:05:30 +0100 Message-ID: <42749c98-ddfe-bad4-43a5-1119e24972bd@posteo.eu> Reply-To: sebastien.miquel@posteo.eu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46985) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j88Mi-0001RG-Td for emacs-orgmode@gnu.org; Sat, 29 Feb 2020 15:05:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j88Mh-0004uB-IC for emacs-orgmode@gnu.org; Sat, 29 Feb 2020 15:05:36 -0500 Received: from mout01.posteo.de ([185.67.36.65]:34375) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j88Mh-0004sX-33 for emacs-orgmode@gnu.org; Sat, 29 Feb 2020 15:05:35 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id B24D416005E for ; Sat, 29 Feb 2020 21:05:31 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48VHT71npqz6tm9 for ; Sat, 29 Feb 2020 21:05:31 +0100 (CET) Content-Language: 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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).