From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#10887: 24.0.93; lazy-highlighting in `query-replace' after a word-type Isearch Date: Mon, 27 Feb 2012 14:22:57 +0100 Message-ID: References: <87d3904ibw.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1330349008 5450 80.91.229.3 (27 Feb 2012 13:23:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2012 13:23:28 +0000 (UTC) Cc: 10887@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 27 14:23:27 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S20Xz-0008Sp-0n for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2012 14:23:23 +0100 Original-Received: from localhost ([::1]:49889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S20Xx-00057y-Qq for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2012 08:23:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S20Xq-00057q-JO for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 08:23:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S20Xp-0002rG-DW for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 08:23:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S20Xp-0002rA-9E for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 08:23:13 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S20aZ-0004lb-Tr for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 08:26:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2012 13:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10887-submit@debbugs.gnu.org id=B10887.133034915418307 (code B ref 10887); Mon, 27 Feb 2012 13:26:03 +0000 Original-Received: (at 10887) by debbugs.gnu.org; 27 Feb 2012 13:25:54 +0000 Original-Received: from localhost ([127.0.0.1]:59232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S20aP-0004lD-CU for submit@debbugs.gnu.org; Mon, 27 Feb 2012 08:25:53 -0500 Original-Received: from mail-tul01m020-f172.google.com ([209.85.214.172]:41516) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S20aL-0004l0-8X for 10887@debbugs.gnu.org; Mon, 27 Feb 2012 08:25:50 -0500 Original-Received: by obbeh20 with SMTP id eh20so1185093obb.3 for <10887@debbugs.gnu.org>; Mon, 27 Feb 2012 05:22:57 -0800 (PST) Received-SPF: pass (google.com: domain of dmoncayo@gmail.com designates 10.182.160.65 as permitted sender) client-ip=10.182.160.65; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dmoncayo@gmail.com designates 10.182.160.65 as permitted sender) smtp.mail=dmoncayo@gmail.com; dkim=pass header.i=dmoncayo@gmail.com Original-Received: from mr.google.com ([10.182.160.65]) by 10.182.160.65 with SMTP id xi1mr4872101obb.40.1330348977715 (num_hops = 1); Mon, 27 Feb 2012 05:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=f4NNBjiawH64WMDonjLADz2YFEEJppm6Q4xpQSsogjw=; b=hrof1mLsQDQTf52LmBmjOKAhzltlEQxwfuuacZd0P6VdXieXsZuPm12Cjmdn/uRVQV rcAv8i8KTykuBlkZe5+SF5DJLjAKG/Tp2e9DUUSYTggCIbBMEzUmMPKk+ImUGQuRkkiE 17WVOvSk4yTxZU7/ZcPL/2UEGB8LvacpuZ6nk= Original-Received: by 10.182.160.65 with SMTP id xi1mr4362599obb.40.1330348977670; Mon, 27 Feb 2012 05:22:57 -0800 (PST) Original-Received: by 10.60.42.193 with HTTP; Mon, 27 Feb 2012 05:22:57 -0800 (PST) In-Reply-To: <87d3904ibw.fsf@mail.jurta.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:57300 Archived-At: >> Recipe from "emacs -Q": >> 1. aa bb RET RET aa RET bb RET >> 2. C-s M-s w aa bb RET >> 3. M-< >> 4. M-% aa bb RET xx RET >> >> I observe that the "aabb" part is lazy-highlighted, but obviously >> it should not be, because the query-replace will never get there (it's >> doing a normal search, not a word-type one). > > Thanks for the report. =A0For 24.1 it could be fixed with the patch below= . I've done a quick test, and it seems to work. Thanks. > (In 24.2 for the true "word-replace" `replace-highlight' may need a new > argument `word' that will use isearch word mode for lazy-highlighting.) I'm looking forward for this true "word-replace". :) --=20 Dani Moncayo