- Subject: Re: Proposed new addition to Jed...
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Wed, 18 Jan 2006 01:49:18 -0500
Morten Bo Johansen <mbj@xxxxxxxxxxx> wrote:
>However, you can not cheat the read_with_completion () function to skip
>the minibuffer prompt and just pop up the completions window, can you?
I am not sure what you mean. Do you mean this?
define read_with_completion_show_now ()
{
variable args = __pop_args (_NARGS);
ungetkey ('\t');
return read_with_completion (__push_args (args));
}
read_with_completion_show_now ("Larry,Curly,Moe", "Favorite Stooge:",
"Larry", "", 's');
If you want to skip the prompt altogether, then why call
read_with_completion? It would be better to write the possible
completions to a buffer and then use the pop2buf function.
Thanks,
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2006 date index]
[2006 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]