gabrielelanaro/emacs-for-python

Disable/switch yasnippet

jrhorn424 opened this issue · 4 comments

I'd like to use the trunk version of yasnippet (as opposed to yasnippet-bundle). The trunk version apparently doesn't clash with django-html-mumamo-mode. Is there a way to disable yasnippet-bundle without leaving out the entire epy-completion.el file?

For now you can try to comment out the yasnippet section in the file epy-editing.el (line 22-23). Try and tell me if this is working for you.

I think anyway that I can update the yasnippet version I included in emacs-for-python to the last version.

I'm not that great with elisp, but I'll take a look at the code and see what I can do. I'm thinking the process should be straightforward:

  1. Add trunk yasnippet as a submodule.
  2. Change every call to yasnippet-bundle to yasnippet.

I'll submit a patch in a few days, or sooner if I can get around to it, unless you want to take care of it.

Oh, I see. yasnippet-bundle was sneaking in through ELPA. Not sure what was triggering it (something probably in my init).

Anyway, it's probably still a good idea to track the trunk of yasnippet. For now, I'm going back to my previous setup to workout this issue with ELPA (I made a lot of changes yesterday and need to start over).

Indeed, this issue was not related to emacs-for-python, but my configuration, which was triggering the download of yasnippet-bundle.

Sorry for the noise! emacs-for-python is working great now.