From: Drew Adams <drew.adams@oracle.com>
To: Marcin Borkowski <mbork@mbork.pl>, Kaushal Modi <kaushal.modi@gmail.com>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>,
Oleh Krehel <ohwoeowho@gmail.com>
Subject: RE: Any infrastructure to select one of a few options in Emacs core?
Date: Mon, 9 May 2016 10:27:32 -0700 (PDT) [thread overview]
Message-ID: <86f9c662-a9ec-4bf5-ab0d-8f66d4e0fcf5@default> (raw)
In-Reply-To: <878tzjcg3x.fsf@mbork.pl>
> > completing-read
>
> Yes and no. I thought about it, and rejected the idea: I want all the
> options to be visible without pressing TAB. Also, each option might
> need more than one line (and the number of lines may vary between
> options), so I don't like the idea of using minibuffer at all.
It's still not clear from your description what you mean by "select"
one of the options.
Please specify how commands such as `customize', `customize-apropos'
do not do what you want.
`M-x customize-apropos-options RET .* RET', for example, shows you all
currently defined options, together with their doc string first line
(and full information if you expand an option description).
---
Emacs used to also have a command `edit-options', which listed all
options with their doc strings, and which had these keys:
Options mode:
Major mode for editing Emacs user option settings.
Special commands are:
s -- set variable point points at. New value read using minibuffer.
x -- toggle variable, t -> nil, nil -> t.
1 -- set variable to t.
0 -- set variable to nil.
Changed values made by these commands take effect immediately.
Each variable description is a paragraph.
For convenience, the characters p and n move back and forward by
paragraphs.
This feature was removed before Emacs 22, however.
next prev parent reply other threads:[~2016-05-09 17:27 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
2016-05-09 16:37 ` Kaushal Modi
2016-05-09 17:10 ` Marcin Borkowski
2016-05-09 17:27 ` Drew Adams [this message]
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=86f9c662-a9ec-4bf5-ab0d-8f66d4e0fcf5@default \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=kaushal.modi@gmail.com \
--cc=mbork@mbork.pl \
--cc=ohwoeowho@gmail.com \
/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.