From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oIooKlDCz2Pj0gAAbAwnHQ (envelope-from ) for ; Tue, 24 Jan 2023 12:34:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EPUvKlDCz2MGJAAA9RJhRA (envelope-from ) for ; Tue, 24 Jan 2023 12:34:40 +0100 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 202C9320DD for ; Tue, 24 Jan 2023 12:34:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKHYj-0007uV-65; Tue, 24 Jan 2023 06:33:49 -0500 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 1pKHYc-0007uA-Un for emacs-orgmode@gnu.org; Tue, 24 Jan 2023 06:33:43 -0500 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 1pKHYb-0005uI-9f for emacs-orgmode@gnu.org; Tue, 24 Jan 2023 06:33:42 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A5D6F24060F for ; Tue, 24 Jan 2023 12:33:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674560018; bh=EZ9YTv0TDdFoXAZwN/DusZOIuLQOX8jNow9C9AbQcDk=; h=From:To:Cc:Subject:Date:From; b=Ego3MLi8gdRud61t68bCnbjZlyTYJ1ch5394UBvZ/UzYKmqclJtUPeFHdK1Dx6c9C 1G2/XMXSjG8Id0VltqbOARSV1D6w2zmwu78M8gsNeBKaHWu6odS0MspWxDBBgSZrUJ x/ncfOkUNLF1fsWgkuuG2RamBs92QntRCOEpkID5TW6uZSZp8/Sb/3sfVhweMHsh1M LWBLGS+u+hWcnfmUeTYa4/HaJVVImFFsfZ9ooO8n8GpzbRp9uub/rurujRqJNB4t6J Hz7tDZ+2torSBPPXxnt9zgZxARWeQmgvcjnXNNebRJkT+LvZIXoKZtraTIiCP+JHT+ OcMk6RfJHLDrQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P1PxD3r8kz9rxN; Tue, 24 Jan 2023 12:33:36 +0100 (CET) From: Ihor Radchenko To: Philipp Kiefer Cc: "emacs-orgmode@gnu.org" Subject: Re: [Bug] 'org-font-lock-extra-keywords' appear next to the parent heading when its subtree is folded. In-Reply-To: References: Date: Tue, 24 Jan 2023 11:34:05 +0000 Message-ID: <875ycw5fpu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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, 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=1674560080; a=rsa-sha256; cv=none; b=qHnUr1EJI5b4zXTGMsmlTmIMidZZnwDvRkkS6BIwDzSbnT2GXfMvfAmKrS8T+76Gyy6s+s DifdW+0gdBeiy1HYANmca+zVACSRWE2dynWggV96oadEBwNtnWc/WpfD6KonraZmwaYC7e HUu+aNYiTaOhuehmIa4uFAB656quf2nJs7vkYXX9Tq4hhQrGjjMe4ATFp0yDdjZvhZXQxu 0mQrkn8PW8vrcqK2boTdWRwfWXFVrhsisMORnzlEaiu7N8QaLtRBM3TTLGg1MXQjHx1zND 5K3cD62MtxX64l3mrj6RG1G/dyq7jK73BiJ6+yWerfuyOGTKbNlZ3A40IFoQLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674560080; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=64R3+c1HQGhCOt+HChlsZFvuuExeSPVi2X2Z3pvpYCA=; b=uTOGyJJauRyufkMvuLPZODlgA5jk1oZza7LBWXD/veri0dklylAWZ146dWfCAeZmwXscxd M2VwyRVU4Q9WkJsGCGqw+EK6DqTV3H6tv5iqgROE6QF7eOHtz7KeyMiyjdPQOwRgk+ZNZh Kt2OCPOCLE5ONvpTjYDCBiSXd7oqM/YjcQkBYmeNquQoyATvWMj4xFBidX52YsVVUJbJxI M1o0tSN30mhcUYUMFTflWSLtP0WtaVW+7rAHMuBsoOt7vfXHf6jX4NVVBYmK0mGrakeSX1 3do28W+Pnv4HZhEUEij3BgdK5+xkgRIkbuKCHh6Ez4xXhR17iggHdysdnP07GA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ego3MLi8; 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"; dmarc=pass (policy=none) header.from=posteo.net X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -6.65 X-Spam-Score: -6.65 X-Migadu-Queue-Id: 202C9320DD Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ego3MLi8; 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"; dmarc=pass (policy=none) header.from=posteo.net X-TUID: MqQ1Q97Jr2BD Philipp Kiefer writes: > Org mode version 9.6.1, GNU Emacs 27.2 (build 1, x86_64-w64-mingw32) > > Please see the two screenshots here for illustration: > > https://imgur.com/a/7EuUi0J > > (I'm assuming it's not a good idea - or not even possible - to send=20 > e-mail attachments to the list?) Quite the opposite - attachments are preferred when they do not have large size. With attachments, the thread can be understood by the readers years later, when whichever image hosting you use dwindles. > This is the relevant code from my init.el that seems to be causing this=20 > issue: > > (require 'org-habit nil t) ; relevant? > (defun org-add-my-extra-fonts () > =C2=A0 "Add alert and overdue fonts." > =C2=A0 (add-to-list 'org-font-lock-extra-keywords=20 > '("\\(=C2=B3\\)\\([^\n\r\t]+\\)\\(=C2=B3\\)" (1 '(face org-habit-alert-fa= ce=20 > invisible nil)) (2 'org-habit-alert-face t) (3 '(face=20 > org-habit-alert-face invisible nil))) t) You set 'invisible text property to nil, which tells Emacs - make the text visible. Emacs obeys. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at