From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WPMnMp+f7mOiAgAAbAwnHQ (envelope-from ) for ; Thu, 16 Feb 2023 22:26:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8C4TMp+f7mMZawAAauVa8A (envelope-from ) for ; Thu, 16 Feb 2023 22:26:55 +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 5D6F8EA25 for ; Thu, 16 Feb 2023 22:26:55 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=e5pJ3sxL; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676582815; a=rsa-sha256; cv=none; b=J8NgZ/J8dR6LVt2KGIDYw559i/FQ7AUynIAuOmJNQp54IQfgo03C4mz7GfQiiHUpmjj70x lq8DEXbvr4OozXyH7xNyYPwLA4EkzAa6MJ8x3gm5659kwqSn9jn6OmldEHGTSVxUb7fMxx jwbraTMUqR4/3KCk+8WZTm9pvBsU0Brjll69nH+QJJ/pXHSYLRehWodLsTxmBjwXDrQuDK QdGETEw//AN6U3mHzj5jP3S4OgPP8gQg5JwJxDF4B6yfotNfoRJyMe3X8E71XVSghD9+IT +rL5cBJsiTdhxQUnUKBFK1o06eXBdzF3Dtxh1+DETDn/6U9iiK3v1POc0/bdig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=e5pJ3sxL; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676582815; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7vGvBw+Kl7VMFDJ44mwanxQoqPy/dbv8+TQIk5XHhkY=; b=sEQEk8rTdsBmmLvKHk1hfaND+MsnhdrSEzpUnOohXPTVVqoksE5p6wTCJZOOCYMjSBt6k8 sivoO8VHW28IbHgpwweA7TeQvb7JJkYiXYOeV1ssLyc3TrrBSDJRSWYM9uMl1hczKdYP+x CXrccPD9ofg6ULCDtlSHjf1F9w76bNohTqoqZ2NtxfuJ8KImu7+8eoRf+nIMdFCVuPKxJU WJGD3rDXUyQxnNqysG2yVIkhoH3CejvIHEewsrFAGQ+FcqZ/+t+Jz4f0Y1/8rFMovkb8Gf r/Ym/hVtBj4oCJidCuehzeWcs8cksizajstkKtm0hzFa2uMcVt0yZWotGiOLUw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSllo-0000HX-Lx; Thu, 16 Feb 2023 16:26:24 -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 1pSlln-0000H0-CW for emacs-orgmode@gnu.org; Thu, 16 Feb 2023 16:26:23 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSlll-0007ZE-8v for emacs-orgmode@gnu.org; Thu, 16 Feb 2023 16:26:22 -0500 Received: by mail-wr1-x42c.google.com with SMTP id m10so3128162wrn.4 for ; Thu, 16 Feb 2023 13:26:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=D2YmoH30s/OLJqsKyIHLLisHpEJnPwCmyp1kAf9UoHo=; b=e5pJ3sxLrH7T9w3Mk81BxLiyUvJXxt8Jfb9lnfQ5srMIyLLXmaS9A11ChQ58j2qgXC cot3RVuMgmIVNWf3FvX3Cp9PpxRyWTaY5r2WP5VBm7eB/MTwnaW7u1ZXK7OS3VWUtvEI rdloxQsKnf3INdOYb2ssXmo1S9impWd998LrGnSpnOl119Cc9/omQV4CNBLxTDfPCZ34 nOYGkbjMJ+98OloIe8s6jrBZnpYEE4fpqDp/m72gFEYJKFn7O1cTu4YMQLZ9zpE+wN7T ZqJFRRLpCwXYS8X9Wu77oznO6RTu5Vsk/8mH8wVQFEZBNJen4SaeTC2cFymfO4PVa+36 ZL0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=D2YmoH30s/OLJqsKyIHLLisHpEJnPwCmyp1kAf9UoHo=; b=4OSt+CmvteqJCPPFLtQYbAvW6Shy3lk5CHupaMKalfJNZxJliBis8tWPqddIl0k6cQ WJl//qvj8sUbjBCFkjzxa2rybsuSTS8SDkkGxkgZQJ1UnIe8XQMtx55BN1B3bNJuvr83 9H0KZYE1bnp1nQdUAkD1ET+qGGSHeaBwvaNqDCT5Dth+VWuwB4RlAF3DddnzYnqnHU51 Ftaq7pFkxIsc4eY4cjmblVBjXFQJU/VkHgLfhqfC+vPCBKAHRnvqspTCPFoIpJ80+OSX 4CDS7IdKKLnwDBRMD+uc5vnkpA/2WXGeo/OK+F5jx7GqbSVVxgvM4DGOd39GeA/+SdG9 YRng== X-Gm-Message-State: AO0yUKUN5yQr9shrKIsAbftMppHrMs/0bfGWr97QwiKZsA+HIbmvwEpW 9QeTEVHQggxolg4sU7A1yMRPRPsHUv4= X-Google-Smtp-Source: AK7set/z2xUJhWbBjD2JrpkmFoazMTSjw1Y04H934OZPA18WDmOsRxVPI2hoJCnEIqQo/Y4oWnVD9A== X-Received: by 2002:a5d:4284:0:b0:2c5:594d:d9f7 with SMTP id k4-20020a5d4284000000b002c5594dd9f7mr5551809wrq.63.1676582779206; Thu, 16 Feb 2023 13:26:19 -0800 (PST) Received: from [192.168.178.58] ([195.52.179.229]) by smtp.gmail.com with ESMTPSA id s10-20020a5d6a8a000000b002c54c7153f0sm2487384wru.1.2023.02.16.13.26.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Feb 2023 13:26:18 -0800 (PST) Content-Type: multipart/mixed; boundary="------------9J6jhmYQo0Z4fdoV8DErHEc3" Message-ID: <96becf12-9a5a-2fc2-0105-a41528be1f66@gmail.com> Date: Thu, 16 Feb 2023 22:26:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [Bug] 'org-font-lock-extra-keywords' appear next to the parent heading when its subtree is folded. Content-Language: de-DE To: emacs-orgmode@gnu.org References: <875ycw5fpu.fsf@localhost> <6595faf6-08d8-bffc-de28-a46dc46923e3@gmail.com> <87mt67olh5.fsf@localhost> <29a87ef7-c094-8885-6ae6-2548563c7583@gmail.com> <78025786-639a-9ddd-bd7c-400f5e84da53@gmail.com> <87y1ppwt9v.fsf@localhost> From: Philipp Kiefer In-Reply-To: <87y1ppwt9v.fsf@localhost> Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=phil.kiefer@gmail.com; helo=mail-wr1-x42c.google.com X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.351, 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: X-Migadu-Queue-Id: 5D6F8EA25 X-Spam-Score: -0.52 X-Migadu-Spam-Score: -0.52 X-Migadu-Scanner: scn0.migadu.com 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-Flow: FLOW_IN X-Migadu-Country: US X-TUID: K8KV6LvMR/A1 This is a multi-part message in MIME format. --------------9J6jhmYQo0Z4fdoV8DErHEc3 Content-Type: multipart/alternative; boundary="------------JIucGJyoxVcq0GtiX0sg1VK4" --------------JIucGJyoxVcq0GtiX0sg1VK4 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Ihor, Sorry for the delay, but I had to weed out my init.el to make sure none of the settings were interfering with the problem I was describing. Please find attached a sample Org file with the bug description and steps to reproduce the issue at the bottom of the file. (Also pasting it in here: Collapse all trees, then start at the bottommost heading, and use ^c^p repeatedly to go up through the headings to the top. Point will jump right over Trees 2 and 3 to 1.) I can reproduce with this minimal init.el using Emacs GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)  of 2021-03-26 and Org mode version 9.6.1: ----- (desktop-save-mode 1) (setq org-hide-emphasis-markers t) (with-current-buffer " *load*"   (goto-char (point-max))) ------ I use the last command ("with...") to skip all the rest of my init.el. The problem goes away when I set org-hide-emphasis-markers to nil. A further and likely related issue is that point often jumps to the beginning of the next line when I click the mouse to position point at the end of a heading. This can not be reproduced in the sample file, I think, but I could send you a screencast showing the problem. This issue also goes away when setting org-hide-emphasis-markers to nil. Thanks for looking into this and please let me know if you can reproduce or have any further questions. Best regards, Philipp On 26.01.2023 10:15, Ihor Radchenko wrote: > Philipp Kiefer writes: > >> ... >> If any of the conditions listed above are untrue, e. g. I set >> 'org-hide-emphasis-markers' to nil, or remove the markers from heading A >> the problem goes away. >> >> I hope you can reproduce it based on this description. > I would help if you provided an example of the described heading. > --------------JIucGJyoxVcq0GtiX0sg1VK4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi Ihor,

