From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.devel Subject: Re: icomplete-mode vs. iswitchb Date: Sun, 8 Dec 2013 16:44:05 +0100 Message-ID: References: <8761ra7uq3.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d041825920790c404ed07c174 X-Trace: ger.gmane.org 1386517487 5615 80.91.229.3 (8 Dec 2013 15:44:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Dec 2013 15:44:47 +0000 (UTC) Cc: Alex Schroeder , "emacs-devel@gnu.org" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 08 16:44:53 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 1VpgXM-0000vR-Pk for ged-emacs-devel@m.gmane.org; Sun, 08 Dec 2013 16:44:53 +0100 Original-Received: from localhost ([::1]:39878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpgXM-0004nF-Dh for ged-emacs-devel@m.gmane.org; Sun, 08 Dec 2013 10:44:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpgX8-0004dO-Ip for emacs-devel@gnu.org; Sun, 08 Dec 2013 10:44:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpgX3-0006bn-Ru for emacs-devel@gnu.org; Sun, 08 Dec 2013 10:44:38 -0500 Original-Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:40785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpgWx-0006aR-Fh; Sun, 08 Dec 2013 10:44:27 -0500 Original-Received: by mail-we0-f175.google.com with SMTP id t60so2462282wes.20 for ; Sun, 08 Dec 2013 07:44:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Qy0eXII+udGxlkJTM8GqBafkFUuUGuQKnB/01W7W1vQ=; b=V73zJ7MJz/sHhoAQ6Bkp2IqSWZy+pgs8UXlZE9IdkjoJ9zk4SpGh3GPV3A+PGHFWPu dZFps/fSXuZAJtHKjBHf/npqLgior3++Z0EuhShP3UGD508C/tL0UoXl8hqcAuoBaU84 OhbGwCIFPeITRrDr+mR3NLb2KnAi0GHvQuFLBU1dUWREuCI3cQBwoQTHmfUZD2Rutbpl 2xY0ckihTqHmUHnAAUufkgYHF5JKsDzpqoEIRhLEqh4KqceH/FgTq5/c4jw96QMknRVQ UIBlsoJo0LQP08riGP8wxyQsYxYhwo65If6Wt15COgun2dmIgCclwytBG92nvV59uCdZ 8rgQ== X-Received: by 10.180.105.199 with SMTP id go7mr10359182wib.53.1386517465893; Sun, 08 Dec 2013 07:44:25 -0800 (PST) Original-Received: by 10.194.83.104 with HTTP; Sun, 8 Dec 2013 07:44:05 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22f 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:166203 Archived-At: --f46d041825920790c404ed07c174 Content-Type: text/plain; charset=ISO-8859-1 Hi, Since I am a long time iswitchb-mode user I decided to give icomplete-mode a try for switching buffers. I tried the following under GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-12-07 on LEG570: runemacs -Q C-x C-f foo.el RET C-x C-f foo.template RET M-x icomplete-mode RET C-x b *scratch* RET C-x b oo When do this I see this in the minibuffer: Switch to buffer (default foo.template): oo[.]{template | el} By using C-j I can switch to a buffer and C-, and C-. cycles between the matches as described earlier. But the completion hint is totally weird. If I type just one "o" above, it works as it should. Is this a bug or the (very strange) intended functionality? /Mathias On Thu, Dec 5, 2013 at 7:26 PM, Stefan Monnier wrote: > > Strangely enough the default keybindings you mention (C-j, C-., C-,) are > all > > undefined in my version of Emacs (24.3.1). > > Indeed, iswitchb is not obsolete in 24.3, because icomplete-mode in that > version does not provide the corresponding features. > > > Stefan > > --f46d041825920790c404ed07c174 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

Since I am a long time iswitchb-mod= e user I decided to give icomplete-mode a try for switching buffers.
<= div>
I tried the following under=A0GNU Emacs 24.3.50.1 (i686-= pc-mingw32) of 2013-12-07 on LEG570:

runemacs -Q
C-x C-f foo.el=A0RET
C-= x C-f foo.template=A0RET
M-x icomplete-mode RET
C-x= b *scratch* RET
C-x b oo

When do this I= see this in the minibuffer:

Switch to buffer (default foo.template): oo[.]{tem= plate | el}

By using C-j I can switch to a buffer = and C-, and C-. cycles between the matches as described earlier. But the co= mpletion hint is totally weird. If I type just one "o" above, it = works as it should.

Is this a bug or the (very strange) intended func= tionality?

/Mathias



On Thu, Dec 5, 20= 13 at 7:26 PM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> Strangely enough the = default keybindings you mention (C-j, C-., C-,) are all
> undefined in my version of Emacs (24.3.1).

Indeed, iswitchb is not obsolete in 24.3, because icomplete-mode in t= hat
version does not provide the corresponding features.


=A0 =A0 =A0 =A0 Stefan


--f46d041825920790c404ed07c174--