From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MHJDKT0Dz2PrYQAAbAwnHQ (envelope-from ) for ; Mon, 23 Jan 2023 22:59:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oFshKT0Dz2N3SwEAauVa8A (envelope-from ) for ; Mon, 23 Jan 2023 22:59:25 +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 58E9F38DF for ; Mon, 23 Jan 2023 22:59:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pK4q1-0005bO-Lx; Mon, 23 Jan 2023 16:58: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 1pK4pz-0005b1-Uv for emacs-orgmode@gnu.org; Mon, 23 Jan 2023 16:58:47 -0500 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pK4px-0006Ue-Fj for emacs-orgmode@gnu.org; Mon, 23 Jan 2023 16:58:47 -0500 Received: by mail-ej1-x635.google.com with SMTP id ss4so34155798ejb.11 for ; Mon, 23 Jan 2023 13:58:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=DPeCDpgZaQdSaXoG1QBW5OE4W/LNwUmfebHSdg8w4fY=; b=UNi8U7ByctXJDn1R+7XvwbxvM0r1jfJw+o1Y8zh0y4xBWDIb+FhP7PpDN/fHfOb8GR MKtlxZtOgMDcSVJBav16f5ZKS1HBtexJsLnIEgopfPutCHdh6Gd8MAt+Db178363M0yl lsZ9Y96GE65+2X44MoShD1WxY79YKJ+kgcSTq4SgpZuAzjYOP6gTF41KyV0w48vD9S1O doM0WIsWaXWlKqlr31G0d/HVdFCfFiiOyA9PbF+a+sZY3cpoHsu42Tp2nc1sQ2Kzkw9l wk34SHYmp/9AxyxlXtd/k1gITeOgz/Sll/StJrtgKp0Y5nlr7ONYKv8vBIXGjsvQ75Qh uFHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DPeCDpgZaQdSaXoG1QBW5OE4W/LNwUmfebHSdg8w4fY=; b=KvEZpuDHGWAgSqOOar/Jzc2CbXNxrNYRQDExRlDV/rmYu3SsD4zMtkDDGBGj9vyxyY TPa/3GUsFsp1GKxfeBViEmnugjougPCGcLBfaAWMwL3k3KPH7CdLZonu/6Pxk0VPIPeu W5Pw9Po/Y/07wras0P6+L/Qvork0sAgy97F97tFfobpA/4R1zQoUVYuEN9+iAydKTB6W 23D4N8KY53YekJ+IrVC3zW6aQQTvx5v3hg0mLdcWTSi4yT4kPFcSouX6m8FJ/nwPTo63 o/wZ3DTrNpHjTSnY6ureOmZS2Hdox0WYG5fkWjb6yV6vkIDIQTpaUeh6wr9TIWy7CM/U pbnw== X-Gm-Message-State: AFqh2kqetC6JuRcq25YmxkXygKNsuDP4syVnMzxPj127JqMvkWHtiKzA 7RampDfGW/lZLK4tDpe1Tn1UDuevyCM= X-Google-Smtp-Source: AMrXdXtDwWOwQIZmTUvdu9VWmFAkdJ++xrJSUUZYfAItJbk1cPFK5p1/otaUrIMWAn8PrnpBDAdH2w== X-Received: by 2002:a17:906:4d16:b0:86d:d06f:b403 with SMTP id r22-20020a1709064d1600b0086dd06fb403mr27298852eju.67.1674511123630; Mon, 23 Jan 2023 13:58:43 -0800 (PST) Received: from [192.168.178.58] (55d46bdb.access.ecotel.net. [85.212.107.219]) by smtp.gmail.com with ESMTPSA id o14-20020a17090637ce00b00871390a3b74sm11761146ejc.177.2023.01.23.13.58.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Jan 2023 13:58:43 -0800 (PST) Content-Type: multipart/alternative; boundary="------------geRwTcipp5trbB0h01eSrnwR" Message-ID: Date: Mon, 23 Jan 2023 22:58:37 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: de-DE To: "emacs-orgmode@gnu.org" From: Philipp Kiefer Subject: [Bug] 'org-font-lock-extra-keywords' appear next to the parent heading when its subtree is folded. Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=phil.kiefer@gmail.com; helo=mail-ej1-x635.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674511165; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DPeCDpgZaQdSaXoG1QBW5OE4W/LNwUmfebHSdg8w4fY=; b=lDfQjAj/Thf2wF94ouiUq3ygYfNGnJIK8KLYdUTOeP2I4r4gfutHv/xbC14Men2r3iY1kB VasJWFnAxNA2iqgUQMNt2aihazVdai4/p4IvoxREa/6iECO/bxuWDB82y+D7YA0u7E719N 2FJIjHr4wSHd8322AoSNTm47nDgOXXQ5u34s3WL/FXiIoGBiqzUSNrVqUKMq3lrWGQQ05v 3G8n6x5vggk2Y/5aL7Qp0qZZsDMTH9hzVNWwnCGw6QZ8cnPVsWUqa3hnlt2IZGvXIasHeg 6b7k2Z9zohajWNpT/mQoqEQZ+V72XoiI+CE7mC3UPpUHNMHHQIaS0Yzly4XxkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UNi8U7By; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674511165; a=rsa-sha256; cv=none; b=lqAdtgRamjlmqL8RmWGvxoaaFnlUlWQXBt5nsx7TsJKd5MIdeoQJIATld9yzwUyiL7j+Ex iX8zVbfhVOvTBejO/NAu5nByNdWJoN+akBe2XflUtCYOLoWtzvx4NtA1MWxxsJwocahmfK pZ/YOrodx8AwsQSL6a38DogSx+OxDv0o04xYK00bI6C8STtn+0XlNJ5mFTyAHJQJTNqfRw Ree+5IZMz30vF57rnQ+uKBnlU5NRT7k/79Tr8Fs7xcUqudS8hJTVnTYzJutjhF4uItQZV7 RVB77O7bZz+B2+UGzzoa29y5VH3MG+nbXlS65g8doCEEin93rRILBDqfgQA6JQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UNi8U7By; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.76 X-Spam-Score: -3.76 X-Migadu-Queue-Id: 58E9F38DF X-Migadu-Scanner: scn1.migadu.com X-TUID: PAlmrNw3LkE+ This is a multi-part message in MIME format. --------------geRwTcipp5trbB0h01eSrnwR Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 e-mail attachments to the list?) This is the relevant code from my init.el that seems to be causing this issue: (require 'org-habit nil t) ; relevant? (defun org-add-my-extra-fonts ()   "Add alert and overdue fonts."   (add-to-list 'org-font-lock-extra-keywords '("\\(³\\)\\([^\n\r\t]+\\)\\(³\\)" (1 '(face org-habit-alert-face invisible nil)) (2 'org-habit-alert-face t) (3 '(face org-habit-alert-face invisible nil))) t)   (add-to-list 'org-font-lock-extra-keywords '("\\(§\\)\\([^\n\r\t]+\\)\\(§\\)" (1 '(face org-habit-overdue-face invisible nil)) (2 'org-habit-overdue-face t) (3 '(face org-habit-overdue-face invisible nil))) t)   (add-to-list 'org-font-lock-extra-keywords '("\\(@\\)\\([^\n\r\t]+\\)\\(@\\)" (1 '(face org-habit-clear-face invisible nil)) (2 'org-habit-clear-face t) (3 '(face org-habit-clear-face invisible nil))) t)) (add-hook 'org-font-lock-set-keywords-hook #'org-add-my-extra-fonts) Can you reproduce it? Thanks! --------------geRwTcipp5trbB0h01eSrnwR Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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 e-mail attachments to the list?)

This is the relevant code from my init.el that seems to be causing this issue:

(require 'org-habit nil t) ; relevant?
(defun org-add-my-extra-fonts ()
  "Add alert and overdue fonts."
  (add-to-list 'org-font-lock-extra-keywords '("\\(³\\)\\([^\n\r\t]+\\)\\(³\\)" (1 '(face org-habit-alert-face invisible nil)) (2 'org-habit-alert-face t) (3 '(face org-habit-alert-face invisible nil))) t)
  (add-to-list 'org-font-lock-extra-keywords '("\\(§\\)\\([^\n\r\t]+\\)\\(§\\)" (1 '(face org-habit-overdue-face invisible nil)) (2 'org-habit-overdue-face t) (3 '(face org-habit-overdue-face invisible nil))) t)
  (add-to-list 'org-font-lock-extra-keywords '("\\(@\\)\\([^\n\r\t]+\\)\\(@\\)" (1 '(face org-habit-clear-face invisible nil)) (2 'org-habit-clear-face t) (3 '(face org-habit-clear-face invisible nil))) t))
(add-hook 'org-font-lock-set-keywords-hook #'org-add-my-extra-fonts)

Can you reproduce it?

Thanks!

--------------geRwTcipp5trbB0h01eSrnwR--