From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: menu system in recent Emacs?
Date: Wed, 02 May 2012 20:53:31 -0400 [thread overview]
Message-ID: <874nry84qc.fsf@lifelogs.com> (raw)
In-Reply-To: 8762cem97x.fsf@gnuvola.org
On Thu, 03 May 2012 01:52:50 +0200 Thien-Thi Nguyen <ttn@gnuvola.org> wrote:
TN> () Ted Zlatanov <tzz@lifelogs.com>
TN> () Wed, 02 May 2012 17:34:38 -0400
TN> Also it's hard to insert explanatory text [...].
TN> Can that be done somehow? I don't see a way.
TN> You can include that text in the prompt, with newlines for readability.
TN> (completing-read "Here are some choices:\n- A\t- B\n- C\t- D\nChoose one: "
TN> '("A" "B" "C" "D"))
I see, it's obvious now that you point it out :) I can use that.
I would really like it to show the list of choices immediately, as if
the user pressed `TAB'. Can that be fed into the function somehow as a
synthetic keypress? I'd prefer to avoid modifying `completing-read' in
the source, so my code will work with older Emacsen as well.
Ted
next prev parent reply other threads:[~2012-05-03 0:53 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-28 0:45 auth-source change default spec Tim Cross
2012-04-28 8:46 ` Tim Cross
2012-04-28 15:08 ` Stefan Monnier
2012-04-29 0:04 ` Tim Cross
2012-04-30 12:23 ` Ted Zlatanov
2012-04-30 12:51 ` Richard Riley
2012-04-30 22:41 ` Tim Cross
2012-05-01 14:00 ` Ted Zlatanov
2012-05-01 21:41 ` Tim Cross
2012-05-02 12:25 ` Ted Zlatanov
2012-05-02 13:59 ` menu system in recent Emacs? (was: auth-source change default spec) Ted Zlatanov
2012-05-02 14:37 ` menu system in recent Emacs? Davis Herring
2012-05-02 15:07 ` Ted Zlatanov
2012-05-02 18:52 ` Tassilo Horn
2012-05-02 19:35 ` Ted Zlatanov
2012-05-02 18:00 ` Eric Schulte
2012-05-02 21:34 ` Ted Zlatanov
2012-05-02 23:52 ` Thien-Thi Nguyen
2012-05-03 0:53 ` Ted Zlatanov [this message]
2012-05-03 1:12 ` Thien-Thi Nguyen
2012-05-03 1:44 ` Ted Zlatanov
2012-05-03 1:47 ` Stefan Monnier
2012-05-03 5:21 ` Thierry Volpiatto
2012-05-03 6:25 ` Thierry Volpiatto
2012-05-03 7:13 ` Thien-Thi Nguyen
2012-05-03 7:28 ` Thierry Volpiatto
2012-05-03 6:18 ` Stefan Reichör
2012-05-03 12:01 ` Ted Zlatanov
2012-05-03 4:09 ` auth-source change default spec Tim Cross
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=874nry84qc.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=emacs-devel@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.