From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#66790: [BUG] org, ispell [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)] Date: Sun, 05 Nov 2023 11:58:46 +0000 Message-ID: <87fs1k5s3t.fsf__3337.24107347138$1699185503$gmane$org@localhost> References: <230017B4-0868-4DF9-B834-72458C55DD82@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39435"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-orgmode@gnu.org, 66790@debbugs.gnu.org To: Kai Jenkins Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 05 12:58:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qzblf-000A41-3S for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Nov 2023 12:58:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzbkv-00023y-4I; Sun, 05 Nov 2023 06:57:29 -0500 Original-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 1qzbkt-00020D-Cc for bug-gnu-emacs@gnu.org; Sun, 05 Nov 2023 06:57:27 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qzbkr-0003oZ-GW for bug-gnu-emacs@gnu.org; Sun, 05 Nov 2023 06:57:27 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qzblS-0003v9-6A for bug-gnu-emacs@gnu.org; Sun, 05 Nov 2023 06:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Nov 2023 11:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66790 X-GNU-PR-Package: emacs Original-Received: via spool by 66790-submit@debbugs.gnu.org id=B66790.169918545915040 (code B ref 66790); Sun, 05 Nov 2023 11:58:02 +0000 Original-Received: (at 66790) by debbugs.gnu.org; 5 Nov 2023 11:57:39 +0000 Original-Received: from localhost ([127.0.0.1]:36265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzbl5-0003uW-Cm for submit@debbugs.gnu.org; Sun, 05 Nov 2023 06:57:39 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:49321) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzbl3-0003uG-FU for 66790@debbugs.gnu.org; Sun, 05 Nov 2023 06:57:38 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id AEB4F240029 for <66790@debbugs.gnu.org>; Sun, 5 Nov 2023 12:56:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699185414; bh=/OEdMfuYUSI92tFAMU6wsytKCMU1GuaAY6w0vlS3guQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=CQm7JaoRuFBagywKqMqIr4st/OHZ2dN60HWa4KnAC5PMoeJ816SZ4Df61g9JywSe6 gY1VAI9VlfGVqCVbsDIDmhclJv6d/SrL98VboZZjrxQcJ26NHq8dRf6/O/mzbFZf6k Edd6cgdUf3PsX/24pklUfO9pil4EcRKWqpM+oLy4A7HnmRJeZaf+ZzcnM9tL5aZI6J P8d+QND2LrnzZ/rx88ow7QdTVyrsyoreZMzKrpx/qYV2xw1Se9RSGbmQa74fCaRY+g Zzx/c001VyXrwKDwhxDQtSzDBIVwzVe2NDbAh6sKTegH/o67mOtHHkd3HVU0tYs7ZR ly5jPoy9fVdNA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SNXyY3fHkz9rxD; Sun, 5 Nov 2023 12:56:53 +0100 (CET) In-Reply-To: <230017B4-0868-4DF9-B834-72458C55DD82@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273820 Archived-At: Kai Jenkins writes: > recipe to create bug: > - starting emacs (via. emacs -Q) > - open a new org file > - create a heading (eg. * test) > - write some text under the heading that contains a spelling mistake > - fold the heading with tab > - run M-x ispell > > the bug: > - ispell doesnt unfold the header that has the bug (possible corrections > are shown so it is finding the incorrect word) > - when you exit ispell with C-g the heading is now stuck and will not unfold with tab > - in the buffer theres a message "SUBTREE (NO CHILDREN)" Confirmed. At this point, I feel that supporting isearch + text properties is an uphill battle. I was hoping to contribute isearch.el patch upstream, but apparently numerous other libraries (ispell, regexp-search, evil, swiper) are relying upon invisibility being handled in very specific way, using overlays. Considering that using overlays is no longer slower compared to text properties in Emacs 29+, I am thinking of slowly switching back to using overlays for folding for newer Emacs versions. For your problem, just add (setq org-fold-core-style 'overlays) early in your config. It should fix the issue. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at