Fork me on GitHub
#emacs
<
2018-08-22
>
vemv14:08:18

How do you typically search for ocurrences of r as a variable / fn name? With my current search command, it just searches for the letter r, so I'll get lots of undesired matches

vemv14:08:11

(in clojure-mode. and for the current buffer)

cmack14:08:12

I would search with whitespace either before or after — something like: \ r or

cmack14:08:20

in swiper

cmack14:08:21

likewise for fn I would probably try \(r\

vemv14:08:31

variables can be invoked as fns though 🙂

vemv14:08:14

Probably I'm looking for something that takes advantage of the major mode's syntax table, which specifies what is a word in that language

cmack15:08:12

my way is definitely not like a dedicated find-usages for a major mode or other IDE … just a “get-it-done” thing. >_<

😅 1