From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: move to fail position in Isearch edit Date: Tue, 11 Nov 2008 12:16:57 -0800 Message-ID: <004d01c9443a$72957840$0200a8c0@us.oracle.com> References: <001101c943c8$adc09750$0200a8c0@us.oracle.com> <87ljvqdv69.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226435728 8751 80.91.229.12 (11 Nov 2008 20:35:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2008 20:35:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Juri Linkov'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 11 21:36:29 2008 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 1KzzyF-0003S0-7c for ged-emacs-devel@m.gmane.org; Tue, 11 Nov 2008 21:36:19 +0100 Original-Received: from localhost ([127.0.0.1]:55061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kzzx7-0001Fn-IR for ged-emacs-devel@m.gmane.org; Tue, 11 Nov 2008 15:35:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzzwI-0000t8-Rz for emacs-devel@gnu.org; Tue, 11 Nov 2008 15:34:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzzwE-0000qa-Oe for emacs-devel@gnu.org; Tue, 11 Nov 2008 15:34:16 -0500 Original-Received: from [199.232.76.173] (port=34330 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzzwE-0000qN-Mh for emacs-devel@gnu.org; Tue, 11 Nov 2008 15:34:14 -0500 Original-Received: from rcsinet13.oracle.com ([148.87.113.125]:64994 helo=rgminet13.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kzzfu-00008P-St for emacs-devel@gnu.org; Tue, 11 Nov 2008 15:17:39 -0500 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mABKH9Jw029420 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 11 Nov 2008 20:17:10 GMT Original-Received: from acsmt704.oracle.com (acsmt704.oracle.com [141.146.40.82]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mABKGvYg008436; Tue, 11 Nov 2008 20:16:59 GMT Original-Received: from dradamslap1 (/24.23.165.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 11 Nov 2008 20:16:53 +0000 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87ljvqdv69.fsf@jurta.org> Thread-Index: AclEJC/nfFMgI7jGRlmr+9jbwvC4TgACHTBg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt704.oracle.com [141.146.40.82] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4919E837.01A8:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:105579 Archived-At: > > Any interest in this? I bind it to `M-e' in > > `minibuffer-local-isearch-map', so > > `M-e M-e' puts the cursor at the match failure position. > > > > If you type a search string quickly and mistype a char or > > two, this lets you correct the typo without discarding > > and retyping the rest of the search string: > > `M-e M-e C-s'. > > Isn't it more convenient to type a new key to immediately remove the > failed part without entering the minibuffer for editing? For example, > after typing `M-e' (selecting a good key is a difficult issue) it will > remove the failed part of the search string, go to the > previous successful matching point, and all this without activating > the minibuffer. Maybe we're miscommunicating. If you just want to remove the failed suffix, simply use `C-g'. No need for any new feature to do that. This is not about that. This is about keeping the failed suffix but letting you do something at the place where failure starts: delete chars, insert chars. IOW, it's about editing the search string, starting at the position where match failure begins.