title: Emacs auto-complete
body: <p>since I can't get <code>CEDET</code> to work for automatic code-completion (aka intelli-sense in the MS-world), after trying several times (no, it's just not working!), I've decided to use <code>auto-complete</code>, which works "quite fine" for me. </p>
  
  <p>Unfortunately, <code>auto-complete</code> has an annoying behaviour when it comes to quit the <code>imenu</code> with its suggestions.</p>
  
  <ol>
  <li><code>auto-complete</code> starts <code>imenu</code>, no matter how many suggestions it has. So, if there's only one suggestion, the menu appears.
  1.</li>
  <li>To exit the <code>imenu</code>, I have to use the <code>LEFT</code> or <code>RIGHT</code> keys in order to make the menu disappear. <code>ESC-ESC-ESC</code> does not have any effect.</li>
  </ol>
  
  <p>Is there any way, to modify these two behaviors?</p>
  
  <p>Here's an excerpt of my <code>.emacs</code> file showing the <code>auto-complete</code> relevant stuff:</p>
  
  <pre>
  (require 'auto-complete-config)
  (add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
  (ac-config-default)
  (setq ac-delay 0.5) ;; eclipse uses 500ms
  </pre>
  
  <p>Kind regards,
  mefiX</p>