From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: how to control isearch for invisible text Date: Sat, 12 Aug 2006 01:30:18 -0700 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155371455 31313 80.91.229.2 (12 Aug 2006 08:30:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2006 08:30:55 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 12 10:30:53 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBotN-0001ub-US for ged-emacs-devel@m.gmane.org; Sat, 12 Aug 2006 10:30:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBotN-0005pQ-Dt for ged-emacs-devel@m.gmane.org; Sat, 12 Aug 2006 04:30:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GBot9-0005pA-Rc for emacs-devel@gnu.org; Sat, 12 Aug 2006 04:30:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GBot8-0005o0-6Z for emacs-devel@gnu.org; Sat, 12 Aug 2006 04:30:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBot8-0005nx-0o for emacs-devel@gnu.org; Sat, 12 Aug 2006 04:30:34 -0400 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1GBoyR-0004TY-Qc for emacs-devel@gnu.org; Sat, 12 Aug 2006 04:36:03 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k7C8UWl1010781 for ; Sat, 12 Aug 2006 03:30:32 -0500 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-75-49.vpn.oracle.com [141.144.75.49]) by rgmgw1.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k7C8UVXJ008175 for ; Sat, 12 Aug 2006 02:30:31 -0600 Original-To: "Emacs-Devel" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:58309 Archived-At: It seems like there should be some way to control whether isearch matches text that is invisible or ignores it. I couldn't find anything on this in either the Emacs manual or the Elisp manual. Is there no such option? I came across `isearch-open-invisible-temporary' in the Elisp manual, but I coudn't tell if that was related. Its explanation speaks of "overlays", even though the rest of the same Info node speaks of text properties (?). Plus, it seems to be a property of the overlay itself, rather than an option for how isearch should treat invisible text generally. If there is no option to control isearch's sensitivity to invisible text, then how about adding one? And adding an isearch keymap binding for toggling the option while searching. It would be a plus if the same option could act similarly for query-replace and occur. For query-replace, perhaps the same toggle binding could be used. Please let me know if something like this is already available. In that case, it probably needs better doc (e.g. Emacs manual).