Updated .customs.emacs file. Now autocomplete works together with yasnippet in c++ at least (haven't tested for python).