From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: highlight failed part of isearch input Date: Thu, 12 Jul 2007 13:01:48 +0000 (UTC) Message-ID: References: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1184245283 27920 80.91.229.12 (12 Jul 2007 13:01:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2007 13:01:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 12 15:01:19 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I8yIJ-0006dm-3w for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2007 15:01:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8yII-0003tz-J8 for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2007 09:01:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I8yIB-0003sH-Uz for emacs-devel@gnu.org; Thu, 12 Jul 2007 09:01:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I8yI8-0003pl-TE for emacs-devel@gnu.org; Thu, 12 Jul 2007 09:01:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8yI8-0003pU-P2 for emacs-devel@gnu.org; Thu, 12 Jul 2007 09:01:08 -0400 Original-Received: from cpe-69-204-164-144.nycap.res.rr.com ([69.204.164.144] helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I8yI8-0008FF-6o for emacs-devel@gnu.org; Thu, 12 Jul 2007 09:01:08 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Thu, 12 Jul 2007 13:01:48 +0000 (UTC) In-reply-to: X-detected-kernel: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74689 Archived-At: emacs -Q In a buffer with text abcd, use `C-s abx RET'. Then use `C-s C-s DEL'. For me, it removes the entire search string. isearch-delete-char (`DEL') removes the last entry, whether that be a string of letters or a single letter. The easiest way I know to get a string of letters is with isearch-yank-word-or-char (`C-w'), but typing them in works, too. When I invoke isearch twice without isearch-yank-word-or-char, but put in several characters each time, a single isearch-delete-char (`DEL') removes the last character. Then, when I get to the first part, it removes all of it. ... I withdraw what I wrote. ... If you use `C-s abx C-a' in a buffer with only `abcd', and then you use `C-s C-s C-M-w', the search string is changed from `abx' to `ab', but the prompt/echo still says "Failing", which is not really correct. I think it is a bug. The isearch-forward command correctly says `Failing I-search' the first time it fails. However, use of isearch-del-char (`C-M-w') causes the isearch-forward command to light up the other strings it can find (my test buffer is this message and mentions `ise' several times as part of `isearch') and I can reach them. That is the bug. -- Robert J. Chassell GnuPG Key ID: 004B4AC8 bob@rattlesnake.com bob@gnu.org http://www.rattlesnake.com http://www.teak.cc