From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Schroeder Newsgroups: gmane.emacs.devel Subject: Re: icomplete-mode vs. iswitchb Date: Thu, 5 Dec 2013 13:45:50 +0100 Message-ID: References: <8761ra7uq3.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1386247595 30366 80.91.229.3 (5 Dec 2013 12:46:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Dec 2013 12:46:35 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 05 13:46:40 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 1VoYKF-0001OC-9C for ged-emacs-devel@m.gmane.org; Thu, 05 Dec 2013 13:46:39 +0100 Original-Received: from localhost ([::1]:53282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoYKE-0008KW-U1 for ged-emacs-devel@m.gmane.org; Thu, 05 Dec 2013 07:46:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoYJd-0007IA-UQ for emacs-devel@gnu.org; Thu, 05 Dec 2013 07:46:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoYJY-0001yF-NL for emacs-devel@gnu.org; Thu, 05 Dec 2013 07:46:01 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoYJY-0001yB-Kz for emacs-devel@gnu.org; Thu, 05 Dec 2013 07:45:56 -0500 Original-Received: from [213.55.184.191] (port=33117 helo=[10.152.109.82]) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1VoYJX-0002uY-O6; Thu, 05 Dec 2013 07:45:56 -0500 In-Reply-To: X-Mailer: iPhone Mail (11B554a) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:166114 Archived-At: Strangely enough the default keybindings you mention (C-j, C-., C-,) are all= undefined in my version of Emacs (24.3.1). --=20 Typed on a tiny keyboard. Sorry for being terse. On 05.12.2013, at 03:05, Stefan Monnier wrote: >>> 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? >=20 > Oh, I think I understand. You should hit C-j to select the > first item. If you prefer TAB, then do >=20 > (define-key icomplete-minibuffer-map [?\t] > 'minibuffer-force-complete-and-exit) >=20 >>> 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). >=20 > Of course, you can also use C-s and C-r with something like: >=20 > (define-key icomplete-minibuffer-map [?\C-s] > 'icomplete-forward-completions) > (define-key icomplete-minibuffer-map [?\C-r] > 'icomplete-backward-completions) >=20 >=20 > -- Stefan >=20