Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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