Recently, I added Auto Complete Mode to my Emacs setup.
Issue #1: When typing declarations, the auto-complete feature works fine until I hit ;:
Unexpectedly, it automatically tries to complete something! Pressing Enter would accept this unwanted completion.
To bypass this problem, I have to resort to using C-j. Quite inconvenient.
Issue #2: Upon completing a declaration by typing }:
The indentation does not happen correctly unless I manually press Tab.
Any idea why this is happening?
Update on settings:
My current setup includes Emacs 23. The keys for triggering CSS completions are set to }
and ;
. Here is a snippet of my Auto Complete configuration:
(ac-config-default)
(setq ac-auto-start t)
(setq ac-delay 0.1)
(setq ac-auto-show-menu nil)
(setq ac-show-menu-immediately-on-auto-complete t)
(setq ac-trigger-key nil)