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: Wed, 02 May 2012 17:34:38 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87sjfi8dxt.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 X-Trace: dough.gmane.org 1335994502 24328 80.91.229.3 (2 May 2012 21:35:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 May 2012 21:35:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 02 23:35:01 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 1SPhCO-00039s-Ej for ged-emacs-devel@m.gmane.org; Wed, 02 May 2012 23:35:00 +0200 Original-Received: from localhost ([::1]:46935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPhCN-0003Aw-M4 for ged-emacs-devel@m.gmane.org; Wed, 02 May 2012 17:34:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPhCI-0003Al-O7 for emacs-devel@gnu.org; Wed, 02 May 2012 17:34:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPhCD-0005w3-7a for emacs-devel@gnu.org; Wed, 02 May 2012 17:34:54 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:46414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPhCD-0005vl-18 for emacs-devel@gnu.org; Wed, 02 May 2012 17:34:49 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SPhC9-000307-Sf for emacs-devel@gnu.org; Wed, 02 May 2012 23:34:45 +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 ; Wed, 02 May 2012 23:34:45 +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 ; Wed, 02 May 2012 23:34:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 30 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:d7rhWSYYpYx6HPHLoTmvDnpBckQ= 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:150230 Archived-At: On Wed, 02 May 2012 14:00:58 -0400 Eric Schulte wrote: ES> Ted Zlatanov writes: >> On Wed, 02 May 2012 20:52:35 +0200 Tassilo Horn wrote: >> TH> Ted Zlatanov writes: TZ> What's a good multiple-choice menu library in Emacs? >> TH> What about the `widget' library which is used by customize? >> >> That's nice for UI work, but really complicated for just choosing one of >> 3-10 options, and it doesn't pop up a temporary buffer like `tmm-prompt'. >> ES> You may not want to (require 'org), but the following is my favorite ES> multiple-choice prompt. ES> (org-icompleting-read ES> "Pick a color: " ES> '("red" "white" "blue" "black" "brown")) That uses `completing-read' if ido-mode and iswitchb are not enabled. I like `completing-read'. But it doesn't show the list of choices by default, which will be confusing to users. Also it's hard to insert explanatory text, in this case "these are the entries from `auth-sources' where you can save your new auth entry". Can that be done somehow? I don't see a way. Ted