Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clojure-semantic support to clojure layer #1977

Closed
sooheon opened this issue Jun 13, 2015 · 5 comments
Closed

Add clojure-semantic support to clojure layer #1977

sooheon opened this issue Jun 13, 2015 · 5 comments

Comments

@sooheon
Copy link

sooheon commented Jun 13, 2015

https://github.com/kototama/clojure-semantic

Currently, the repository doesn't have a MELPA listing, so I'm not sure what the correct way to add it would be. Just bundle it in the layer? Anyway, it's useful if you use something like lispy, and its cumbersome to have it sitting somewhere else on your disk and manually load it.

@tuhdo
Copy link
Contributor

tuhdo commented Jun 13, 2015

A while ago Spacemacs has a plan to use Quelpa to simplify the process of installing packages, so there's no distinction between a package and an extension anymore. You can see the issue here: #5. Probably after this Org conversion is taken care of, we should start migrating to Quelpa.

@syl20bnr
Copy link
Owner

I have to work on the merge of extensions and packages first. Then we will be able to add solutions like Quelpa. The first step is something I can start to tackle in 0.104.0. For the current release I want to finisher org migration and the update mechanism of Spacemacs. I'm 60% done with the update, we can already update Spacemacs from the mode-line button.

@StreakyCobra
Copy link
Contributor

@sooheon AFAIK you can now install packages from github, as shown here: https://github.com/syl20bnr/spacemacs/blob/develop/doc/LAYERS.org#packagesel

You should be able to include it in the clojure layer ☺️

@sooheon
Copy link
Author

sooheon commented Nov 14, 2015

Thanks @StreakyCobra. Got it working with the following if anyone else is curious, I'll hold off on a PR until there is more actual demand, due to the hacky nature of the file loading currently.

in layer-packages:

(clojure-semantic :location
                            (recipe
                             :fetcher github
                             :repo "kototama/clojure-semantic"))

in init-clojure-semantic declaration:

(use-package clojure-semantic
    :defer t
    :init
    (with-eval-after-load 'clojure-mode
      (load "~/.emacs.d/elpa/clojure-semantic-20130323.2/clojure.el")))

@sooheon sooheon closed this as completed Nov 14, 2015
@TheBB
Copy link
Contributor

TheBB commented Nov 15, 2015

Maybe someone can push upstream to turn it into a MELPA package with a suitable name?

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

No branches or pull requests

5 participants