stan-dev / stan-mode

Emacs mode for Stan.
GNU General Public License v3.0
71 stars 15 forks source link

stan-mode autocomplete functionality depends on yasnippet #28

Closed jrnold closed 9 years ago

jrnold commented 9 years ago

From an email. When using autocomplete, they get the following error message

Error running timer `ac-show-menu` (void-function yes/current-snippet-table)

This is likely due to stan-mode trying to use autocomplete yasnippet even though stan mode does not depend on yasnippet. I need to confirm that this is actually a problem, and not just a bad version of yasnippet with the user.

Options to fix this

  1. make stan-mode depend on yasnippet incorporate all of stan-snippets into stan-mode
  2. remove ac-source-yasnippet from stan-mode.el, and add it to ac-sources in stan-snippets.
jrnold commented 9 years ago

Now stan-mode depends on yasnippet.