From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MOtWH4/xel8JawAA0tVLHw (envelope-from ) for ; Mon, 05 Oct 2020 10:12:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2LNJG4/xel+3ZwAAbx9fmQ (envelope-from ) for ; Mon, 05 Oct 2020 10:12:31 +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 011639400C9 for ; Mon, 5 Oct 2020 10:12:30 +0000 (UTC) Received: from localhost ([::1]:57626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPNTo-0005QH-8M for larch@yhetil.org; Mon, 05 Oct 2020 06:12:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPNSh-0005Q3-VD for emacs-orgmode@gnu.org; Mon, 05 Oct 2020 06:11:19 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:57853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPNSf-00054n-Uf; Mon, 05 Oct 2020 06:11:19 -0400 X-Originating-IP: 213.207.159.45 Received: from kronos (unknown [213.207.159.45]) (Authenticated sender: public@protesilaos.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id F3E2EC0016; Mon, 5 Oct 2020 10:11:13 +0000 (UTC) From: Protesilaos Stavrou To: Bastien Subject: Re: [PATCH] Adaptive Org faces in headings? References: <878sii4yj7.fsf@protesilaos.com> <871rje9qkf.fsf@protesilaos.com> <87k0x3l4h2.fsf@gnu.org> <87o8mbxxdr.fsf@protesilaos.com> <87363gn72q.fsf@localhost> <87ft78he8m.fsf@gnu.org> <875z81dp71.fsf@gnu.org> Date: Mon, 05 Oct 2020 13:11:11 +0300 In-Reply-To: <875z81dp71.fsf@gnu.org> (Bastien's message of "Sat, 26 Sep 2020 08:31:14 +0200") Message-ID: <87tuv9c79c.fsf@protesilaos.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=217.70.183.198; envelope-from=info@protesilaos.com; helo=relay6-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/05 06:11:15 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham 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: , Cc: Org-mode , Ihor Radchenko 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: 3.29 X-TUID: MxkDnTvGNsu5 On 2020-09-26, 08:31 +0200, Bastien wrote: > Bastien writes: > >> Ihor Radchenko writes: >> >>> The attached patch seems to fix the issue. >> >> Applied as 979e82fc3, thanks a lot! > > Also, marking the initial bug report as closed, thanks again. Sorry to re-open this issue. The following change extends Ihor's patch to also cover checkbox statistics. Seems to work just fine on my end. Thanks again! #+begin_src diff lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 425e9391b..23c86ba0c 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5684,7 +5684,7 @@ needs to be inserted at a specific position in the font-lock sequence.") 1 'org-checkbox prepend) (when (cdr (assq 'checkbox org-list-automatic-rules)) '("\\[\\([0-9]*%\\)\\]\\|\\[\\([0-9]*\\)/\\([0-9]*\\)\\]" - (0 (org-get-checkbox-statistics-face) t))) + (0 (org-get-checkbox-statistics-face) prepend))) ;; Description list items '("^[ \t]*[-+*][ \t]+\\(.*?[ \t]+::\\)\\([ \t]+\\|$\\)" 1 'org-list-dt prepend) #+end_src -- Protesilaos Stavrou protesilaos.com