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: isearch.el patch for `M-e' to put point at mismatch position Date: Sat, 10 Sep 2011 09:22:21 -0700 Message-ID: References: <79A3EFE6965F48DC99409B8AC2363D2A@us.oracle.com><87vct1zh4q.fsf@mail.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: dough.gmane.org 1315671757 19344 80.91.229.12 (10 Sep 2011 16:22:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Sep 2011 16:22:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Juri Linkov'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 10 18:22:32 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 1R2QK8-00083v-My for ged-emacs-devel@m.gmane.org; Sat, 10 Sep 2011 18:22:32 +0200 Original-Received: from localhost ([::1]:51238 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2QK8-0002EF-0m for ged-emacs-devel@m.gmane.org; Sat, 10 Sep 2011 12:22:32 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2QK5-0002EA-Ic for emacs-devel@gnu.org; Sat, 10 Sep 2011 12:22:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2QK4-0003fA-GO for emacs-devel@gnu.org; Sat, 10 Sep 2011 12:22:29 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:51344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2QK4-0003f4-9I for emacs-devel@gnu.org; Sat, 10 Sep 2011 12:22:28 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p8AGMPhQ009279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 10 Sep 2011 16:22:27 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p8AGMPXA026427 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 10 Sep 2011 16:22:25 GMT Original-Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p8AGMJ0a030848; Sat, 10 Sep 2011 11:22:19 -0500 Original-Received: from dradamslap1 (/10.159.63.205) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 10 Sep 2011 09:22:19 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcxvsJh6ynJJR6ytRSG5AzA/+9NauQAIqguAAAB/+9A= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4E6B8EC3.0122:SCFMA922111,ss=1,re=-4.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 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:143849 Archived-At: > > Replacing `isearch-message' with `isearch-string' in > > `isearch-fail-pos' will fix this bug. > > Sounds good. Please go for it. Actually, unless I'm missing something that doesn't work either. emacs -Q Insert a few tabs using C-q TAB. Insert `w'. M-<. C-s C-q TAB k Highlighting shows that the TAB char is matched but the `k' char is a mismatch. Now hit M-e. Instead of placing the cursor at the mismatch (just before the `k'), it places it before the TAB, at the beginning of the search string. (Without your fix, the cursor was placed after the `k', which is also incorrect.) Am I missing something?