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#14729: 24.3.50; Isearch oddity Date: Sat, 29 Jun 2013 19:22:37 +0200 Message-ID: References: <87mwqbay6p.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1372526589 11904 80.91.229.3 (29 Jun 2013 17:23:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Jun 2013 17:23:09 +0000 (UTC) Cc: 14729@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 29 19:23:09 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 1Usyrb-0003vZ-Sg for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Jun 2013 19:23:07 +0200 Original-Received: from localhost ([::1]:41118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Usyrb-0006en-8E for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Jun 2013 13:23:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsyrY-0006eW-7O for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2013 13:23:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsyrW-00062O-VS for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2013 13:23:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsyrW-00062K-Q8 for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2013 13:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UsyrW-0006sQ-9M for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2013 13:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Jun 2013 17:23:02 +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.137252656626403 (code B ref 14729); Sat, 29 Jun 2013 17:23:02 +0000 Original-Received: (at 14729) by debbugs.gnu.org; 29 Jun 2013 17:22:46 +0000 Original-Received: from localhost ([127.0.0.1]:48457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UsyrF-0006rn-Ss for submit@debbugs.gnu.org; Sat, 29 Jun 2013 13:22:46 -0400 Original-Received: from mail-la0-f42.google.com ([209.85.215.42]:39622) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UsyrD-0006ra-Ic for 14729@debbugs.gnu.org; Sat, 29 Jun 2013 13:22:44 -0400 Original-Received: by mail-la0-f42.google.com with SMTP id eb20so3155992lab.1 for <14729@debbugs.gnu.org>; Sat, 29 Jun 2013 10:22:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=knfAjwwma+29e8oI1jZaFSJaftNPJeXra5AHfV3TG2o=; b=QmYrh4K3/PJelmfGJE3Yv2HusMrBbmmmTVMcOP0Er6v6c00KeIy5t85Pv2SWFOCmE9 mMPNOxQVaXEDWkPrCYenBTI5Mcr6Dmf7AAM5x761wfHjU/N8GuyLy/swE739QnvPQi16 xSMZzL+iAmgtZ8shuMWxKN7Pg8dOclAnwzW4yBzY5mq3cVPb1DRSkgQ0OZX+/HLl/9qg MmJByIJCYVcK1Q0flintHsyi7oTwehppRpKrf8ktqjPHSXsiqvYMhHB9fB5ayC0g3Zx4 rd6OSNeXdulXjmpi1sTytMktuMJttM+fto6dC25BoK5XAiohblBUbvtG0yWiWbIcG/za XOhA== X-Received: by 10.112.180.164 with SMTP id dp4mr8687099lbc.68.1372526557335; Sat, 29 Jun 2013 10:22:37 -0700 (PDT) Original-Received: by 10.114.75.35 with HTTP; Sat, 29 Jun 2013 10:22:37 -0700 (PDT) In-Reply-To: <87mwqbay6p.fsf@mail.jurta.org> 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:75720 Archived-At: On Fri, Jun 28, 2013 at 1:44 AM, Juri Linkov wrote: >> Recipe from "emacs -Q": >> M-< b u f C-s C-s f e r > > I guess this key sequence should be rather: > > M-< C-s b u f C-s C-s f e r > > Is this what you meant? Yes, of course. Silly mistake on my part. >> After that, the echo area indicates that, in the current Isearch, I'm >> looking for "buffer", and I've found the "buf" part, but not the >> remaining "fer". >> >> That makes no sense, because that cannot happen in the current buffer, >> where every instance of "buf" is followed by a "fer". > > This is an interesting state of the search. The search is failed, > so it assumes that adding more characters to the failed search should > leave the search in the failed state. Isn't this logically correct? Of course it is correct. If there is not match for FOO, obviously there will be no match for FOOBAR. > What do you expect it to do in this case? 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. ------------ [1] Think of "C-s" within an Isearch session as "repeat the current search, but starting at the current point location". -- Dani Moncayo