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#19353: 25.0.50; Lazy Highlighting Date: Thu, 11 Dec 2014 22:12:12 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1418332397 3899 80.91.229.3 (11 Dec 2014 21:13:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2014 21:13:17 +0000 (UTC) To: 19353@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 11 22:13:10 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 1XzB2r-0007gq-5M for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2014 22:13:09 +0100 Original-Received: from localhost ([::1]:54345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzB2q-0005hz-Mj for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2014 16:13:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzB2l-0005ht-HB for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:13:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzB2k-00023V-NK for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:13:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzB2k-00023R-Jp for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XzB2k-0006v0-Ab for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Dec 2014 21:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19353 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.141833234926550 (code B ref -1); Thu, 11 Dec 2014 21:13:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Dec 2014 21:12:29 +0000 Original-Received: from localhost ([127.0.0.1]:43268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzB2D-0006uA-9Y for submit@debbugs.gnu.org; Thu, 11 Dec 2014 16:12:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51344) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzB2B-0006tv-Bc for submit@debbugs.gnu.org; Thu, 11 Dec 2014 16:12:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzB25-0001rV-95 for submit@debbugs.gnu.org; Thu, 11 Dec 2014 16:12:22 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzB25-0001rR-6n for submit@debbugs.gnu.org; Thu, 11 Dec 2014 16:12:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzB24-0005g4-5x for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:12:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzB1y-0001qJ-AD for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:12:20 -0500 Original-Received: from mail-ob0-x22e.google.com ([2607:f8b0:4003:c01::22e]:47888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzB1y-0001q7-43 for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:12:14 -0500 Original-Received: by mail-ob0-f174.google.com with SMTP id nt9so5494070obb.5 for ; Thu, 11 Dec 2014 13:12:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=GlybLLHRajMTOPPAc+50JAINCzvO+bA2VI8ezkI+Jak=; b=phkC2g68xlcNryMg+T2JMqE3exEdWL4EaCTvIjYPnNXY1eLIFzHLI9NVTjWwoglgVR 6k/auJl9kI62zZ3J98VOCGEUTlDTOJmjzn1jPu01KMfwosba4MuuBC3OB8v6uvmH1AIf WxhEBGho2mqus85qx7EG4sz4hpcCgj04THd4neFj05O/cJG7XC0uCfEdhoo+xRAxt2W5 KdOp5d0Q05Foc57bt+XPWIdeDhVTNH4fg6Y7M6k1cekBBn7ilx06925MUDnXKrYuGj3J D7YapsUkmGxovVeiXa2uhpIftbdYoN4Cw7GoboO+wn2lpAKtcrctxaGSXHlZluf8Z7D7 jX1A== X-Received: by 10.202.207.194 with SMTP id f185mr3129826oig.1.1418332332893; Thu, 11 Dec 2014 13:12:12 -0800 (PST) Original-Received: by 10.60.47.84 with HTTP; Thu, 11 Dec 2014 13:12:12 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:97233 Archived-At: Recipe: 0. emacs -Q 1. Create and empty buffer. 2. Write there this text (without the hyphen lines): -------------- fat cat path too book cool -------------- 3. Place point just after the "a" in "path". 4. Type: C-s a t Here, the "at" in "path" is not highlighted at all. Wrong: it should be lazy-highlighted because it's one match of the current search string, that can be reached by repeating "C-s". This bug becomes more obvious if you type "C-s" several times at this moment. 5. Place point just after the first "o" in "cool". 6. Type: C-s o o This second scenario is similar: the "oo" in "cool" should be lazy-highlighted, because it's a match. Well, in this case the second "o" in "cool" cannot be (and is not) lazy-highlighted because it's the current (partial) match, and the Isearch face must take precedence over the lazy-highlighting. But still, the first "o" in "cool" should be lazy-highlighted. Now type another "C-s", and you will see: * The "oo" in "too" highlighted as the current match (correct). * The "oo" in "book" lazy-highlighted (correct). * The "oo" in "cool" not highlighted (wrong: should be lazy-highlighted). In GNU Emacs 25.0.50.1 (i686-pc-mingw32) of 2014-11-30 on LEG570 Repository revision: 3517da701ea5d16c296745d6678988b06bee615d Windowing system distributor `Microsoft Corp.', version 6.3.9600 Configured using: `configure --without-dbus --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1' -- Dani Moncayo