From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#60399: 30.0.50; Usage of `isearch-open-invisible-temporary' is not documented Date: Sun, 01 Jan 2023 11:05:08 +0200 Message-ID: <83zgb239rv.fsf@gnu.org> References: <87tu1ev7uu.fsf@localhost> <865yduf73m.fsf@mail.linkov.net> <87mt73afow.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4660"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60399-done@debbugs.gnu.org, juri@linkov.net To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 01 10:06:39 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 1pBuIg-00011L-UC for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Jan 2023 10:06:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBuIB-0007ul-Oq; Sun, 01 Jan 2023 04:06:07 -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 1pBuI8-0007tY-6b for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2023 04:06:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pBuI7-0008H1-6x for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2023 04:06:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pBuI5-000207-U9 for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2023 04:06:01 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Jan 2023 09:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 60399 X-GNU-PR-Package: emacs Mail-Followup-To: 60399@debbugs.gnu.org, eliz@gnu.org, yantar92@posteo.net Original-Received: via spool by 60399-done@debbugs.gnu.org id=D60399.16725639177636 (code D ref 60399); Sun, 01 Jan 2023 09:06:01 +0000 Original-Received: (at 60399-done) by debbugs.gnu.org; 1 Jan 2023 09:05:17 +0000 Original-Received: from localhost ([127.0.0.1]:40269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBuHN-0001z6-GS for submit@debbugs.gnu.org; Sun, 01 Jan 2023 04:05:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBuHL-0001yo-6Z for 60399-done@debbugs.gnu.org; Sun, 01 Jan 2023 04:05:16 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBuHE-0007gR-T5; Sun, 01 Jan 2023 04:05:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iSOFeaD6SyrQRP5QIEdOAkFPE2QR6SYnBMjt0vBE/F8=; b=McEIC3O7mtzm 7aJD9zrlPP3S4AZOAgSfnCbxe+cCozt+TsytZlJE/h137ph9anP2Sr1rD32iNhAXVQl8gtmuSV/Uj zfIuua3yysqMxu8Epr0lppfdCkD5mO+R0nX7RgX2rBmDbmg84izyxoa0pouZtMmCdBdSit3B7gIYF bF8QV3dArd1ycJKQ1pOfuw9xcMbdOGY3Nn7WP9P7s3uOuvUbzE9lnZSeEe7Yw5538N+oI9AITKeE9 9kyQcRn1MUuJp1AyOVatc0WiCTD2V7b/I89EDLq6cCEzNbh7j79bBYMJtl8LcKwzPHmnfVktGMnjK soTOrk/A5v9ppyerBIsYGg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBuHC-0000L0-2S; Sun, 01 Jan 2023 04:05:06 -0500 In-Reply-To: <87mt73afow.fsf@localhost> (message from Ihor Radchenko on Sat, 31 Dec 2022 13:03:11 +0000) 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:252227 Archived-At: > Cc: 60399@debbugs.gnu.org > From: Ihor Radchenko > Date: Sat, 31 Dec 2022 13:03:11 +0000 > > Juri Linkov writes: > > >> ;; Some modes would want to open the overlays temporary during > >> ;; isearch in their own way, they should set the > >> ;; `isearch-open-invisible-temporary' to a function doing this. > >> (funcall (overlay-get ov 'isearch-open-invisible-temporary) ov nil) > >> > >> However, it appears that deleting the passed overlay is, in fact, > >> prohibited. (manifested in > >> https://orgmode.org/list/87pmc4smdg.fsf@fastmail.fm) > >> > >> Is there some detailed information about this feature available somewhere? > > > > I don't know about this function more than you can read from source code, > > but can find two mentions in (info "(elisp) Invisible Text") and > > (info "(elisp) Overlay Properties"). > > Manual provides no more information. > > Would it make sense to mention that overlays passed as an argument of > 'isearch-open-invisible-temporary function must not be destroyed? I've now added a warning to this effect to the comments in isearch-open-overlay-temporary, and I'm therefore closing this bug.