From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carsten Mattner Newsgroups: gmane.emacs.devel Subject: Re: ido regression in trunk? Date: Fri, 28 Sep 2012 10:33:37 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1348821226 25056 80.91.229.3 (28 Sep 2012 08:33:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Sep 2012 08:33:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 28 10:33:52 2012 Return-path: Envelope-to: ged-emacs-devel@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 1THW19-0005uG-J6 for ged-emacs-devel@m.gmane.org; Fri, 28 Sep 2012 10:33:51 +0200 Original-Received: from localhost ([::1]:42579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THW14-0003Im-9I for ged-emacs-devel@m.gmane.org; Fri, 28 Sep 2012 04:33:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THW0y-0003IR-EM for emacs-devel@gnu.org; Fri, 28 Sep 2012 04:33:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THW0x-0004Qa-3a for emacs-devel@gnu.org; Fri, 28 Sep 2012 04:33:40 -0400 Original-Received: from mail-ie0-f169.google.com ([209.85.223.169]:46725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THW0w-0004QW-TK for emacs-devel@gnu.org; Fri, 28 Sep 2012 04:33:39 -0400 Original-Received: by ied10 with SMTP id 10so7499590ied.0 for ; Fri, 28 Sep 2012 01:33: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=c2c8d9feqWss315VNeJU0aQ4zvyRF9AYqsnVm/b2IRE=; b=lL1yKU7Px62oQ6CwTdtRULIecPYvdkuqVWomHra44u577UPoOAYq7OT9QHuyq4+7QC AWX5xFAYh3EWhBGTQMkNfaRyDXldxazA9LwLnddCZnkosKsyCuddco5DSegFFwjZF3x6 PBPYuPVpDG76ot6x5WeWz8VQfjH0xR54Ku6flgh470Xgc+vGAcqbBujy+91DjmD/zwiu byjlwS4G4pqUX8YCbDZeJo3OaePVgOO7IAnVlHSAHo1YyICMO/m7cjbem1TTSsw7dDuL RpSJsHyIOEMG2IKYBadCWT/mNE/zyrEYZQGU6rsr/JVvADtFq6X6m6zvjwENcZDgl54L 20kg== Original-Received: by 10.43.106.69 with SMTP id dt5mr5019324icc.49.1348821217134; Fri, 28 Sep 2012 01:33:37 -0700 (PDT) Original-Received: by 10.64.136.243 with HTTP; Fri, 28 Sep 2012 01:33:37 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.223.169 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:153665 Archived-At: On Fri, Sep 28, 2012 at 5:33 AM, Leo wrote: > On 2012-09-28 02:19 +0800, Carsten Mattner wrote: >> Did anyone else notice that opening files with ido enabled >> doesn't work as it did last week in current trunk? >> >> The fuzzy match of file/dir to open always open the first >> item of the list even if I continue typing a more precise >> different sub-directory which is not the first entry of the list. >> >> I cannot imagine this to go unnoticed. > > On 2012-09-28 07:05 +0800, Christopher Monsanto wrote: >> I've noticed this problem as well, very irritating. If the maintainer >> of ido doesn't know what's up, I can do a bisect to find the problem. >> >> Christopher Monsanto >> chris@monsan.to -- http://monsan.to/ > > Sorry to all. It is my fault. I will install the following fix later > today: > > diff --git a/lisp/ido.el b/lisp/ido.el > index d48e7ba8..f511dbbf 100644 > --- a/lisp/ido.el > +++ b/lisp/ido.el > @@ -3701,14 +3701,14 @@ (defun ido-set-matches-1 (items &optional do-full) > (rexq (concat rex0 (if slash ".*/" ""))) > (re (if ido-enable-prefix (concat "\\`" rexq) rexq)) > (full-re (and do-full > - (and (eq ido-cur-item 'buffer) > - (not ido-buffer-disable-smart-matches)) > + (not (and (eq ido-cur-item 'buffer) > + ido-buffer-disable-smart-matches)) > (not ido-enable-regexp) > (not (string-match "\$\\'" rex0)) > (concat "\\`" rex0 (if slash "/" "") "\\'"))) > (suffix-re (and do-full slash > - (and (eq ido-cur-item 'buffer) > - (not ido-buffer-disable-smart-matches)) > + (not (and (eq ido-cur-item 'buffer) > + ido-buffer-disable-smart-matches)) > (not ido-enable-regexp) > (not (string-match "\$\\'" rex0)) > (concat rex0 "/\\'"))) Thanks.