From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EAESBaJuWl8EZAAA0tVLHw (envelope-from ) for ; Thu, 10 Sep 2020 18:21:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WG4BAaJuWl80SQAA1q6Kng (envelope-from ) for ; Thu, 10 Sep 2020 18:21:22 +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 7166E940415 for ; Thu, 10 Sep 2020 18:21:21 +0000 (UTC) Received: from localhost ([::1]:49882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGRCC-0003q8-CN for larch@yhetil.org; Thu, 10 Sep 2020 14:21:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGR96-0000yu-M8 for emacs-orgmode@gnu.org; Thu, 10 Sep 2020 14:18:08 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGR92-0002H8-Tk for emacs-orgmode@gnu.org; Thu, 10 Sep 2020 14:18:08 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A00862400FC for ; Thu, 10 Sep 2020 20:18:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1599761880; bh=CsdaWUWhfaqXgnQlZ++SVBU1lvioC1IRL4bKNW8ygKM=; h=Subject:To:Cc:From:Date:From; b=QJkXX4nFxHePtXl61gomEZfN28TGSyegXUUomHtSVHiNBfc/4crpZa8Ax8JE1sXZC VOQ4TmUcLhn+dsoL1odbfm1YUabl8xfd894DidsFzHFZ9UcCjlzZipLOtGDgn3qISC J18JDWGZp2AP70GzBEJu30KvzHYdVLgkKj5lLUiEZ5UzEtdlnb6fWkAxSn6qyuTmck 3ofyBQCPh2WKw+nEq45XwZlxmBsQm05bUv/4JXC46GIXeQCHm0qmQCIwv6R9+dMib/ cnncQmupGv0UPdFaUpANbUD4yVa7g1mfbUoScv3wJa4tMVtdHOmOV+TflOGuzJ1D+u XVCGXkOzddKVw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BnRvX0hjvz9rxP; Thu, 10 Sep 2020 20:17:59 +0200 (CEST) Subject: Re: Bug: org-block face isn't applied to special blocks To: Bastien References: <42749c98-ddfe-bad4-43a5-1119e24972bd@posteo.eu> <87tuwdh62n.fsf@gnu.org> <878sdmqhh2.fsf@gnu.org> From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= Message-ID: Date: Thu, 10 Sep 2020 20:17:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <878sdmqhh2.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr Received-SPF: pass client-ip=185.67.36.66; envelope-from=sebastien.miquel@posteo.eu; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/10 14:18:01 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -56 X-Spam_score: -5.7 X-Spam_bar: ----- X-Spam_report: (-5.7 / 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, NICE_REPLY_A=-3.576, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action 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: , Reply-To: sebastien.miquel@posteo.eu 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=pass header.d=posteo.eu header.s=2017 header.b=QJkXX4nF; dmarc=pass (policy=none) header.from=posteo.eu; 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: -0.21 X-TUID: S3f8TP5hktse Hi Bastien, As far as I can tell, with 8a083514a7 from master, the situation is now as follows. The org-block face is applied  - to src blocks, when the language is recognized  - to example, export blocks  - to verse and quote blocks, if ~org-fontify-quote-and-verse-blocks~ is ~t~. It isn't applied  - to src blocks, when the language isn't recognized  - to special blocks (that is, blocks with arbitrary names) I make heavy use of special blocks and I'd like this face to apply to them. I think it would make more sense than the current behavior, and is less surprising. (It is also more in line with the previous docstring). (I also think it should apply to unrecognized src blocks) Regards, Sebastien > Hi Sébastien > > Sébastien Miquel writes: > >> Hi Bastien, >> >> With latest org-mode master, and emacs -q, >> run (defface org-block '((t (:background "#494949" :extend t))) "") >> before loading org-mode, >> then visit an org buffer containing the three following blocks. >> >> When I do so, the org-block face only gets applied to the src block, and >> not to the quote block, nor the special block. > Fixed in maint, as 7769518f3. Thanks for the report again, >