I tried to install yasnippet using the "normal install" protocol given here. After placing the yasnippet-0.6.1c folder in ~/.emacs.d/plugins/, I tried to eval the following in my .emacs:
(add-to-list 'load-path
"~/.emacs.d/plugins/yasnippet-0.6.1c")
(require 'yasnippet) ;; not yasnippet-bundle
(yas/initialize)
(yas/load-directory "~/.emacs.d/plugins/yasnippet-0.6.1c/snippets")
At the second sexp, I get the backtrace:
Debugger entered--Lisp error: (void-variable yasnippet-bundle)
eval(yasnippet-bundle)
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp)
recursive-edit()
byte-code(...
Could anyone point me in the right direction with this? I'm not familiar enough with Emacs to be certain that this is not a user error, but it would seem from the backtrace that at least the loadpath was correct.
This is yasnippet 0.6.1c. I can reproduce it on Aquamacs 1.9 and GNU Emacs 22.2.1 under OSX 10.4 and GNU Emacs 23 under Ubuntu 10.04. Thanks in advance for any advice!