stan-dev / stan-mode

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

`stan--load-auto-complete` undefined in `stan-snippets` #38

Closed tpapp closed 9 years ago

tpapp commented 9 years ago

Latest version from package repo. Backtrace:

Debugger entered--Lisp error: (void-variable stan--load-auto-complete)
  (if stan--load-auto-complete (progn (add-to-list (quote ac-sources) (quote ac-source-yasnippet))))
  stan-snippets-initialize()
  (lambda nil (stan-snippets-initialize))()
  eval-after-load("yasnippet" (lambda nil (stan-snippets-initialize)))
  eval-buffer(#<buffer  *load*-680342> nil "/home/tamas/.emacs.d/elpa/stan-snippets-20141221.921/stan-snippets.el" nil t)  ; Reading at buffer position 2078
  load-with-code-conversion("/home/tamas/.emacs.d/elpa/stan-snippets-20141221.921/stan-snippets.el" "/home/tamas/.emacs.d/elpa/stan-snippets-20141221.921/stan-snippets.el" nil t)
  (stan-snippets-initialize)
  (lambda nil (stan-snippets-initialize))()
  funcall((lambda nil (stan-snippets-initialize)))
  mapc(funcall ((lambda nil (stan-snippets-initialize))))
  do-after-load-evaluation("/home/tamas/.emacs.d/elpa/yasnippet-20141117.327/yasnippet.elc")
  require(yasnippet)
  eval-buffer(#<buffer  *load*-617030> nil "/home/tamas/.emacs.d/elpa/stan-snippets-20141221.921/stan-snippets.el" nil t)  ; Reading at buffer position 1153
  load-with-code-conversion("/home/tamas/.emacs.d/elpa/stan-snippets-20141221.921/stan-snippets.el" "/home/tamas/.emacs.d/elpa/stan-snippets-20141221.921/stan-snippets.el" nil t)
  require(stan-snippets)
  eval-buffer(#<buffer  *load*-662500> nil "/home/tamas/.emacs.d/setup/28-stan.el" nil t)  ; Reading at buffer position 94
  load-with-code-conversion("/home/tamas/.emacs.d/setup/28-stan.el" "/home/tamas/.emacs.d/setup/28-stan.el" nil nil)
  load("/home/tamas/.emacs.d/setup/28-stan.el")
  mapc(load ("/home/tamas/.emacs.d/setup/00-packages.el" "/home/tamas/.emacs.d/setup/01-environment.el" "/home/tamas/.emacs.d/setup/02-editing.el" "/home/tamas/.emacs.d/setup/03-appearance.el" "/home/tamas/.emacs.d/setup/04-autoinsert.el" "/home/tamas/.emacs.d/setup/11-lisp.el" "/home/tamas/.emacs.d/setup/12-dired.el" "/home/tamas/.emacs.d/setup/13-org.el" "/home/tamas/.emacs.d/setup/14-org-publishing.el" "/home/tamas/.emacs.d/setup/15-mu4e.el" "/home/tamas/.emacs.d/setup/16-highlight.el" "/home/tamas/.emacs.d/setup/17-workgroups.el" "/home/tamas/.emacs.d/setup/18-reduced-blank-line.el" "/home/tamas/.emacs.d/setup/21-maxima.el" "/home/tamas/.emacs.d/setup/22-scss.el" "/home/tamas/.emacs.d/setup/23-auctex.el" "/home/tamas/.emacs.d/setup/24-setup-magit.el" "/home/tamas/.emacs.d/setup/25-utilities.el" "/home/tamas/.emacs.d/setup/26-gnus.el" "/home/tamas/.emacs.d/setup/27-ess.el" "/home/tamas/.emacs.d/setup/28-stan.el" "/home/tamas/.emacs.d/setup/30-fixes.el" "/home/tamas/.emacs.d/setup/31-axiom.el" "/home/tamas/.emacs.d/setup/33-julia.el"))
  eval-buffer(#<buffer  *load*> nil "/home/tamas/.emacs.d/init.el" nil t)  ; Reading at buffer position 228
  load-with-code-conversion("/home/tamas/.emacs.d/init.el" "/home/tamas/.emacs.d/init.el" t t)
  load("/home/tamas/.emacs.d/init" t t)
jrnold commented 9 years ago

Sorry for all the bugs lately. I should have it back to a workable version.

tpapp commented 9 years ago

No problem — I greatly appreciate the work you are putting into maintaining this package, which I find very useful. Everything works fine now, so I am closing the issue.