[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Any infrastructure to select one of a few options in Emacs core?
From: |
Emanuel Berg |
Subject: |
Re: Any infrastructure to select one of a few options in Emacs core? |
Date: |
Sat, 14 May 2016 06:20:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
"Pascal J. Bourguignon" <pjb@informatimago.com>
writes:
> (let ((options '("spam" "ham" "eggs")))
> (x-popup-menu (let ((mp (mouse-position))) (list
> (list (cadr mp) (cddr mp)) (selected-window)))
> (list "menu" (cons "What would yuo like to eat?"
> (mapcar (lambda (option) (cons option option))
> options)))))
Cute, but is there any reason not to use the ordinary
minibuffer/echo area area for this as for everything
else? The whole thing with Emacs, or at least part of
the whole thing, is to have a uniform interface.
--
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
- so far: 29 Blogomatic articles -
- Re: Any infrastructure to select one of a few options in Emacs core?, (continued)
- Re: Any infrastructure to select one of a few options in Emacs core?, Kaushal Modi, 2016/05/09
- Re: Any infrastructure to select one of a few options in Emacs core?, Marcin Borkowski, 2016/05/09
- RE: Any infrastructure to select one of a few options in Emacs core?, Drew Adams, 2016/05/09
- Re: Any infrastructure to select one of a few options in Emacs core?, Marcin Borkowski, 2016/05/09
- RE: Any infrastructure to select one of a few options in Emacs core?, Drew Adams, 2016/05/09
- Re: Any infrastructure to select one of a few options in Emacs core?, Marcin Borkowski, 2016/05/19
- Re: Any infrastructure to select one of a few options in Emacs core?, John Mastro, 2016/05/19
- Re: Any infrastructure to select one of a few options in Emacs core?, John Mastro, 2016/05/20
- Re: Any infrastructure to select one of a few options in Emacs core?, Marcin Borkowski, 2016/05/21
- Re: Any infrastructure to select one of a few options in Emacs core?, Pascal J. Bourguignon, 2016/05/09
- Re: Any infrastructure to select one of a few options in Emacs core?,
Emanuel Berg <=
- Re: Any infrastructure to select one of a few options in Emacs core?, Marcin Borkowski, 2016/05/21
Re: Any infrastructure to select one of a few options in Emacs core?, Emanuel Berg, 2016/05/16