auto-complete
auto-complete copied to clipboard
ac-use-menu-map
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.
No, there is no way now.