all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* display-completion-list
@ 2003-05-30 11:53 Roland Winkler
  2003-05-30 13:22 ` display-completion-list Kai Großjohann
  0 siblings, 1 reply; 3+ messages in thread
From: Roland Winkler @ 2003-05-30 11:53 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-30 16:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-30 11:53 display-completion-list Roland Winkler
2003-05-30 13:22 ` display-completion-list Kai Großjohann
2003-05-30 16:28   ` display-completion-list Kevin Rodgers

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.