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: RE: how to control isearch for invisible text Date: Sat, 12 Aug 2006 10:09:44 -0700 Message-ID: References: <857j1e9w44.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155402627 10227 80.91.229.2 (12 Aug 2006 17:10:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2006 17:10:27 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 12 19:10:26 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 1GBx06-0001Tx-Bj for ged-emacs-devel@m.gmane.org; Sat, 12 Aug 2006 19:10:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBx05-0000Wy-NC for ged-emacs-devel@m.gmane.org; Sat, 12 Aug 2006 13:10:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GBwzr-0000VJ-PX for emacs-devel@gnu.org; Sat, 12 Aug 2006 13:10:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GBwzq-0000SO-3r for emacs-devel@gnu.org; Sat, 12 Aug 2006 13:10:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBwzq-0000S9-0i for emacs-devel@gnu.org; Sat, 12 Aug 2006 13:10:02 -0400 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1GBx5E-00053u-S2 for emacs-devel@gnu.org; Sat, 12 Aug 2006 13:15:37 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id k7CH9xtG016563 for ; Sat, 12 Aug 2006 11:09:59 -0600 Original-Received: from dradamslap (dhcp-amer-csvpn-gw1-141-144-65-8.vpn.oracle.com [141.144.65.8]) by rgmgw1.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k7CH9w5E008883 for ; Sat, 12 Aug 2006 11:09:59 -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) In-Reply-To: <857j1e9w44.fsf@lola.goethe.zz> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Importance: Normal 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:58323 Archived-At: > It seems like there should be some way to control whether > isearch matches text that is invisible or ignores it. > If there is no option..., 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. M-x apropos-documentation RET isearch.*invisible RET Thanks. So, now, how about: - documenting `isearch-invisible' in the Emacs manual? - and the Elisp manual? - creating a toggle for it? - having `occur' and `query-replace' respect the option? Also, I'm curious why the treatment of an `invisible' text-property value of `isearch-open-invisible' is limited to overlays. Why shouldn't the same behavior hold for the property if applied directly to text (that is, without an overlay)?