all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Drew Adams <drew.adams@oracle.com>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Any infrastructure to select one of a few options in Emacs core?
Date: Mon, 09 May 2016 17:40:37 +0200	[thread overview]
Message-ID: <87h9e7ck96.fsf@mbork.pl> (raw)
In-Reply-To: <12f1c4cf-ee4a-444e-bfc3-1e703d3ad50d@default>


On 2016-05-09, at 16:13, Drew Adams <drew.adams@oracle.com> wrote:

>> is there anything in core Emacs (i.e., no Melpa, and preferably no Elpa)
>> to facilitate selecting one of a few (say, up to 10) options, each
>> described in 2-3 lines of text?  (I know about the Widget library, but
>> I'd prefer something more lightweight.)
>
> Dunno what you mean.  There is menu-bar menu `Options' (which)
> you can add to.  There is Customize, which you can add to
> with `defcustom'.
>
> Specify "facilitate selection one of a few options".

Sorry for being imprecise.

I'd like to have (kind of) a menu, perhaps in a temporary buffer,
displaying a list of options and giving a way to select one of them.
Like, say clocking into one of recently clocked tasks in Org, or the
main manu in mu4e, or the possible corrections in ispell etc.  It seems
that a lot of packages use their own mechanism to do something like
that; now that I think of it, I guess it would be nice to have
a "canonical" way.  One advantage would be that by customizing this
"default" way, the user could define his/her preferred way of showing
the menu/selecting the option for _all_ applications using it.

WDYT?  Is there anything like that in Emacs?


-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



  reply	other threads:[~2016-05-09 15:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-09 10:09 Any infrastructure to select one of a few options in Emacs core? Marcin Borkowski
2016-05-09 14:13 ` Drew Adams
2016-05-09 15:40   ` Marcin Borkowski [this message]
2016-05-09 16:37     ` Kaushal Modi
2016-05-09 17:10       ` Marcin Borkowski
2016-05-09 17:27         ` Drew Adams
2016-05-09 18:08           ` Marcin Borkowski
2016-05-09 18:16             ` Drew Adams
2016-05-19 20:06               ` Marcin Borkowski
2016-05-20  1:16                 ` John Mastro
2016-05-20 23:52                   ` John Mastro
2016-05-21 20:48                     ` Marcin Borkowski
2016-05-09 18:36             ` Pascal J. Bourguignon
2016-05-14  4:20               ` Emanuel Berg
2016-05-21 20:49               ` Marcin Borkowski
2016-05-14  4:18 ` Emanuel Berg
2016-05-21 20:52   ` Marcin Borkowski
     [not found]   ` <mailman.43.1463863961.1216.help-gnu-emacs@gnu.org>
2016-05-22  6:32     ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h9e7ck96.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.