title: Smart completion for javascript
body: <p>I ve just started to use <code>Emacs</code>. What I want to get is a kind of smart completion for <code>javasacript</code>. Not meaning just auto-complete ( which completes words I used on previous line ).</p>
  
  <p>For example, if I write <code>document.</code> or <code>Math.</code> it should show me all possible/available functions which are built-in.</p>
  
  <p>I think there is some plugin called <code>cedet</code>, though I am not sure if it does this for <code>Javascript</code>. If it does support that, I couldn't make it yet. Here is what I get in my <code>init.el</code> :</p>
  
  <pre><code>(semantic-mode 1)
  (require 'semantic/ia)
  (require 'semantic/db)
  
  (semantic-ia-show-doc 1)
  (semantic-ia-show-summary 1)
  (semantic-ia-describe-class 1)
  (global-semantic-highlight-func-mode 1)
  (global-semantic-idle-local-symbol-highlight-mode 1)
  </code></pre>
  
  <p>and this is all <code>init.el</code> file before cedet confs: <a href="http://paste.lisp.org/display/139255" rel="nofollow">http://paste.lisp.org/display/139255</a></p>