From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#13402: 24.2.92 pretest: bugs in isearch-yank-line in info page. [Patch] Date: Fri, 15 Feb 2013 09:47:10 +0200 Organization: JURTA Message-ID: <87d2w2ggsh.fsf@mail.jurta.org> References: <20130110132530.GA2805@acm.acm> <20130214200937.GA3336@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360914629 23446 80.91.229.3 (15 Feb 2013 07:50:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2013 07:50:29 +0000 (UTC) Cc: 13402@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 15 08:50:50 2013 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 1U6G4I-0006JP-1Q for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Feb 2013 08:50:50 +0100 Original-Received: from localhost ([::1]:60965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6G3y-0007qC-Ei for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Feb 2013 02:50:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6G3r-0007pt-U7 for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2013 02:50:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6G3q-0005cP-1D for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2013 02:50:23 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6G3p-0005cL-Tm for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2013 02:50:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U6G4U-0006Fc-RD for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2013 02:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Feb 2013 07:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13402 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13402-submit@debbugs.gnu.org id=B13402.136091463423992 (code B ref 13402); Fri, 15 Feb 2013 07:51:02 +0000 Original-Received: (at 13402) by debbugs.gnu.org; 15 Feb 2013 07:50:34 +0000 Original-Received: from localhost ([127.0.0.1]:57026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U6G40-0006Eu-Oq for submit@debbugs.gnu.org; Fri, 15 Feb 2013 02:50:33 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:57714 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U6G3w-0006Ej-4w for 13402@debbugs.gnu.org; Fri, 15 Feb 2013 02:50:30 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 31FD3201F6650C; Thu, 14 Feb 2013 23:49:45 -0800 (PST) In-Reply-To: <20130214200937.GA3336@acm.acm> (Alan Mackenzie's message of "Thu, 14 Feb 2013 20:09:38 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) 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.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:71297 Archived-At: > This wrong highlighting is a regression, introduced when a space in a > normal isearch was made to match any sequence of WS characters. Actually this is not a regression. You can see the same in Emacs 23.1 and earlier versions. emacs -Q C-u C-h i Enter path/to/elisp.info g Syntax Table Internals Place point at the start of the second paragraph ("Each entry in a ...."). Attempt C-M-s C-y (isearch-yank-line). The difference is that in Emacs 23.1 it was observable in regexp isearch and now in non-regexp normal isearch. > The solution I propose is NOT to lazy-highlight when the LH region > overlaps with the current match. > > Here is a patch for this change: Thanks, I'll test your patch now. Sometimes I've seen lazy-highlighting under point when the current match was not highlighted. I'll try to recall such test cases (probably occurs when switching to word mode).