My perfect #yasnippet  (0.7.0 or higher version) configuration;
http://blog.binchen.org/?p=357

You like cool candidate window, right? You also want to use #auto-complete-mode in #emacs, right?

BTW, auto-complete-20120327 is not compatible with yasnippet-0.7.0, you need hack auto-complete-config.el.

I tested my configuration under #emacs 23 and 24 under OS X 10.7.3, cygwin, ArchLinux
Shared publicly