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: icomplete-mode vs. iswitchb Date: Wed, 04 Dec 2013 20:30:14 -0500 Message-ID: References: <8761ra7uq3.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1386207044 26762 80.91.229.3 (5 Dec 2013 01:30:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Dec 2013 01:30:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alex Schroeder Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 05 02:30:49 2013 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 1VoNm7-0005sv-Ku for ged-emacs-devel@m.gmane.org; Thu, 05 Dec 2013 02:30:43 +0100 Original-Received: from localhost ([::1]:51298 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoNm7-0007Lx-8B for ged-emacs-devel@m.gmane.org; Wed, 04 Dec 2013 20:30:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoNlu-0007K8-Qi for emacs-devel@gnu.org; Wed, 04 Dec 2013 20:30:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoNln-0004cQ-E8 for emacs-devel@gnu.org; Wed, 04 Dec 2013 20:30:30 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:58578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoNlf-0004ai-Pn; Wed, 04 Dec 2013 20:30:15 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxL6g/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IPAS-Result: Av4EABK/CFFFxL6g/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="41171654" Original-Received: from 69-196-190-160.dsl.teksavvy.com (HELO pastel.home) ([69.196.190.160]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 04 Dec 2013 20:30:15 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 098EE60F5D; Wed, 4 Dec 2013 20:30:15 -0500 (EST) In-Reply-To: (Alex Schroeder's message of "Wed, 04 Dec 2013 22:32:13 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:166099 Archived-At: > How does one achieve that? When I tried icomplete-mode, I was unable to > figure out how to do that. Which version of Emacs? > (progn > (iswitchb-mode 0) > (icomplete-mode 1) > (get-buffer-create "mytesta") > (get-buffer-create "mytestb") > (get-buffer-create "yourtesta") > (get-buffer-create "yourtestb")) > 1. How to pick the first item on the list without typing a lot? I want > to type a substring RET to pick the most recent buffer. With > icomplete-mode I type t e s t TAB and get test*. why type TAB? The list of completions is already displayed in the minibuffer after typing "t e s t". > 2. How to quickly rotate through the list? I want to type t e s t C-s C-. and C-, (the logic behind those is that , and . are just below < and > in the US keyboard). > A generic completion should also sort the entry by "most recently used" > and I'm not sure how icomplete can do this. It does sort by "most recently used" based on the history variable, Stefan