From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#8679: 24.0.50; wrong isearch highlighting for mismatch Date: Tue, 11 Feb 2014 07:23:26 -0800 (PST) Message-ID: <715a78fd-35fb-41de-b523-5f86484a0369@default> References: <066C4D0D5E9344B6AA56A2F57400BE27@us.oracle.com> <87r47c7plr.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1392132259 29709 80.91.229.3 (11 Feb 2014 15:24:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Feb 2014 15:24:19 +0000 (UTC) Cc: 8679@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 11 16:24:25 2014 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 1WDFCB-0005iX-V4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Feb 2014 16:24:24 +0100 Original-Received: from localhost ([::1]:34210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDFCB-0004Vn-Fv for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Feb 2014 10:24:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDFBz-0004UP-P2 for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2014 10:24:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDFBr-0000mK-7P for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2014 10:24:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDFBr-0000m9-4r for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2014 10:24:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WDFBq-0004bg-Hc for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2014 10:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Feb 2014 15:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8679 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8679-submit@debbugs.gnu.org id=B8679.139213221617664 (code B ref 8679); Tue, 11 Feb 2014 15:24:02 +0000 Original-Received: (at 8679) by debbugs.gnu.org; 11 Feb 2014 15:23:36 +0000 Original-Received: from localhost ([127.0.0.1]:47594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDFBQ-0004an-3K for submit@debbugs.gnu.org; Tue, 11 Feb 2014 10:23:36 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:48784) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDFBO-0004aX-4J for 8679@debbugs.gnu.org; Tue, 11 Feb 2014 10:23:34 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1BFNSsa006623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 11 Feb 2014 15:23:28 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1BFNRFp009713 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Feb 2014 15:23:27 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1BFNRPX016251; Tue, 11 Feb 2014 15:23:27 GMT In-Reply-To: <87r47c7plr.fsf@building.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:85382 Archived-At: > > In this case the mismatch highlighting is inaccurate: > > > > emacs -Q > > C-x b *scratch* > > C-s ZZZZ > > > > The entire search string is highlighted as a mismatch, which is > > correct. > > > > M-e M-a e > > > > So the edited search string is eZZZZ. > > > > C-s > > > > The entire search string, `eZZZZ' is highlighted, even though > > there are matches for the `e'. >=20 > Seems to work for me. Closing. Seems to work for you apparently means little, I'm afraid. Still a bug on Windows, at least. The only difference in the recipe now is that you need not use M-a. The point is that after inserting `e' at the front of the search string, `C-s' still highlights the whole search string, `eZZZZ', instead of highlighting only the mismatch portion, `ZZZZ'. Should be reopened and fixed.