[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: |
Marcin Borkowski |
Subject: |
Re: Any infrastructure to select one of a few options in Emacs core? |
Date: |
Sat, 21 May 2016 22:49:46 +0200 |
User-agent: |
mu4e 0.9.16; emacs 25.1.50.1 |
On 2016-05-09, at 20:36, Pascal J. Bourguignon <pjb@informatimago.com> wrote:
> You can use a popup menu for that.
>
> (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)))))
Thanks a lot, I'll remember about `x-popup-menu', it might be useful one
day. It's not what I like, though; I prefer to have everything
(including menus) in buffers. (Well, almost everything.)
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
- 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?, 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, 2016/05/16
- Re: Any infrastructure to select one of a few options in Emacs core?,
Marcin Borkowski <=
Re: Any infrastructure to select one of a few options in Emacs core?, Emanuel Berg, 2016/05/16