auto-complete / popup-el

Visual Popup Interface Library for Emacs
GNU General Public License v3.0
446 stars 96 forks source link

Popup can't show candidates without selecting. #88

Open kenoss opened 9 years ago

kenoss commented 9 years ago

This is based on conversation with @supermomonga.

In some cases, for example, using autocomplete.el, we want to show candidates without selecting one of them. By default, auto-complete.el force to select the first candidate and pressing Enter key expands the candidate.

What we really want is:

Enter and Tab: expand candidate if selected, otherwise self insert. (Optional) Tab: always expand. If nothing selected, expand first one.

AFAIU, popup.el doesn't admit this. I think we'll easily implement the above (optional) feature to auto-complete.el if popup.el admits it. (We may need some additional APIs.) However the modification for it on popup.el is not straightforward, I guess.

What do you think of it?