[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: generic list/select interface

From: Pascal Bourguignon
Subject: Re: generic list/select interface
Date: Sun, 22 May 2005 01:45:55 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Joe Corneli <address@hidden> 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__           

reply via email to

[Prev in Thread] Current Thread [Next in Thread]