From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: how to control isearch for invisible text Date: Sun, 13 Aug 2006 20:00:45 +0200 Message-ID: <85bqqozfaq.fsf@lola.goethe.zz> References: <854pwh3y55.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155492082 24540 80.91.229.2 (13 Aug 2006 18:01:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Aug 2006 18:01:22 +0000 (UTC) Cc: monnier@iro.umontreal.ca, drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 13 20:01:19 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 1GCKH0-0004EM-PE for ged-emacs-devel@m.gmane.org; Sun, 13 Aug 2006 20:01:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GCKH0-0005RD-Co for ged-emacs-devel@m.gmane.org; Sun, 13 Aug 2006 14:01:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GCKGq-0005Qx-9e for emacs-devel@gnu.org; Sun, 13 Aug 2006 14:01:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GCKGo-0005Ql-VI for emacs-devel@gnu.org; Sun, 13 Aug 2006 14:01:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GCKGo-0005Qi-Pa for emacs-devel@gnu.org; Sun, 13 Aug 2006 14:01:06 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GCKMS-0001VN-1x for emacs-devel@gnu.org; Sun, 13 Aug 2006 14:06:56 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1GCKGg-0001OG-Ab; Sun, 13 Aug 2006 14:00:58 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 0FFE31C4D3AD; Sun, 13 Aug 2006 20:00:45 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sun, 13 Aug 2006 13:52:59 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:58360 Archived-At: Richard Stallman writes: > > I think `occur' always makes things visible because it copies text > > and overlays are not copied along, so the invisibility gets lost. I > > do think query-replace should be improved to open invisible text > > just like isearch does. > > I agree that query-replace should show invisible text > when a match occurs inside it. > > Would someone like to implement that? > > What is `preview-open-overlays'? It is not part of Emacs. Part of AUCTeX's preview-latex which replaces LaTeX formulas by their typeset images. Not exactly invisibility, but still requires similar action on search and search&replace so that the user can see what source text he is actually replacing. Its code would not be useful for isearch, but I thought it helpful to point out where I had anchored the advice for this similar task. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum