From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 iCjlNwIerGNSRAAAbAwnHQ (envelope-from ) for ; Wed, 28 Dec 2022 11:44:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WNQjNwIerGNQXAEAG6o9tA (envelope-from ) for ; Wed, 28 Dec 2022 11:44:18 +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 64459107F1 for ; Wed, 28 Dec 2022 11:44:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pATuB-0000OS-Kz; Wed, 28 Dec 2022 05:43:27 -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 1pATu9-0000OD-80 for emacs-orgmode@gnu.org; Wed, 28 Dec 2022 05:43:25 -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 1pATu7-000792-2R for emacs-orgmode@gnu.org; Wed, 28 Dec 2022 05:43:24 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1AB4224028C for ; Wed, 28 Dec 2022 11:43:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1672224201; bh=6riIkHjuUb4LF3CMBNG1WnqhOsLKU1yzN4ACeSwebbE=; h=From:To:Cc:Subject:Date:From; b=GuRF6CW8ZnO9A4Gm9GxPyfUwjbbzqi4xe7I2LTFhCn5vhr8RiXkquhYx2nA7abbGU FYsf7BSTuoO1mOBO8z+Qxo8tUDqUbw7Kvmcl3YEJuY9yBoRVoqsB5grIs2z2kKZE6v 1MRW5DbbcHJ9Wxkrw/6FI0Lqh4j4q9NWQB8oJpBmVo6kQVHLRVOpglWO2JiUcdAHL2 unzn3jwJX6VqT92EihPbicVidZVg5/dODP53PLJrBAwe9w7x6+6J3l2PWgogZquRxL 1GdDDO3oTjVBJr9HlBYDFEpJAWvL981WdF2F/FM/Up1Za+0hfKb9HDhWnQTkrDAAFT njdHZsdAprp4w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Nhp5d59YZz9rxD; Wed, 28 Dec 2022 11:43:17 +0100 (CET) From: Ihor Radchenko To: Matt Lundin Cc: emacs-orgmode@gnu.org Subject: Re: [Bug] isearch errors when org-fold-core-style is 'overlays In-Reply-To: <87pmc4smdg.fsf@fastmail.fm> References: <87pmc4smdg.fsf@fastmail.fm> Date: Wed, 28 Dec 2022 10:43:08 +0000 Message-ID: <877cyb95c3.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672224258; 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=2LYWKMxj3muDblChEeJh4/G9tjFkoOtQSV1CuZTl+J8=; b=Bg5+5bMGjSsxCPa+FH9YFpHkxD14QvPA4bkRzrIsK0tnFnhxomKr5RK5HUTByhPTs9jfjJ zOpEKPURZPFnq7+xQ/XhZ8yk8Bnb1Zr+YLj80uPhFvcNJSSGBw1Yyyhxfh1rH47YWh6ysJ D5MGaqjR71PhbtmqTG6Kj0ToTABDASDhQwPtVPdBoJdV38k4u6xMd/82sI4D0SSf0mAnu0 +hgIiWgv4AUeN66UCU/kMRvzW/hst7Dc8AWtcOgKMZZlwLdPs7xummCWaEMPYo6lnV3R0W qzMBAOdjREAI/0t5zz08Yenzw0DnXBMB8I05p3IklsNF2Dg+FnG+Tgc5ssACEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GuRF6CW8; 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672224258; a=rsa-sha256; cv=none; b=ouwbaM8Albq6GgWENxeEQGHYfCt53NG/JHs4d34afkOMLTJwqurlCmO7vCXPIv0NCsGXAz s8pWod60yFXR2KXUKPcxs4GQ0LEeFB2v3K2PcWzPMeoTgLBJWwYctUFzcU9gq1M6qovhRz vNyIv3EPzk0S8KpGKLzxa7+wkS27v0JAnkNxrjtLwT2buoeyD985TwNXKt82JBmJugGVQC fkLP5wIIZAFFY3DP0snZS5P3lVo5oIQFA5a2BdjMUtYt9e6SpB7qaJDBvt/0mATXX2cekG xeIlfcBeU8BSPPy0DyyawqigeMDQ0SuF15yhgsWgggEMEY1zz+MVFpEadZzqrg== X-Spam-Score: -4.47 X-Migadu-Queue-Id: 64459107F1 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GuRF6CW8; 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: scn1.migadu.com X-Migadu-Spam-Score: -4.47 X-TUID: +4cxijBagqH/ 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