This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-20
Channels
- # aleph (2)
- # announcements (4)
- # aws (3)
- # beginners (141)
- # calva (9)
- # clj-kondo (1)
- # clojure (3)
- # clojure-boston (2)
- # clojure-brasil (1)
- # clojure-houston (1)
- # clojure-italy (4)
- # clojuredesign-podcast (1)
- # clojurescript (22)
- # cursive (2)
- # data-science (1)
- # emacs (26)
- # fulcro (22)
- # juxt (1)
- # off-topic (28)
- # onyx (3)
- # pedestal (4)
- # reagent (10)
- # reitit (6)
- # shadow-cljs (9)
- # spacemacs (2)
- # tools-deps (29)
- # yada (1)
I use spacemacs at workv
@quieterkali detecting unused requires is something I would use a linter for. I have clj-kondo continually running via flycheck. If that doesn't work, try joker or Eastwood https://practicalli.github.io/spacemacs/improving-code/linting/
Currently working on this new feature: https://twitter.com/borkdude/status/1152516082630103040
as newbie question to emacs/cider/lisp. So I have orignally took the env. setup from cljoure the brave and the true doc. everything works perfectly and so on.
I have only one problem from time to time with parenthesis, ()
like i can't delete parenthesis, is this a special config from CIDER or other emacs plugins which works on lisp? My goal would be to be able to delete parenthesis/deal with them as the current conf 😁
Hi @darioszr I’m unfamiliar with exactly what Brave and True tells you to do, but the thing you’re describing is probably due to an emacs package called either paredit, or smartparens
They’re editing modes specifically for lisps, and they prevent you from having unbalanced parentheses. It’s really nice when you get used to it, but it can be confusing when you’re new
I mean Like months ago I downladed the preparred conf from the brave and true, so I just learned emacs from scratch.. 😁
now at least I know what I'm using for () , I was thinking that CIDER did it for me 😁 , so I can look at the documenation.. yep, Initially it was kind pita to deal with ().. I find my way , but I'm missing other keyboard shortcuts imho.. thx! 😁
I have interpreted the fact that in this page(referenced in many pages) https://www.emacswiki.org/emacs/PareditCheatsheet, the cheatsheet isn't there
so I interpret the fact that isn't there, it was a sign from an obscure AI which govern the world sent to me to say stop using paraedit.. I have tried it use it, but deleting paranthesis etc, was really pita more then any advantages... 😁
@darioszr BraveClojure Emacs setup is very outdated. Take a look at the excellent http://docs.cider.mx website. You will benefit from using a tool like paredit or the newer smartparens package to ensure your parentheses stay balance and donstructural editing. A missing paren will break your code. All the Clojure developers I know use some package to manage their parens
I get by with only a mode that highlights the parent/bracket/curly-brace that matches the one my cursor is on, and a keystroke to move the cursor there, but I know lots of folks really appreciate more support than that.
oh, and auto-indenting of clojure-mode
https://gitlab.com/jjzmajic/hercules.el When open source competes 🙂