Sorry for the delay, but I had to weed out my init.el to make sure none of the settings were interfering with the problem I was describing.

Please find attached a sample Org file with the bug description and steps to reproduce the issue at the bottom of the file. (Also pasting it in here: Collapse all trees, then start at the bottommost heading, and use ^c^p repeatedly to go up through the headings to the top. Point will jump right over Trees 2 and 3 to 1.)

I can reproduce with this minimal init.el using Emacs GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)
 of 2021-03-26 and Org mode version 9.6.1:

-----

(desktop-save-mode 1)
(setq org-hide-emphasis-markers t)
(with-current-buffer " *load*"
  (goto-char (point-max)))

------

I use the last command ("with...") to skip all the rest of my init.el. The problem goes away when I set org-hide-emphasis-markers to nil.

A further and likely related issue is that point often jumps to the beginning of the next line when I click the mouse to position point at the end of a heading. This can not be reproduced in the sample file, I think, but I could send you a screencast showing the problem. This issue also goes away when setting org-hide-emphasis-markers to nil.

Thanks for looking into this and please let me know if you can reproduce or have any further questions.

Best regards,

Philipp

On 26.01.2023 10:15, Ihor Radchenko wrote:
Philipp Kiefer <phil.kiefer@gmail.com> writes:

...
If any of the conditions listed above are untrue, e. g. I set 
'org-hide-emphasis-markers' to nil, or remove the markers from heading A 
the problem goes away.

