Fork me on GitHub
#spacemacs
<
2016-07-06
>
eggsyntax17:07:51

I'm using CIDER debugging, and while cider-debug-defun-at-point works as advertised, trying to place #break or #dbg breakpoints doesn't seem to have any effect at all, ie I run code that calls the form containing the #break and nothing happens. Does this work for anyone else?

eggsyntax19:07:09

Extremely useful (spac)emacs customization: treat clojure-style words (eg hyphenated words) as single words for purposes of word navigation: https://timothypratley.blogspot.com/2014/08/clojure-friendly-word-definitions-in.html

eggsyntax19:07:14

tl;dr:

(dolist (c (string-to-list ":_-?!#*"))
  (modify-syntax-entry c "w" emacs-lisp-mode-syntax-table))

zane19:07:27

The above is so you don't have to use SPC k d x?

eggsyntax19:07:31

Well, not necessarily. It's relevant if I'm just moving by word, for example. Or do you mean generally that it makes more sense to navigate by sexp?

zane21:07:47

That's what I do.

zane21:07:59

Just trying to understand the motivation.

zane21:07:10

I spend a lot of time in SPC k mode, which is maybe unusual.

akiva21:07:52

I tried to get into that mode but it seems like too many keystrokes to do what I can more quickly do using smartparens.

zane22:07:59

There are built-in Spacemacs bindings for smartparens?

zane22:07:03

Or do you use chords?

akiva22:07:19

Chords. I’m not normally a fan of chording but being able to quickly jump back and forth and up and down nested parens, etc., with single keystrokes is great. Slurpage and barfage is super quick too.

akiva22:07:43

All without having to leave insert mode.