title: Vim's Omnicompletion with Python just doesn't work
body: <p>I've searched around for an hour, both on Stack Overflow and elsewhere. Alas! Please help. Vim's omnicompletion just <em>doesn't work</em>.</p>
  
  <ol>
  <li><p>I have Vim 7.2 compiled with Python support.</p></li>
  <li><p><code>filetype plugin on</code> is in my <code>.vimrc</code>.</p></li>
  <li><p>When a <code>.py</code> file is open, <code>:echo &amp;omnifunc</code> prints <code>pythoncomplete#Complete</code>.</p></li>
  <li><p>I'm working with a large project and I have a <code>tags</code> file generated with <code>exhuberant-ctags</code>. It's in Vim's <code>ctags</code> path. I can test it by typing <kbd>^]</kbd> on a symbol and I'm then taken to the symbols' definition.</p></li>
  <li><p><strong>Update 1:</strong> All of my project's code is in the python-in-Vim's path. I can <code>:python import myproject</code> successfully.</p></li>
  </ol>
  
  <p>Now, anywhere I try <kbd>C-x C-o</kbd>, all I get is:</p>
  
  <pre><code>-- Omni completion (^O^N^P) Pattern not found
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p><strong>Update 2:</strong> When I type <kbd>C-x C-o C-n</kbd> at the module-level, Vim displays a completion popup with a few module-level constants from other modules in my project. But it's only constants (symbols capital letters) and the completion still doesn't work anywhere else.</p>
  
  <p><strong>Update 3:</strong> I've found that <kbd>C-x C-o</kbd> at the top of the file starts some kind of omnicompletion, and completion for <code>pprint.</code> brings up the menu and quick-reference of everything in the <code>pprint</code> module. However, none of my own module's imports are being completed.</p>
  
  <p><strong>Update 4, one year later:</strong> I gave up and learned Emacs. I have been to the dark side, the mystical land of intrigue and spice, and I say to thee that I have found The Way.</p>
  
  <p><strong>Update 5, two years later:</strong> I went back to Vim. Emacs is beautiful, but even after 1.5 years of Emacs, I'm still faster at getting work done in Vim. I've stopped writing Python for now, however, and can't test how well these suggestions work.</p>