From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: menu system in recent Emacs? Date: Thu, 03 May 2012 08:01:51 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87pqal4gnk.fsf@lifelogs.com> References: <87zk9to1bh.fsf@lifelogs.com> <878vhcgfwu.fsf@lifelogs.com> <87sjfibwhj.fsf@lifelogs.com> <87havybs60.fsf_-_@lifelogs.com> <87havybeks.fsf@thinkpad.tsdh.de> <87wr4u8jgb.fsf@lifelogs.com> <87havy31k5.fsf@gmx.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1336046548 14389 80.91.229.3 (3 May 2012 12:02:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 May 2012 12:02:28 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 03 14:02:26 2012 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 1SPujn-0002qX-4Y for ged-emacs-devel@m.gmane.org; Thu, 03 May 2012 14:02:23 +0200 Original-Received: from localhost ([::1]:47664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPujm-0003Qv-IU for ged-emacs-devel@m.gmane.org; Thu, 03 May 2012 08:02:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPuje-0003QJ-Sx for emacs-devel@gnu.org; Thu, 03 May 2012 08:02:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPujV-0005QT-DD for emacs-devel@gnu.org; Thu, 03 May 2012 08:02:14 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:44446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPujV-0005QG-6A for emacs-devel@gnu.org; Thu, 03 May 2012 08:02:05 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SPujR-0002d9-PN for emacs-devel@gnu.org; Thu, 03 May 2012 14:02:01 +0200 Original-Received: from c-76-28-40-19.hsd1.vt.comcast.net ([76.28.40.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2012 14:02:01 +0200 Original-Received: from tzz by c-76-28-40-19.hsd1.vt.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2012 14:02:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-76-28-40-19.hsd1.vt.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:u2E/g5q35UdEGSrP52ltxTmG73s= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:150244 Archived-At: On Thu, 03 May 2012 08:18:21 +0200 Stefan Reichör wrote: SR> There is also ido - it shows all candidates: (ido-completing-read "Pick a color: " '("red" "white" "blue" "black" "brown")) That's nice, shows the list immediately, uses colors, and doesn't require `ido-mode' to be on. It has one problem, though: it's not widely used in Emacs, unlike `completing-read', so I'm concerned that it wouldn't be familiar to new users. The ido UI is too different from standard completion in Emacs and elsewhere, e.g. shell completion. For instance, TAB will complete AND select the choice if it's unique. `completing-read' and most others will complete on TAB but require RET to select. Another difference is that the up and down arrows select previous input, but left and right arrows select choices. So I will stick with `completing-read' to make it easier for the users and they can simply use ido-mode (which provides `ido-completing-read' to replace `completing-read' IIUC) to get the colors and ido UI. Ted