Fork me on GitHub

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?


Hum, that does seem nice for package management


Now anything for config management?


Like init.el management?


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.


I want only that!


Hum... I guess I can start with a classic emacs config and see how things go.


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.


that would be cool - I've only had partial success getting inf-clojure to work


do you have a working jump-do-definition function? That would do it for me I think 🙂


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: