auto-complete icon indicating copy to clipboard operation
auto-complete copied to clipboard

ac-use-menu-map

Open silgon opened this issue 11 years ago • 1 comments

This is maybe more a hack that an issue. I want to set some shortcuts in my .emacs file, so I use:

(setq ac-use-menu-map t) ;; to activate the overriding as explained in l292 in autocomplete.el
(define-key ac-menu-map "\C-n" 'ac-next)
(define-key ac-menu-map "\C-p" 'ac-previous)

So, what it's happening is that when I press let's say "\C-n" before the dropdown menu appears, the cursor moves down (as its normal behavior) and the menu never appears. In contrast, the default command "\M-n" calls the dropdown menu in the case it's not there. Is there a way to make this defined shortcuts to call the dropdown menu in the case it doesn't exists?

Thanks in advance.

silgon avatar Jul 09 '14 14:07 silgon

No, there is no way now.

syohex avatar Jul 12 '14 13:07 syohex