emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
viesti 2021-04-14T05:56:38.130200Z

ah, think I updated lsp-mode, but maybe was on an older version, which didn't have .clj-kondo for ignore

viesti 2021-04-14T05:57:19.130400Z

I wondered where the files came from, then scripted some stats:

for d in `find . -maxdepth 1 -type d | sort`; do echo $d; find $d | wc -l; done

viesti 2021-04-14T05:57:58.130600Z

maybe could even include a script like that in the lsp-mode docs to help people uncover hidden black holes of stuff in project directory šŸ˜„

eggsyntax 2021-04-14T16:58:34.137700Z

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.

Steven Katz 2021-04-14T17:36:05.140400Z

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?

grazfather 2021-04-14T17:53:02.140500Z

Try in #cider maybe

Steven Katz 2021-04-14T18:42:51.140700Z

will do

Linus Ericsson 2021-04-14T21:27:59.142400Z

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?

hipster coder 2021-04-15T19:42:20.144100Z

I keep my tools under version control... and do incremental changes... I can run git bisect to find when a commit introduced a bug

hipster coder 2021-04-15T19:43:03.144300Z

that's one of the big advantages of text based tools like Vim, Emacs... opposed to compiling VS Code

šŸ‘ 1
2021-04-15T23:22:09.144800Z

thereā€™s the built-in project-find-file in Emacs 27.2 as well

1
bozhidar 2021-04-16T07:58:45.145300Z

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)

bozhidar 2021-04-16T07:59:22.145500Z

For the record - these days Iā€™m a selectrum user myself, having used before this ido and ivy.

bozhidar 2021-04-16T08:00:53.145700Z

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.

bozhidar 2021-04-16T08:01:59.145900Z

See https://docs.projectile.mx/projectile/configuration.html#completion-options for more details.

šŸ™ 1
Rolfe Power 2021-04-14T21:37:23.142600Z

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.

šŸŽ‰ 2
blak3mill3r 2021-04-14T23:55:42.142900Z

counsel-find-file I like, it does fuzzy matching of file names and is quite fast

blak3mill3r 2021-04-14T23:56:38.143100Z

although I might have to take a look at selectrum now šŸ™‚