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#8686: 24.0.50; `re-search-backward' does not respect `search-invisible' Date: Tue, 17 May 2011 19:18:31 -0700 Message-ID: References: <8820C074BD1742AB9E87538C601A885D@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1305685155 17999 80.91.229.12 (18 May 2011 02:19:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 May 2011 02:19:15 +0000 (UTC) Cc: 8686@debbugs.gnu.org To: "'Stefan Monnier'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 18 04:19:11 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QMWLu-0002Qd-8T for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 May 2011 04:19:10 +0200 Original-Received: from localhost ([::1]:56851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMWLt-0003XZ-Nh for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 May 2011 22:19:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMWLq-0003XI-Qd for bug-gnu-emacs@gnu.org; Tue, 17 May 2011 22:19:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMWLm-0003HY-56 for bug-gnu-emacs@gnu.org; Tue, 17 May 2011 22:19:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMWLm-0003HU-3R for bug-gnu-emacs@gnu.org; Tue, 17 May 2011 22:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QMWLl-0000Mh-KU; Tue, 17 May 2011 22:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 May 2011 02:19: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.13056851321385 (code B ref 8686); Wed, 18 May 2011 02:19:01 +0000 Original-Received: (at 8686) by debbugs.gnu.org; 18 May 2011 02:18:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QMWLb-0000MH-Hc for submit@debbugs.gnu.org; Tue, 17 May 2011 22:18:52 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QMWLa-0000M6-6W for 8686@debbugs.gnu.org; Tue, 17 May 2011 22:18:50 -0400 Original-Received: from rtcsinet22.oracle.com (rtcsinet22.oracle.com [66.248.204.30]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p4I2Iffe019867 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 18 May 2011 02:18:43 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rtcsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p4I2Ieaw025029 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 May 2011 02:18:41 GMT Original-Received: from abhmt001.oracle.com (abhmt001.oracle.com [141.146.116.10]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p4I2IYcQ020945; Tue, 17 May 2011 21:18:35 -0500 Original-Received: from dradamslap1 (/10.159.53.11) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 17 May 2011 19:18:34 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcwU9cFUP2K1zMDrR6CowpglolUnrQAC6M+w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A090203.4DD32C84.0035:SCFSTAT5015188,ss=1,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 17 May 2011 22:19:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:46538 Archived-At: > > Question: What is the simplest way, from Lisp, to get the "low-level > > C" search functions to optionally respect/ignore hidden text? > > Something like > > (while (and (re-search-forward blabla) > (invisible-p (point))) > ...) > > The same idea can be used with syntax-ppss to skip over > matches that are inside comments/strings. Yes, but why not have this built into the search functions themselves, just as is done for isearch? That was the point/suggestion.