gabrielelanaro / emacs-for-python

Collection of emacs extensions specifically collected for python development, with workflow guidelines!
http://gabrielelanaro.github.com/emacs-for-python
GNU General Public License v3.0
809 stars 150 forks source link

Symbol's function definition is void: yas/initialize #119

Open jccode opened 11 years ago

jccode commented 11 years ago

Hello gabrielelanaro, The "emacs-for-python" is so useful for python developer, thanks for your great work. I found the function yas/initialize is not available in the latest yasnippet, which rename to yas--initialize already. It lead to the errors as below

Debugger entered--Lisp error: (void-function yas/initialize)
  (yas/initialize)
  eval-buffer(#<buffer  *load*<3>> nil "/home/jcchen/emacs/plugins/emacs-for-python/epy-editing.el" nil t)  ; Reading at buffer position 846
  load-with-code-conversion("/home/jcchen/emacs/plugins/emacs-for-python/epy-editing.el" "/home/jcchen/emacs/plugins/emacs-for-python/epy-editing.el" nil t)
  require(epy-editing)

It's annoying that the changes of public interface lead to the incompatible problem. Could you help to do some change to adaptive the latest yasnippet if you have time.

Thank you!

sambrightman commented 9 years ago

This is caused by backwards-compatibility oversight in yasnippet, now fixed by capitaomorte/yasnippet#546.