From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bozhidar Batsov Newsgroups: gmane.emacs.devel Subject: Re: icomplete-mode vs. iswitchb Date: Thu, 5 Dec 2013 15:26:09 +0200 Message-ID: References: <8761ra7uq3.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="52a07ef1_628c895d_16016" X-Trace: ger.gmane.org 1386249962 27136 80.91.229.3 (5 Dec 2013 13:26:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Dec 2013 13:26:02 +0000 (UTC) Cc: "=?utf-8?Q?emacs-devel=40gnu.org?=" To: Alex Schroeder , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 05 14:26:07 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 1VoYwR-0003n5-El for ged-emacs-devel@m.gmane.org; Thu, 05 Dec 2013 14:26:07 +0100 Original-Received: from localhost ([::1]:53583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoYwR-0007Nr-0x for ged-emacs-devel@m.gmane.org; Thu, 05 Dec 2013 08:26:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoYwK-0007Ng-4o for emacs-devel@gnu.org; Thu, 05 Dec 2013 08:26:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoYwF-0005zF-HT for emacs-devel@gnu.org; Thu, 05 Dec 2013 08:26:00 -0500 Original-Received: from mail-ee0-x230.google.com ([2a00:1450:4013:c00::230]:56722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoYw9-0005xG-7u; Thu, 05 Dec 2013 08:25:49 -0500 Original-Received: by mail-ee0-f48.google.com with SMTP id e49so3249004eek.21 for ; Thu, 05 Dec 2013 05:25:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type; bh=v1jZ177fNeM9vgu2o19IdMIZ67Bfy+kyOavAkwrn818=; b=Ss5FiJNs6tL27T1VSlWhnoXVTG4UJIucVgs43SFyAhoP9rNTKvr8bGApyaVx+r8Vtz lBJXOsM86FZvbCxoFZSQeIgT8pejGCfvIKZ1f75KPvUrB6iPoTA8yAnze9eNjInzUAV6 VW5hOb54+z1rLDS6VZExNvjaJ64vPtNc577SNKKGbilQynnCZIO6Hz3ah/nvyMOnjHUw wGROweokT5oW8Tjibq3xPbQPjxi+84XnbfIZD7x+Htxs0L8u/wtf5mKl7rg5Sg+HwsJy XYV/v1agJ8wJZgJcf6/7PelL+bPBRxjpIQt8zH/1wxSVXzUIJyzj7Wy4YXgiwDKW6A2K hm4w== X-Received: by 10.14.203.6 with SMTP id e6mr27305557eeo.33.1386249948183; Thu, 05 Dec 2013 05:25:48 -0800 (PST) Original-Received: from Bozhidars-MacBook-Pro.local ([95.87.231.111]) by mx.google.com with ESMTPSA id n1sm106191977eep.20.2013.12.05.05.25.46 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Dec 2013 05:25:47 -0800 (PST) In-Reply-To: X-Mailer: Airmail (211) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::230 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:166116 Archived-At: --52a07ef1_628c895d_16016 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Seems to me they are defined only on 24.4. iswitchb was marked as obsolet= e only a few weeks ago.=C2=A0 --=C2=A0 Cheers, Bozhidar On December 5, 2013 at 2:46:59 PM, Alex Schroeder (alex=40gnu.org) wrote:= Strangely enough the default keybindings you mention (C-j, C-., C-,) are = all undefined in my version of Emacs (24.3.1). =20 -- =20 Typed on a tiny keyboard. Sorry for being terse. =20 On 05.12.2013, at 03:05, Stefan Monnier wrot= e: =20 >>> 1. How to pick the first item on the list without typing a lot=3F I w= ant =20 >>> to type a substring RET to pick the most recent buffer. With =20 >>> icomplete-mode I type t e s t TAB and get test*. =20 >> Why type TAB=3F =20 > =20 > Oh, I think I understand. You should hit C-j to select the =20 > first item. If you prefer TAB, then do =20 > =20 > (define-key icomplete-minibuffer-map =5B=3F=5Ct=5D =20 > 'minibuffer-force-complete-and-exit) =20 > =20 >>> 2. How to quickly rotate through the list=3F I want to type t e s t C= -s =20 >> C-. and C-, (the logic behind those is that , and . are just below < =20 >> and > in the US keyboard). =20 > =20 > Of course, you can also use C-s and C-r with something like: =20 > =20 > (define-key icomplete-minibuffer-map =5B=3F=5CC-s=5D =20 > 'icomplete-forward-completions) =20 > (define-key icomplete-minibuffer-map =5B=3F=5CC-r=5D =20 > 'icomplete-backward-completions) =20 > =20 > =20 > -- Stefan =20 > =20 --52a07ef1_628c895d_16016 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Seems to me they a= re defined only on 24.4. iswitchb was marked as obsolete only a few weeks= ago. 

<= /span>-- 
Cheers,
Bozhidar

On December 5, 2013 at 2:46:59 PM, Alex Schroeder (alex=40gnu.org) wrote:

Strangely = enough the default keybindings you mention (C-j, C-., C-,) are all undefi= ned 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 <monnier=40iro.umontreal.c= a> wrote:

>>> 1. How to pick the first item on the list without typing= a lot=3F 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=3F
> =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 =5B=3F=5Ct=5D
> 'minibuffer-force-complete-and-exit)
> =20
>>> 2. How to quickly rotate through the list=3F I want to t= ype t e s t C-s
>> C-. and C-, (the logic behind those is that , and . are jus= t 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 =5B=3F=5CC-s=5D
> 'icomplete-forward-completions)
> (define-key icomplete-minibuffer-map =5B=3F=5CC-r=5D
> 'icomplete-backward-completions)
> =20
> =20
> -- Stefan
> =20

--52a07ef1_628c895d_16016--