unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Listing completions automatically
Date: Fri, 13 May 2005 16:06:37 -0600	[thread overview]
Message-ID: <d637uh$neb$1@sea.gmane.org> (raw)
In-Reply-To: <op.sqp5zcq7p52o26@home-ca12fabbc0>

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

  reply	other threads:[~2005-05-13 22:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-13 17:39 Listing completions automatically PT
2005-05-13 22:06 ` Kevin Rodgers [this message]
     [not found] ` <mailman.5154.1116022366.2819.help-gnu-emacs@gnu.org>
2005-05-14 14:15   ` PT

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='d637uh$neb$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.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.
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).