Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .