From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 0DgpHsT5rGNmZQAAbAwnHQ (envelope-from ) for ; Thu, 29 Dec 2022 03:21:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id M6ETHsT5rGOBNQAA9RJhRA (envelope-from ) for ; Thu, 29 Dec 2022 03:21:56 +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 3D78048AA for ; Thu, 29 Dec 2022 03:21:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAiXi-00019C-Dw; Wed, 28 Dec 2022 21:21:14 -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 1pAiXg-000190-Gb for emacs-orgmode@gnu.org; Wed, 28 Dec 2022 21:21:12 -0500 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAiXe-0003r9-MO for emacs-orgmode@gnu.org; Wed, 28 Dec 2022 21:21:12 -0500 Received: by mail-lf1-x129.google.com with SMTP id y25so25833542lfa.9 for ; Wed, 28 Dec 2022 18:21:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=MQg4n9szu/IybjzphoMCSAfT+NEZ1M9KRB19U9V/U+8=; b=d6ldDgdXgsO36JP73hmRgzBuyZuxDg9WYgKBjyMedW1/jmm+au886cUd2M3uYjotTO mvHAuO8MNSRSw4dMLTW1QXsoY3K7WsCi+qK91QYk+Ta4uxxYiPeDHLlL13GlhZdX3ddQ 7QDtD2oRSXVOV5+MmpvkNiPLVNNAI+AoditZLqRlcRkSWvnPa8gkBnDP7iDF9c0vTfNj 72VITADbDubFyz21et5UuH3q5HXLV38qVFAWgUZOnjZ5QZlvr8xela/COorbm8Bw+Sos HYbVOkgGw4arFSSZ4EstnA3LOU9/EzGfNO6uhDossDArp75nTQ0pQfVfdTJURzGnk6Tq aHOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MQg4n9szu/IybjzphoMCSAfT+NEZ1M9KRB19U9V/U+8=; b=Y/5sm5nP1K/y9l6d2GIitdoNQ8a4gx1BmyV4QmZHEhhR2NQd0Qblnk5c9savDhNfHr 9EwtKR64JhUTJH3dY57EZyc+pgGco1Nv3YuAl51xPmzWyicMJXrKph6ukS6WZ9SrZCK8 QenhuHWuap29yv9Cp/E1YWdB16nUuEtGN88+YBdmChw0S/t84DaSV7NyqLDNOvvr9fV0 TrkAvJiUCHB6ybtbKmy7Vs683v3fuEdhRntw6bSTyC9wXfgqTrCXBKfNqXi4El8YXEwc ats9baP/kik//Xk+1CizRtRNKJdIJmaV4ykUIFr6s8pG+GNTva+2dwOAw9Xz4n6AEzgi Mkqg== X-Gm-Message-State: AFqh2kqdIq7/6ZYXmnWBjnDz41h+L47T+t8E4oMOiu67IqSRZHGEnyO3 /nskJRzATM70wLzwvhYOe22bqVuE6HhViQSFtVY= X-Google-Smtp-Source: AMrXdXvBzH3LPUJs3idOYRDeHsv32OecuWLLV6xPcbMksY/Rbc1Y3RqANSF+9SfCZUsb/blqwOkktFV35D6glfO8E/o= X-Received: by 2002:a05:6512:513:b0:4b5:635c:f330 with SMTP id o19-20020a056512051300b004b5635cf330mr2699006lfb.237.1672280467643; Wed, 28 Dec 2022 18:21:07 -0800 (PST) MIME-Version: 1.0 Received: by 2002:aa6:c266:0:b0:23b:5e81:46ba with HTTP; Wed, 28 Dec 2022 18:21:06 -0800 (PST) In-Reply-To: <877cyb95c3.fsf@localhost> References: <87pmc4smdg.fsf@fastmail.fm> <877cyb95c3.fsf@localhost> From: Samuel Wales Date: Wed, 28 Dec 2022 19:21:06 -0700 Message-ID: Subject: Re: [Bug] isearch errors when org-fold-core-style is 'overlays To: Ihor Radchenko Cc: Matt Lundin , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=samologist@gmail.com; helo=mail-lf1-x129.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, 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-Seal: i=1; s=key1; d=yhetil.org; t=1672280516; a=rsa-sha256; cv=none; b=u/ME+OdnH5kGwbWWgyQEueb8aayT5Y1UV1qH9OCdXFIgYj/66AX2Qtq9QwPcx8SzpaEP8n Oqhtd3OQEQxZVqvcxuKfWSnCfC4NjSLaXnHTcHStNnkDDT5Tl5IDzntVQEv1BDmxg7eg0V m5tpPQvd5aW/p4+5qWxiZMkE3v/vVKEMgWyVL5BPEeZgRxRDpoGqZlAqB+MpSs5UcIrDEa JUSvf8wJdlGszCQzQo3HzVsjxrmmM/27PqFVYfAHYyUdNS1kGPwmR2lRTtxg79+dYMT8vH sDpb1Zuh4qovfQzBd6YwQILS5Vil/caivZ3dC+k5nQYuUkFup3EEsgOB8GgGwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=d6ldDgdX; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672280516; 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=MQg4n9szu/IybjzphoMCSAfT+NEZ1M9KRB19U9V/U+8=; b=ovGYoZb/ca0tmyqAgC3KxYeV3XOmf2OvSPv4PLvyKjJQT5ZJxrjfFGXm7/BOdk3D+f7eNP o0xFfB/b0U/u0lvnzxAQoA75JPIlnV83b2RLvzzhhx3cU7evWGxwRn7tJm2KQT5pwA0B1b DIAlVmqOksZ1E0pJ6g8NSz/bfm1WTe5D1zcxxkz/AF2RBSWj3+9xyZj0ZvIsEbPEcycDp+ fQr/BjrEMNcc00w9gcxw5VGHOd8IC5OHMuOLMFLTvfZ8sNH0tQ1060srFSfDfPA12oJsaJ Z5sr1cMbN5f1yRy+UfEaTwKMlC97H2+VO5mHLQijr5Hm0npUpRMoCrtoKx1Jkg== X-Spam-Score: -5.91 X-Migadu-Queue-Id: 3D78048AA Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=d6ldDgdX; 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=gmail.com X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -5.91 X-TUID: tc2B10AqU9dc possibly related: are links still not searchable with iserch without being in reveal mode or similar? [9.4 here.) On 12/28/22, Ihor Radchenko wrote: > Matt Lundin writes: > >> Here is a minimal recipe for reproducing the bug: >> >> Use a minimal emacs startup file: >> >> --8<---------------cut here---------------start------------->8--- >> (add-to-list 'load-path "~/org-mode/lisp/") >> (setq org-startup-folded t) >> (setq org-fold-core-style 'overlays) >> --8<---------------cut here---------------end--------------->8--- >> >> Open the following file: >> >> --8<---------------cut here---------------start------------->8--- >> * One >> word >> * Two >> word >> --8<---------------cut here---------------end--------------->8--- >> >> Issue #1: >> >> Go to the beginning of headline "Two" when the trees are folded. >> >> Type "M-x isearch word [RET]". > > Confirmed. > Part of the problem is some undocumented behaviour of isearch. > I will need to consult Emacs devs before fixing. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com