From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#2042: Ido-mode : filtering does not keep ordering Date: Sat, 29 Oct 2011 14:38:01 +0800 Message-ID: <87obx0ti9i.fsf@gnu.org> References: <6fa54e4e0901250554q1519cba5t83df1577e2cbc132@mail.gmail.com> <8739fch6in.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319870355 18532 80.91.229.12 (29 Oct 2011 06:39:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2011 06:39:15 +0000 (UTC) Cc: Antoine Levitt , 2042@debbugs.gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 29 08:39:11 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1RK2ZS-0000o1-RX for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Oct 2011 08:39:11 +0200 Original-Received: from localhost ([::1]:46933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RK2ZS-0000Q0-44 for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Oct 2011 02:39:10 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RK2ZO-0000Ps-SJ for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 02:39:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RK2ZN-0007MA-Ri for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 02:39:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RK2ZN-0007M6-NN for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 02:39:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RK2bG-0002hf-P2 for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 02:41:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2011 06:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2042 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 2042-submit@debbugs.gnu.org id=B2042.131987041910333 (code B ref 2042); Sat, 29 Oct 2011 06:41:02 +0000 Original-Received: (at 2042) by debbugs.gnu.org; 29 Oct 2011 06:40:19 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RK2aV-0002gX-LD for submit@debbugs.gnu.org; Sat, 29 Oct 2011 02:40:18 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RK2aO-0002gI-Dh for 2042@debbugs.gnu.org; Sat, 29 Oct 2011 02:40:10 -0400 Original-Received: from [155.69.18.173] (port=56772 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RK2YT-00060K-Az; Sat, 29 Oct 2011 02:38:09 -0400 In-Reply-To: (Leo's message of "Sun, 02 Oct 2011 08:04:30 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 29 Oct 2011 02:41:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53279 Archived-At: Leo writes: > The existing code gives different precedence to different match type: > > full-matches > suffix matches > prefix matches > remaining matches > > For example in switching buffers in ido: > > input: ab > > Buffer: ab[c]{abcd | abc | xabcd | xabc} > > now when the user types c, it changes to: > > Buffer: abc{abc | abcd | xabcd | xabc} > > Note the different ordering of "abcd" and "abc". Because typing is so > much quicker than observing the new order, one usually mis-chooses a > match. Thanks. I guess since at least two users of ido have complained about this behavior, and no one else has chimed in, we can go ahead and make this change after the release.