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#14729: 24.3.50; Isearch oddity Date: Sun, 30 Jun 2013 00:53:17 +0300 Organization: JURTA Message-ID: <87haggmv72.fsf@mail.jurta.org> References: <87mwqbay6p.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372543631 7526 80.91.229.3 (29 Jun 2013 22:07:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Jun 2013 22:07:11 +0000 (UTC) Cc: 14729@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 30 00:07:11 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 1Ut3IS-00032D-1g for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Jun 2013 00:07:08 +0200 Original-Received: from localhost ([::1]:46985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ut3IR-0007bd-6z for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Jun 2013 18:07:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ut3IN-0007bL-2d for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2013 18:07:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ut3IM-00057t-5c for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2013 18:07:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ut3IM-00057p-2h for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2013 18:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ut3IL-0006i8-Mx for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2013 18:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Jun 2013 22:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14729 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14729-submit@debbugs.gnu.org id=B14729.137254360825760 (code B ref 14729); Sat, 29 Jun 2013 22:07:01 +0000 Original-Received: (at 14729) by debbugs.gnu.org; 29 Jun 2013 22:06:48 +0000 Original-Received: from localhost ([127.0.0.1]:48574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ut3I7-0006hJ-SN for submit@debbugs.gnu.org; Sat, 29 Jun 2013 18:06:48 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:40603 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ut3I5-0006h1-K3 for 14729@debbugs.gnu.org; Sat, 29 Jun 2013 18:06:45 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 70CDA258B9E91C; Sat, 29 Jun 2013 15:06:44 -0700 (PDT) In-Reply-To: (Dani Moncayo's message of "Sat, 29 Jun 2013 19:22:37 +0200") 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.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:75727 Archived-At: > I expect that the fontification of the echo area reflects what is > happening: that the whole search string ("buffer") is unmatched (not > only the last "fer"), since the current search begins just after the > last instance of "buf" in the buffer [1], and there is no match > (neither full nor partial) of the current search string between that > location and the end of the buffer. `isearch-fail-pos' assumes that in a failed state of search a shorter previous successful search string should be taken as a basis for highlighting. In this case, the last successful match was "buf", so an appended suffix is highlighted as failed.