From: Pascal Bourguignon <pjb@informatimago.com>
Subject: Re: generic list/select interface
Date: Sun, 22 May 2005 01:45:55 +0200 [thread overview]
Message-ID: <878y2887nw.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: mailman.1233.1116715801.25862.help-gnu-emacs@gnu.org
Joe Corneli <jcorneli@math.utexas.edu> writes:
> I have some data structure that is similar to the list of buffers. Is
> the easiest way for me to make a selection interface for this list to
> modify the code from buff-menu.el or is there some "more generic"
> selection interface that would be a better starting place?
Have a look at completing-read
Note that when you type TAB during a completing-read, it displays all
the available completions.
(completing-read "What? " '("Apple" "Orange" "Watermelon" "Melon" "Banana"))
--
__Pascal Bourguignon__ http://www.informatimago.com/
next parent reply other threads:[~2005-05-21 23:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1233.1116715801.25862.help-gnu-emacs@gnu.org>
2005-05-21 23:45 ` Pascal Bourguignon [this message]
2005-05-22 0:20 ` generic list/select interface Joe Corneli
[not found] ` <mailman.1241.1116721382.25862.help-gnu-emacs@gnu.org>
2005-05-22 0:59 ` Thien-Thi Nguyen
2005-05-22 14:12 ` Stefan Monnier
2005-05-21 22:44 Joe Corneli
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=878y2887nw.fsf@thalassa.informatimago.com \
--to=pjb@informatimago.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.