Open EmmanuelCharpentier opened 3 years ago
‘company-stan’ is the current completion tool.
ac-stan
as far as I know has never been on MELPA. I am not an active auto-complete
user so I cannot really maintain it in a meaningful way.
I did try to bring it to MELPA, but I didn't manage to fix some issues. If you can address these issues in a PR to this repo. We could try to bring it MELPA again. https://github.com/melpa/melpa/pull/6448
But please be aware auto-complete
itself is unmaintained: https://github.com/auto-complete/auto-complete#looking-for-new-maintainer
Thanks for a prompt answer !
‘company-stan’
Why ?
My "muscle memory" is well-tuned to auto-complete
(which I use for other modes, such as sage-shell-mode
).
Do you plan to maintain (even minimally) ac-stan
, or deprecate it ?
FWIW, the current version of ac-stan
(cloned about 1 hour ago) needs a small patch :
charpent@zen-book-flip:~/Dev/stan-mode$ git diff
diff --git a/ac-stan/ac-stan.el b/ac-stan/ac-stan.el
index bcccf32..f4b7c2c 100644
--- a/ac-stan/ac-stan.el
+++ b/ac-stan/ac-stan.el
@@ -58,6 +58,8 @@
ac-source-yasnippet
ac-source-dictionary)))
+(defalias 'stan-ac-mode-setup 'ac-stan-ac-mode-setup "A handy alias...")
+
(add-to-list 'ac-modes 'stan-mode)
(provide 'ac-stan)
I'll look into company mode
and see if I can adapt.
Thanks again for your answer !
I forgot to mention above, my company-mode
configurations are here. I think I set some of the key bindings to emulate auto-complete
.
https://github.com/kaz-yos/emacs/blob/master/init.d/500_auto-completion-related.el#L131
ac-stan
is not (no longer ?) available on MELPAThe examples available in the README treat
ac-stan
as a "second-class citizen` (disabled by default).Do you plan to maintain an auto-complete feature for
stan-mode
in the future ?If not, what alternatives do you recommend (and why...) ?