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 sM3uJK/Cz2OhrQAAbAwnHQ (envelope-from ) for ; Tue, 24 Jan 2023 12:36:15 +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 uPX1JK/Cz2PUGQAA9RJhRA (envelope-from ) for ; Tue, 24 Jan 2023 12:36:15 +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 50EE632402 for ; Tue, 24 Jan 2023 12:36:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKHao-0000MB-Dh; Tue, 24 Jan 2023 06:35:59 -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 1pKHan-0000Lv-3r for emacs-orgmode@gnu.org; Tue, 24 Jan 2023 06:35:57 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKHal-0006SB-GX for emacs-orgmode@gnu.org; Tue, 24 Jan 2023 06:35:56 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 81250240920 for ; Tue, 24 Jan 2023 12:35:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674560153; bh=l4ln3XfZu0MV6D81Oy9YUG7UfyxiHMai8DtHBWIioig=; h=From:To:Cc:Subject:Date:From; b=Z8jz+y8uQhBJ0f5MWhbaVpMoGDJqemskWW5HEy1aKcCnwZqpIJMDBILTzUxeShcho ouB5gqoGA/4bqutN2wrU4tFkTvED9pcjHOKB92ix9ADj+PBrm7z5VINcqI02YMa4hE QFr8ntmm7LQNWyiwp6T7zaawHmROs1u5DLwIIuDqSHYxGIjPHHnWttMfOi0foIy7Qr 3sNJgyZZAaUyLx+vvf0OFf7d580WL0YAVhde5An4x0ZKg4Qy2sh5ABLEBmEYx/OyYf ZpA4VQF7qGhG4NAicruAuWQdZN7V50IjC7J3L+Cib0QF78CuDJMYlwEbFZtY5mpKkk /vB8xl0Ui/cyA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P1Pzr4dxYz9rxW; Tue, 24 Jan 2023 12:35:52 +0100 (CET) From: Ihor Radchenko To: Ruijie Yu Cc: Philipp Kiefer , 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:36:23 +0000 Message-ID: <8735805fm0.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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, RCVD_IN_MSPIKE_H2=-0.001, 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=1674560175; a=rsa-sha256; cv=none; b=MsprLcN+M7GqDL7XjQfgu5E6iz5Nh5Swjanj2w1WeH3Y3RuIj5UYFx9Xa79ASd8nrivXXv 6/KVBCD6G91uT6JB1XZvmETtS5wTWI76J1z+4EMbax3L3gS5jxKzeNiVZRL/6wIuw1OWGD DozR5J6HL0aUYgOM2tqcWQxKllf2QM+x1u2rk9WjFkfpM7/rmBcSdir4CBz82OSTB0R3Di 4aRt6ekE9RFqT2yhL89mC4sBfcMbdrkZ476HAXxSBDxMQqOqIYHQYwS9y2iGFqdkDQFRCv WWV4qY+OTWsb+pubEcAiHHVrxAXw59Mh+EAL4qfcnFIBwK00UxuYCGadTAZkCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674560175; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OOSVR2jdEOjcHyynNHl3bnW8XJZuHJW05ffhuCVhyn4=; b=LRtl0HxldxuaNs/xUBfzH6e5r6O/nnI7t+20a+nT/9pHEDmLSPh/tTnINnfB9jmagTX3ze YueH0C7uLijFJZmdkkaMCFwMCHgD5ljD7tZQZAdYF+2LnvcVncyvwJnM4weyOBayHsc+1c GQXJCfBQxn9/NcT3B3OXiB0Ggy0ZQRQNBSpP92ED96GpeKZkCYeefaTMtEX11KY/T4zgRs 27uWMKUxKJgTwqvQm8lETGVAQJWi/LmWGeGszkA1/SfuN6wOASgI/CZs9oCv+50QnpMYSQ a6VyBueF+Vx/xpmSgAebYQ8n/SljHeUgBSNPsa4R+rsmemnKwQ8OQGmslu+MhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Z8jz+y8u; 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: 50EE632402 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Z8jz+y8u; 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: GMo3yzy1W5dN Ruijie Yu via "General discussions about Org-mode." writes: > Also, while looking into your init code, I noticed that > `org-font-lock-extra-keywords' seems to be public-facing (as there is no > double-dashes in the name), but has no docstring. Either this variable > was intended to be private, or someone forgot to put a docstring to this > variable. Rather forgot the docstring. But there is at least one in `org-font-lock-set-keywords-hook'. In any case, Org's fontification is going to be rewritten. So, I do not think that we should fix this now and limit the possible changes possible in the new fontification code. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at