This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # adventofcode (1)
- # announcements (10)
- # babashka (33)
- # beginners (104)
- # braveandtrue (2)
- # calva (5)
- # clj-kondo (23)
- # cljdoc (8)
- # clojure (13)
- # clojure-finland (1)
- # clojure-greece (1)
- # clojure-norway (2)
- # clojure-sweden (7)
- # clojure-uk (29)
- # clojurescript (20)
- # community-development (12)
- # cursive (4)
- # datomic (1)
- # duct (2)
- # emacs (36)
- # fulcro (48)
- # off-topic (5)
- # pathom (2)
- # planck (2)
- # quil (3)
- # reagent (17)
- # reitit (7)
Anyone knows if there's an emacs config manager? I'm looking for something say a bit like Spacemacs or doom-emacs in that it helps organize configuration more cleanly and provides package management and update/rollback, but that would be all, otherwise it would be a plain Emacs starter config?
Like doom-emacs lists as features:
A modular architecture for a more organized Emacs configuration. A custom elisp library to help you simplify your config. A declarative package management system (powered by straight.el) with a command line interface. Install packages from anywhere, not just (M)ELPA.
a lot of the elisp library in doom is dependent on the packages that are in the base install
straight.el also has a concept of recipes which may be similar to part of what you want
Ya, straight.el does seem like it would help a lot, the package management stuff is the hardest to put together on my own
I have had my .emacs.d directory under git version control for a while now, kept in a public Github repo, which gives me the ability to roll back if I mess up something, and also easily copy the files to a new machine if I want to use the same Emacs setup on it.
hey @U0CMVHBL2 do you connect to repls from emacs, and if so (and you don't mind me asking!) how?
I connect to socket REPLs from emacs. I know many people use Cider and unrepl, but I haven't used that.
I use inf-clojure to connect to a socket REPL. Perhaps I should write up the steps somewhere and publish them, rather than recording them in this ephemeral place.
I believe Cider can provide that, and some other things, but I don't have one in my setup right now.
yeah I currently use cider for most work, but I barely use a fraction of its capabilities, and it's very complex. Thanks for answering.
Eh, if you can make good use of the fraction you care about, and if the parts you do not use are not causing you problems, you should be good. Granted it is entirely possible that parts you do not use may sometimes be causing you problems.
I'm not miserable 🙂 Just always interested in simplification - I just tried out clojure-lsp in combination with inf-clojure, and that's actually looking quite usable.
I've heard of clojure-lsp but never tried it out before. Were the instructions you found for setting it up, and using jump-to-definition, straightforward?
It looked like it was pretty straightforward from the README - I saw it was already supported by lsp-mode which I already use elsewhere. So I installed the clojure-lsp binary and started lsp in a buffer and it just started working 🙂
the README was pretty clear, and looked like it would work out of the box for someone who did not already have lsp-mode installed
and I was fortunate that there is a maintained arch linux user repo for it, so installing it was a 1-liner
(it can't jump into sql using hugsql understandings though, which cider can, which always filled me with wonder - a real "it just works" moment ❤️ so we'll see how long I last and if the new things make it worthwhile (linting...hmm))
re: jump-to-definition - if you don't mind re-indexing manually from time-to-time, i have some code that generates a TAGS file for a project and its dependencies. this then works with built-in emacs commands for navigating code: https://gist.github.com/sogaiu/6cb947b00ae13d00d4ae16ab7aaf97e4