all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: display-completion-list
Date: Fri, 30 May 2003 15:22:35 +0200	[thread overview]
Message-ID: <84wug84lic.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: m3brxkodl2.fsf@tfkp07.physik.uni-erlangen.de

Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> 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	other threads:[~2003-05-30 13:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-30 11:53 display-completion-list Roland Winkler
2003-05-30 13:22 ` Kai Großjohann [this message]
2003-05-30 16:28   ` display-completion-list Kevin Rodgers

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

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

  git send-email \
    --in-reply-to=84wug84lic.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.