Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yasnippet doesn't load on emacs 25 #606

Closed
vspinu opened this issue Sep 7, 2015 · 3 comments
Closed

yasnippet doesn't load on emacs 25 #606

vspinu opened this issue Sep 7, 2015 · 3 comments

Comments

@vspinu
Copy link

vspinu commented Sep 7, 2015

With GNU Emacs 25.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of 2015-08-31

Debugger entered--Lisp error: (error "Don’t know how to make a localized variable an alias")
  defvaralias(yas/fallback-behavior yas-fallback-behavior)
  (progn (make-obsolete-variable backported sym "yasnippet 0.8") (defvaralias backported sym))
  (if (boundp sym) (progn (make-obsolete-variable backported sym "yasnippet 0.8") (defvaralias backported sym)))
  (let ((backported (intern (replace-regexp-in-string "^yas-" "yas/" (symbol-name sym))))) (if (boundp sym) (progn (make-obsolete-variable backported sym "yasnippet 0.8") (defvaralias backported sym))) (if (fboundp sym) (progn (make-obsolete backported sym "yasnippet 0.8") (defalias backported sym))))
  (while --dolist-tail-- (setq sym (car --dolist-tail--)) (let ((backported (intern (replace-regexp-in-string "^yas-" "yas/" (symbol-name sym))))) (if (boundp sym) (progn (make-obsolete-variable backported sym "yasnippet 0.8") (defvaralias backported sym))) (if (fboundp sym) (progn (make-obsolete backported sym "yasnippet 0.8") (defalias backported sym)))) (setq --dolist-tail-- (cdr --dolist-tail--)))
  (let ((--dolist-tail-- yas--backported-syms) sym) (while --dolist-tail-- (setq sym (car --dolist-tail--)) (let ((backported (intern (replace-regexp-in-string "^yas-" "yas/" (symbol-name sym))))) (if (boundp sym) (progn (make-obsolete-variable backported sym "yasnippet 0.8") (defvaralias backported sym))) (if (fboundp sym) (progn (make-obsolete backported sym "yasnippet 0.8") (defalias backported sym)))) (setq --dolist-tail-- (cdr --dolist-tail--))))
  eval-buffer(#<buffer  *load*> nil "/home/vspinu/Dropbox/ELPA/yasnippet-20150811.1222/yasnippet.el" nil t)  ; Reading at buffer position 184627
  load-with-code-conversion("/home/vspinu/Dropbox/ELPA/yasnippet-20150811.1222/yasnippet.el" "/home/vspinu/Dropbox/ELPA/yasnippet-20150811.1222/yasnippet.el" nil nil)
  load("/home/vspinu/Dropbox/ELPA/yasnippet-20150811.1222/yasnippet.el" nil nil t)
  load-file("~/Dropbox/ELPA/yasnippet-20150811.1222/yasnippet.el")
  funcall-interactively(load-file "~/Dropbox/ELPA/yasnippet-20150811.1222/yasnippet.el")
  call-interactively(load-file record nil)
  command-execute(load-file record)
  execute-extended-command(nil "load-file" nil)
  funcall-interactively(execute-extended-command nil "load-file" nil)
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

@npostavs
Copy link
Collaborator

npostavs commented Sep 7, 2015

Works for me starting from emacs -Q.

This looks like a dup of #528. I suspect there might be some settings that are needed to trigger this, but so far nobody has managed to explain what they are and I have never managed to trigger it myself.

@npostavs npostavs closed this as completed Sep 7, 2015
@zzgraph
Copy link

zzgraph commented Sep 22, 2015

It happened to me too. But it was caused by a package installed parallel.
I think this always happens when someone installs 2 parallel versions, especially when there's a yasnippet-bundle 0.6.1 on marmalade repo which may cause confusion.

@smitty1eGH
Copy link

@zzgraph Yep. The yasnippet-bundle was the source of my woe. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants