* Listing completions automatically
@ 2005-05-13 17:39 PT
2005-05-13 22:06 ` Kevin Rodgers
[not found] ` <mailman.5154.1116022366.2819.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: PT @ 2005-05-13 17:39 UTC (permalink / raw)
I'd like to offer the user a list from which she has to select an item.
Since the user doesn't know what items are on the list the possible items
should be shown immediately.
I tried using completing-read, but it seems the user has to press TAB at
least once to have the list of possible completions actually diplayed.
Is there way to show the list immediately?
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Listing completions automatically
2005-05-13 17:39 Listing completions automatically PT
@ 2005-05-13 22:06 ` Kevin Rodgers
[not found] ` <mailman.5154.1116022366.2819.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2005-05-13 22:06 UTC (permalink / raw)
PT wrote:
> I'd like to offer the user a list from which she has to select an item.
> Since the user doesn't know what items are on the list the possible
> items should be shown immediately.
>
> I tried using completing-read, but it seems the user has to press TAB
> at least once to have the list of possible completions actually diplayed.
>
> Is there way to show the list immediately?
(let ((unread-command-events (cons ?\t unread-command-events)))
(completing-read PROMPT TABLE ...))
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Listing completions automatically
[not found] ` <mailman.5154.1116022366.2819.help-gnu-emacs@gnu.org>
@ 2005-05-14 14:15 ` PT
0 siblings, 0 replies; 3+ messages in thread
From: PT @ 2005-05-14 14:15 UTC (permalink / raw)
On Sat, 14 May 2005 00:06:37 +0200, Kevin Rodgers <ihs_4664@yahoo.com>
wrote:
>
> (let ((unread-command-events (cons ?\t unread-command-events)))
> (completing-read PROMPT TABLE ...))
>
It works fine, thanks!
It's strange there is no configuration variable to control it and
one has to stuff keyboard events into the command loop manually...
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-05-14 14:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-13 17:39 Listing completions automatically PT
2005-05-13 22:06 ` Kevin Rodgers
[not found] ` <mailman.5154.1116022366.2819.help-gnu-emacs@gnu.org>
2005-05-14 14:15 ` PT
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).