[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
display-completion-list
From: |
Roland Winkler |
Subject: |
display-completion-list |
Date: |
30 May 2003 13:53:29 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
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?
After the selection has been inserted in the active buffer
I would like to execute a function that takes as arguments, say,
the buffer positions of beginning and end of the text that was
inserted. How can I do that?
Is there something like a display-completion-post-insertion-hook?
Thanks a lot,
Roland
- display-completion-list,
Roland Winkler <=