I hope you can reproduce it based on this description.
I would help if you provided an example of the described heading.

--------------JIucGJyoxVcq0GtiX0sg1VK4-- --------------9J6jhmYQo0Z4fdoV8DErHEc3 Content-Type: text/plain; charset=UTF-8 Content-Disposition: attachment; filename="test.org" Content-Transfer-Encoding: base64 KiAxDQoqKiAxLjENCioqKiAxLjEuMQ0KKioqKiAxLjEuMS4xDQoqKioqIDEuMS4xLjINCioq KiAxLjIuMQ0KKiogMS4yDQoqICoyKg0KKiogMi4xDQoqKiogMi4xLjENCioqKiAyLjEuMg0K KiogMi4yDQoqICozKg0KKiogMy4xDQoqKiogMy4xLjENCioqKiAzLjEuMg0KKioqIDMuMS4z DQoqKiAzLjINCiogDQoqIENvbGxhcHNlIGFsbCB0cmVlcywgdGhlbiBzdGFydCBkb3duIGhl cmUsIGFuZCB1c2UgXmNecCByZXBlYXRlZGx5IHRvIGdvIHVwIHRocm91Z2ggdGhlIGhlYWRp bmdzIHRvIHRoZSB0b3AuIFBvaW50IHdpbGwganVtcCByaWdodCBvdmVyIFRyZWVzIDIgYW5k IDMgdG8gMS4NCg== --------------9J6jhmYQo0Z4fdoV8DErHEc3--