When I use yasnippet for completion it opens up a new buffer to select a list of choices instead of opening up a menu like this cedet example. How do I make my emacs use the menu? I am using emacs 22.1.1

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

I use the following configuration in yasnippet to get dropdown lists:

(require 'dropdown-list)
(setq yas/prompt-functions '(yas/dropdown-prompt
                             yas/ido-prompt
                             yas/completing-prompt))

You can probably get rid of yas/ido-prompt and yas/comleting-prompt, but I didn't try it.

Yasnippet distribution contains a copy of dropdown-list.el, but if you cannot find it, you can download a copy from EmacsWiki

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.