[Top][All Lists]

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

Re: display-completion-list

From: Kai Großjohann
Subject: Re: display-completion-list
Date: Fri, 30 May 2003 15:22:35 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Roland Winkler <address@hidden> writes:

> Suppose I have the function
> (defun foo ()
>   (interactive)
>   (with-output-to-temp-buffer "*Completions*"
>     (display-completion-list '("a" "b" "d"))))
> This will open a completion buffer. If I select a completion in this
> buffer by clicking <mouse-2> on a completion, the selection will be
> inserted in the active buffer at the position of point. How does the
> insertion happen in detail?

I don't know.  Here is how I find out:

I run the code.  I position point on one of the completions and do
C-h k RET.  It tells me that it runs the command choose-completions.
I have a wild hunch that there might be a variable with a similar
name, so I type C-h v choos TAB...  Bingo!

This line is not blank.

reply via email to

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