From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: isearch.el patch for `M-e' to put point at mismatch position Date: Tue, 17 May 2011 02:14:27 +0400 Organization: JURTA Message-ID: <87fwoe2szc.fsf@mail.jurta.org> References: <79A3EFE6965F48DC99409B8AC2363D2A@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1305584188 6693 80.91.229.12 (16 May 2011 22:16:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 May 2011 22:16:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 17 00:16:23 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QM65P-0004CZ-DR for ged-emacs-devel@m.gmane.org; Tue, 17 May 2011 00:16:23 +0200 Original-Received: from localhost ([::1]:48508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QM65O-0001Dy-Vu for ged-emacs-devel@m.gmane.org; Mon, 16 May 2011 18:16:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QM65N-0001Ds-DV for emacs-devel@gnu.org; Mon, 16 May 2011 18:16:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QM65M-0003Kv-LV for emacs-devel@gnu.org; Mon, 16 May 2011 18:16:21 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]:34493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QM65M-0003Kl-Ha for emacs-devel@gnu.org; Mon, 16 May 2011 18:16:20 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 074306E804C; Mon, 16 May 2011 15:16:19 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id BFF67451C0C6; Mon, 16 May 2011 15:16:17 -0700 (PDT) In-Reply-To: <79A3EFE6965F48DC99409B8AC2363D2A@us.oracle.com> (Drew Adams's message of "Mon, 16 May 2011 14:36:39 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.113.175.8 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139451 Archived-At: > The attached patch makes `M-e' (`isearch-edit-string') put point at the first > mismatch position (or the search-string end if no mismatch). Wouldn't this be too surprising for users? Maybe there should be some visual indication to explain why the cursor is in the middle of the search string? E.g. the same highlighting of the failed part with the `isearch-fail' face. Or more conveniently - activating the region on the failed part, so the user can easily delete it with one keystroke.