From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: query-replace on region highlights too much Date: Tue, 15 Feb 2005 01:18:46 -0500 Message-ID: References: <874qghv4q7.fsf@emptydomain.de> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1108449575 5750 80.91.229.2 (15 Feb 2005 06:39:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Feb 2005 06:39:35 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 15 07:39:35 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D0wMo-0003tr-ID for ged-emacs-devel@m.gmane.org; Tue, 15 Feb 2005 07:39:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0wcV-0003TD-2O for ged-emacs-devel@m.gmane.org; Tue, 15 Feb 2005 01:55:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D0wYh-000245-NI for emacs-devel@gnu.org; Tue, 15 Feb 2005 01:51:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D0wYY-00020s-4o for emacs-devel@gnu.org; Tue, 15 Feb 2005 01:51:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0wYV-0001vF-AT for emacs-devel@gnu.org; Tue, 15 Feb 2005 01:51:32 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D0w6u-00042p-FW for emacs-devel@gnu.org; Tue, 15 Feb 2005 01:23:00 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1D0w2o-0003G6-LR; Tue, 15 Feb 2005 01:18:46 -0500 Original-To: kai@emptydomain.de (Kai =?iso-8859-15?Q?Gro=DFjohann?=) In-reply-to: <874qghv4q7.fsf@emptydomain.de> (kai@emptydomain.de) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33455 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33455 The problem is that the highlighting of the search string is performed in the whole buffer, not only in the region where replacing is going to happen. I wrote the code to handle this. I will install it soon.