From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: iswitchb Date: Thu, 20 Mar 2008 10:22:41 -0400 Message-ID: References: <20080320025128.GB7406@rzlab.ucr.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206023000 15225 80.91.229.12 (20 Mar 2008 14:23:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2008 14:23:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: "paul r" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 20 15:23:37 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 1JcLfx-0000HL-Eq for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2008 15:23:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcLfM-0004M1-V7 for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2008 10:22:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JcLfJ-0004Lv-Cw for emacs-devel@gnu.org; Thu, 20 Mar 2008 10:22:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JcLfH-0004LT-Ll for emacs-devel@gnu.org; Thu, 20 Mar 2008 10:22:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcLfH-0004LQ-Gb for emacs-devel@gnu.org; Thu, 20 Mar 2008 10:22:43 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JcLfH-0007L2-4l for emacs-devel@gnu.org; Thu, 20 Mar 2008 10:22:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqQFAF4Q4kdMCrTo/2dsb2JhbACBWqh7 X-IronPort-AV: E=Sophos;i="4.25,531,1199682000"; d="scan'208";a="16272640" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 20 Mar 2008 10:22:41 -0400 Original-Received: from pastel.home ([76.10.180.232]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id ARQ85941; Thu, 20 Mar 2008 10:22:41 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 6A095821D; Thu, 20 Mar 2008 10:22:41 -0400 (EDT) In-Reply-To: (paul r.'s message of "Thu, 20 Mar 2008 09:43:18 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:93041 Archived-At: >> What probably should be adjusted here is the ordering when you've >> typed in the exact name of a buffer; that buffer should just come to >> the front of the list (with possible exceptions for foo<1> et al?). >> That way iswitchb will get out of the way of people who expect the old >> behavoir, but allow people to gradually learn the new behavoir. > Yes, that what I thought later, reading again RMS case. In any case, > *exact match* should alway take you to this buffer, with the exception > of when you already are in this buffer. > More generaly, I agree iswitchb should behave like switch-to-buffer > for features they share. The completion package that I use (and that I ultimately would like to install as the default, tho it needs a lot of work or a rewrite) does the following: 1 - first try completion the old way. 2 - if that fails, try completion the partial-completion-mode way. 3 - if that fails, try it with a substring search. So compared to the current default completion, the behavior should be different only if the default completion finds no completion. Combined with icomplete-mode, it is reminiscent of ido and iswitchb. Stefan