From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Questions about isearch Date: Sat, 28 Nov 2015 01:24:36 +0200 Organization: LINKOV.NET Message-ID: <8737vrgh57.fsf@mail.linkov.net> References: <83lh9lx6oi.fsf@gnu.org> <87k2p45k3p.fsf@mail.linkov.net> <83bnafuape.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448666960 31394 80.91.229.3 (27 Nov 2015 23:29:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2015 23:29:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 28 00:29:09 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a2SRw-0004hM-QF for ged-emacs-devel@m.gmane.org; Sat, 28 Nov 2015 00:29:08 +0100 Original-Received: from localhost ([::1]:58907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2SRz-00088x-Dv for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 18:29:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2SRv-00088n-Qa for emacs-devel@gnu.org; Fri, 27 Nov 2015 18:29:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2SRu-0007wd-R0 for emacs-devel@gnu.org; Fri, 27 Nov 2015 18:29:07 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:57631 helo=homiemail-a101.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2SRp-0007wC-56; Fri, 27 Nov 2015 18:29:01 -0500 Original-Received: from homiemail-a101.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a101.g.dreamhost.com (Postfix) with ESMTP id 55A7D117E078; Fri, 27 Nov 2015 15:29:00 -0800 (PST) Original-Received: from localhost.linkov.net (m212-53-115-218.cust.tele2.ee [212.53.115.218]) (Authenticated sender: jurta@jurta.org) by homiemail-a101.g.dreamhost.com (Postfix) with ESMTPA id 6983F117E06C; Fri, 27 Nov 2015 15:28:59 -0800 (PST) In-Reply-To: <83bnafuape.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Nov 2015 10:07:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.253.7 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195420 Archived-At: >> > 3. With the default value t of isearch-hide-immediately, one match in >> > invisible text is not hidden, and remains on display. To repro: >> > >> > emacs -Q >> > C-x C-f etc/NEWS RET >> > C-c C-q >> > C-s require C-s >> > >> > This leaves the match and its surrounding hidden text on screen. I >> > can understand the rationale, but the doc string doesn't say anything >> > about this feature. On the contrary, it says: >> > >> > Whatever the value, all opened invisible text is hidden again after >> > exiting the search. ^^^ >> >> I see no answers to your 3rd question, so I wanted to clarify whether >> this is something new or can you reproduce the same in older versions? > > I don't know if it's new; it probably isn't. And that isn't my > problem; my problem that triggered that question is solely to see that > the documentation of this option is correct and accurate. > > So the only question that bothers me at this time is whether what I > described is the intended behavior, in which case the doc string needs > to be fixed (and in fact I already fixed it to that effect). Or maybe > the doc string is right and the code is wrong. > > Can you tell? I believe this is the intended behavior since the comment of isearch-clean-overlays says this explicitly: ;; This is called when exiting isearch. It closes the temporary ;; opened overlays, except the ones that contain the latest match. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^