This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-14
Channels
- # babashka (53)
- # beginners (158)
- # calva (25)
- # cider (21)
- # clara (1)
- # clj-kondo (12)
- # cljsrn (6)
- # clojure (94)
- # clojure-australia (2)
- # clojure-bay-area (6)
- # clojure-europe (40)
- # clojure-nl (10)
- # clojure-spec (16)
- # clojure-uk (18)
- # clojurescript (95)
- # cursive (14)
- # data-science (1)
- # datascript (6)
- # datomic (18)
- # depstar (2)
- # duct (36)
- # emacs (15)
- # events (4)
- # fulcro (16)
- # graalvm (10)
- # helix (25)
- # honeysql (6)
- # jackdaw (4)
- # jobs (2)
- # leiningen (24)
- # lsp (4)
- # malli (10)
- # off-topic (3)
- # pathom (3)
- # polylith (19)
- # practicalli (4)
- # prelude (1)
- # re-frame (6)
- # reagent (13)
- # reitit (3)
- # remote-jobs (10)
- # ring (12)
- # ring-swagger (2)
- # shadow-cljs (54)
- # testing (17)
- # tools-deps (10)
- # xtdb (14)
Mostly in the interest of getting it into the clojurians slack archives: I prefer to have word motions in Clojure buffers treat hyphens/dashes as part of a word. For a while Timothy Pratley's solution (https://timothypratley.blogspot.com/2014/08/clojure-friendly-word-definitions-in.html) did that for me, but starting in emacs 25 that stopped working (as described at https://github.com/emacs-evil/evil/issues/565). I've been living with it for a long time, but finally found a solution. It turned out that subword-mode wasn't handling this properly, and for some reason was always on in my Clojure buffers. So in addition to using Timothy's solution,
(dolist (c (string-to-list ":_-?!#*"))
(modify-syntax-entry c "w" emacs-lisp-mode-syntax-table))
I also added a hook to disable subword-mode in clj/s buffers:
(add-hook 'clojure-mode-hook (lambda () (global-subword-mode -1)))
I'm not especially skilled with emacs lisp, so if anyone has a cleaner solution I'd love to hear it.Hi, im new to emacs…cider seems to be starting in a window at the bottom of emacs, it used to start to the right…any idea what changed and how I can change it back?
Try in #cider maybe
will do
I used projectile to full-text-search filenames, which very, very convenient. A month or so ago it suddenly stopped working (after som upgrade or something). What do you use to like C-x f <write part of file name> enter to open it in emacs?
I use (selectrum)[https://github.com/raxod502/selectrum] to do the incremental search for files. However, I do use projectile with consult to do project file searching.
counsel-find-file
I like, it does fuzzy matching of file names and is quite fast
although I might have to take a look at selectrum
now 🙂
I keep my tools under version control... and do incremental changes... I can run git bisect to find when a commit introduced a bug
that's one of the big advantages of text based tools like Vim, Emacs... opposed to compiling VS Code
Linus what exactly stopped working in Projectile? There were definitely no material changes to the core functionality in a very long time. (I’m Projectile’s author)
For the record - these days I’m a selectrum user myself, having used before this ido
and ivy
.
I did remove ido
as the default for Projectile which may have surprised a few people, as now if you don’t have any minibuffer completion package enabled you’ll have to press tab for the completion candidates.
See https://docs.projectile.mx/projectile/configuration.html#completion-options for more details.