From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: display-completion-list Date: Fri, 30 May 2003 15:22:35 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84wug84lic.fsf@lucy.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054301223 5860 80.91.224.249 (30 May 2003 13:27:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 30 May 2003 13:27:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri May 30 15:27:02 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19LjuQ-0001WN-00 for ; Fri, 30 May 2003 15:27:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19LjtG-0004vD-SU for gnu-help-gnu-emacs@m.gmane.org; Fri, 30 May 2003 09:25:50 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!lucy.is.informatik.uni-duisburg.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: lucy.is.informatik.uni-duisburg.de (134.91.35.216) Original-X-Trace: fu-berlin.de 1054300980 7006489 134.91.35.216 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:CEZ9Ju8+ZKC6qgX9ZKf8gduCoLU= Original-Xref: shelby.stanford.edu gnu.emacs.help:113883 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10377 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10377 Roland Winkler 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 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.