This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-07
Channels
- # adventofcode (4)
- # aleph (1)
- # architecture (9)
- # beginners (67)
- # boot (7)
- # boot-dev (12)
- # cider (3)
- # clojure (166)
- # clojure-austin (3)
- # clojure-estonia (1)
- # clojure-greece (2)
- # clojure-russia (5)
- # clojure-spec (1)
- # clojure-uk (4)
- # clojurescript (19)
- # cursive (1)
- # data-science (5)
- # datascript (4)
- # datomic (3)
- # docs (10)
- # emacs (24)
- # events (4)
- # fulcro (16)
- # graphql (8)
- # hoplon (2)
- # jobs-discuss (1)
- # leiningen (5)
- # off-topic (2)
- # planck (30)
- # re-frame (20)
- # reagent (36)
- # ring (3)
- # shadow-cljs (5)
- # spacemacs (1)
- # specter (2)
Sorry for the long messages, but I wanted to give some context for some trouble I'm having some trouble getting clojure+emacs setup and packages to install from melpa, specifically clojure-mode. The OS is macos sierra on an older macbook pro. I first tried installing http://emacsformacosx.com (25.3 & 25.2) but it would crash immediately when attempting to M-x package-list-packages, or anything package related. I then moved over to a brew install method on http://clojure-doc.org/articles/tutorials/emacs.html#installing-emacs using the command "brew install emacs --with-cocoa" and also tried with --gnu-utils as a stack overflow post mentioned there might be ssl issues with refreshing packages. My ~/.emacs.d/init.el is empty and I've put in the config listed at http://clojure-doc.org/articles/tutorials/emacs.html#configuring-emacs and also the config listed at https://melpa.org/#/getting-started. I've tried both the SSL and non-ssl repository urls. I have also confirmed that the init.el is actually being loaded by the emacs started by putting some other settings below that do take effect when the editor is started. After each of these different configurations were entered I restarted and did a "M-x package-refresh-contents" Still no luck and each time I attempt to install clojure mode either in the config file or with "M-x package-install RET clojure-mode RET" I get a "[No match]" and can't find clojure-mode when attempting to list the available packages with "M-x page-list-packages". I must be missing something easy, does anyone have any advice for what to try next? Or perhaps there are some issues with emacs on OSX causing this? Thanks and any help would be much appreciated.
It should either be something of the form: * I can't install package XYZ OR * I can instal XYZ, but when I try to do FOO, BAR happens * or something like that -- one particular poblem to resolve at a time.
simply for debugging purposes, you can tentatively install a 'starter kit' (like prelude or spacemacs) and see if the installer works
Just installed aquamacs and clojure-mode was found an installed without issue. My feeling is that there is something very broken on macos sierra with plain emacs (brew and emacsforosx) and connecting to melpa.
you can also install https://github.com/railwaycat/homebrew-emacsmacport , I use that one
you can also take inspiration from the 14 first lines https://github.com/vemv/.emacs.d/blob/master/lib/non-submodules/vemv.init.el
a couple of nuances are needed for installing packages from elisp code, as reflected here ^
Yeah one of the many configs attempted was the same as those 14 lines and still failed to pull package list from melpa and thus wouldn't install.
I think changing http <-> https fixed a similar issue I was having. note the 3 urls in my code, some are http, others https
Hope someone can review my code https://github.com/stardiviner/ob-clojure-literate/compare/feature/org-babel-initiate-session (I'm not good at elisp, I just modify some code based on existing code)
Hi. Does anybody know how to setup Emacs so that I can start 2 repls within same project?
I am using https://github.com/macchiato-framework/macchiato-template/blob/master/resources/leiningen/new/macchiato/project.clj#L33
There are 2 clojurescript builds (one for browser, another for server). Which one is active is determined by profile (`:broser-dev` or :dev
). Each has it's own figwheel config.
Here is my clojure config: https://gist.github.com/nenadalm/dd400aaf3d78d4cb59cc3c6c65eefba3#file-emacs-L90.
I managed to setup clojurescript for other projects using cider-jack-in-clojurescript
, but I suppose I would have specify lein profile somehow when running it?