Skip to content

Future of ac-stan ? #63

Description

@EmmanuelCharpentier
  • ac-stan is not (no longer ?) available on MELPA

  • The 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...) ?

Activity

  1. kaz-yos commented on Aug 15, 2020

    @kaz-yos
    Collaborator

    ‘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.
    melpa/melpa#6448

    But please be aware auto-complete itself is unmaintained: https://github.com/auto-complete/auto-complete#looking-for-new-maintainer

  2. EmmanuelCharpentier commented on Aug 15, 2020

    @EmmanuelCharpentier
    Author

    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 ?

  3. EmmanuelCharpentier commented on Aug 15, 2020

    @EmmanuelCharpentier
    Author

    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 !

  4. kaz-yos commented on Aug 18, 2020

    @kaz-yos
    Collaborator

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions