From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#11378: 24.1.50; Suggestion: Let M-i in isearch cycle `search-invisible' Date: Tue, 28 May 2013 15:45:24 -0700 (PDT) Message-ID: <084871f7-9554-450a-863f-52a5b251d7d0@default> References: <87haw32hly.fsf@web.de> <87397m6oxf.fsf@mail.jurta.org> <87y5pcdzxx.fsf@mail.jurta.org> <874nqzgcuk.fsf@mail.jurta.org> <87vcjesccy.fsf@mail.jurta.org> <87lijtcx8m.fsf@mail.jurta.org> <87sj1811tq.fsf@mail.jurta.org> <87vc6222vi.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1369781154 5409 80.91.229.3 (28 May 2013 22:45:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 May 2013 22:45:54 +0000 (UTC) Cc: 11378@debbugs.gnu.org To: Juri Linkov , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 29 00:45:53 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1UhSeP-00076r-Fj for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 May 2013 00:45:53 +0200 Original-Received: from localhost ([::1]:51991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhSeO-0003sP-Ug for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 May 2013 18:45:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhSeH-0003sF-FM for bug-gnu-emacs@gnu.org; Tue, 28 May 2013 18:45:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhSeF-0000mo-85 for bug-gnu-emacs@gnu.org; Tue, 28 May 2013 18:45:45 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhSeF-0000mg-34 for bug-gnu-emacs@gnu.org; Tue, 28 May 2013 18:45:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UhSfW-0001WB-Vq for bug-gnu-emacs@gnu.org; Tue, 28 May 2013 18:47:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 May 2013 22:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11378 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11378-submit@debbugs.gnu.org id=B11378.13697812215828 (code B ref 11378); Tue, 28 May 2013 22:47:02 +0000 Original-Received: (at 11378) by debbugs.gnu.org; 28 May 2013 22:47:01 +0000 Original-Received: from localhost ([127.0.0.1]:38191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UhSfT-0001Vt-HZ for submit@debbugs.gnu.org; Tue, 28 May 2013 18:47:00 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:38141) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UhSfO-0001VW-Ix for 11378@debbugs.gnu.org; Tue, 28 May 2013 18:46:56 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r4SMjRTo008356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 28 May 2013 22:45:28 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r4SMjQ2k027852 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 28 May 2013 22:45:26 GMT Original-Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r4SMjPot020843; Tue, 28 May 2013 22:45:25 GMT In-Reply-To: <87vc6222vi.fsf@mail.jurta.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74628 Archived-At: > > I'll submit a new patch soon that adds a new variable > > `isearch-search-invisible' (or maybe just `isearch-invisible') > > to toggle its value without changing the value of the user option > > `search-invisible'. >=20 > Here is a patch that adds `isearch-toggle-invisible' that > toggles `isearch-invisible' between nil and a non-nil default value > of `search-invisible', i.e. >=20 > if search-invisible is `open' then toggles isearch-invisible > between `open' and `nil' >=20 > if search-invisible is `t' then toggles isearch-invisible > between `t' and `nil' >=20 > if search-invisible is `nil' then toggles isearch-invisible > between `nil' and `open' This is similar to what I've been doing in isearch+.el for several years now. Glad it will be added to Emacs. A major difference is that my code does not hesitate to use the command to toggle the user option value. I realize you consider that a no-no. I think that commands to toggle user options are often a plus, not a minus. (Think minor-mode variables, if that helps. Or think of toggling an option via the options menu.) isearch+.el is here, FWIW: http://www.emacswiki.org/emacs-en/download/isearch%2b.el