From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible' Date: Thu, 28 Apr 2016 12:48:05 +0200 Message-ID: <87k2jiovq2.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1461840615 24526 80.91.229.3 (28 Apr 2016 10:50:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2016 10:50:15 +0000 (UTC) Cc: 8686@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 28 12:50:03 2016 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 1avjW9-0006x8-Oi for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 12:49:57 +0200 Original-Received: from localhost ([::1]:47910 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avjW9-00075F-8d for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 06:49:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avjVL-0005dC-F9 for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 06:49:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avjVG-0001tk-EK for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 06:49:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avjVG-0001tc-Ag for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 06:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1avjVG-0003WP-1A for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 06:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Apr 2016 10:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8686-submit@debbugs.gnu.org id=B8686.146184049813470 (code B ref 8686); Thu, 28 Apr 2016 10:49:01 +0000 Original-Received: (at 8686) by debbugs.gnu.org; 28 Apr 2016 10:48:18 +0000 Original-Received: from localhost ([127.0.0.1]:51277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avjUY-0003VC-CO for submit@debbugs.gnu.org; Thu, 28 Apr 2016 06:48:18 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:35098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avjUX-0003V3-7R for 8686@debbugs.gnu.org; Thu, 28 Apr 2016 06:48:17 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avjUM-0000wq-Mf; Thu, 28 Apr 2016 12:48:11 +0200 In-Reply-To: (Drew Adams's message of "Tue, 17 May 2011 15:09:28 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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: 208.118.235.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:117030 Archived-At: "Drew Adams" writes: > My impression is that `re-search-backward' and `*-forward' do not > respect `search-invisible'. This makes it difficult if not impossible > to use them in code to not find matches in hidden text. Why would this > variable be respected only in the Isearch Lisp code? What am I missing? Well, `search-invisible' is documented as only applying to interactive searches: ---- search-invisible is a variable defined in =91isearch.el=92. Its value is =91open=92 Documentation: If t incremental search/query-replace can match hidden text. A nil value means don=92t match invisible text. ---- If you want code not to match invisible text, you have to make your code check for the visibility. Closing. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no