From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16493: 24.3.50; (setq search-invisible t) is useless, let's allow to turn visible-mode temporarily on Date: Tue, 30 Apr 2019 08:06:54 +0300 Message-ID: <83r29krsi9.fsf@gnu.org> References: <878uucaun0.fsf@bzg.ath.cx> <871u01zs19.fsf@mail.jurta.org> <87r481fuvk.fsf@bzg.ath.cx> <87k3dtl8lp.fsf@bzg.ath.cx> <87ppcwxiv9.fsf@mail.jurta.org> <87h9xw7puw.fsf@bzg.ath.cx> <87bno3vae9.fsf@bzg.ath.cx> <87zi1nl812.fsf@bzg.fr> <87wowql4sd.fsf@bzg.fr> <87y33snmam.fsf@gmail.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="215477"; mail-complaints-to="usenet@blaine.gmane.org" Cc: bzg@gnu.org, 16493@debbugs.gnu.org, monnier@IRO.UMontreal.CA To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 30 07:08:20 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hLL08-000tv5-2m for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 07:08:20 +0200 Original-Received: from localhost ([127.0.0.1]:39198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLL06-00046M-V3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 01:08:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLKzs-00041Y-VD for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 01:08:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLKzr-0001VN-4m for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 01:08:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55146) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLKzq-0001Uz-7X for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 01:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLKzp-0007jb-Su for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 01:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Apr 2019 05:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16493 X-GNU-PR-Package: emacs Original-Received: via spool by 16493-submit@debbugs.gnu.org id=B16493.155660083129653 (code B ref 16493); Tue, 30 Apr 2019 05:08:01 +0000 Original-Received: (at 16493) by debbugs.gnu.org; 30 Apr 2019 05:07:11 +0000 Original-Received: from localhost ([127.0.0.1]:40457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLKz1-0007iC-82 for submit@debbugs.gnu.org; Tue, 30 Apr 2019 01:07:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLKz0-0007ei-0s for 16493@debbugs.gnu.org; Tue, 30 Apr 2019 01:07:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLKyt-0000eU-1T; Tue, 30 Apr 2019 01:07:04 -0400 Original-Received: from [176.228.60.248] (port=1757 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hLKys-00048W-3g; Tue, 30 Apr 2019 01:07:02 -0400 In-reply-to: <87y33snmam.fsf@gmail.com> (message from Noam Postavsky on Tue, 30 Apr 2019 00:34:41 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158478 Archived-At: > From: Noam Postavsky > Date: Tue, 30 Apr 2019 00:34:41 -0400 > Cc: 16493@debbugs.gnu.org, Stefan Monnier > > I was thinking all this complication could be avoided if we just allowed > (overlay-put OVERLAY 'invisible nil) to make text visible. But we already do: overlay-get returns nil in that case, and the text is revealed, so the original code before your proposed changes already does the job. What am I missing? Some context where the above doesn't work?