Better HN
topnewbestaskshowjobs
Log inSign up

owernonvl

3 karma · joined Aug 18, 2016 (10y ago) · 1 submissions

Submissions

comment 10y ago · link · parent

I really enjoyed the article!

By the way, you mentioned using word boundaries in regexes to replace variable names. GNU Emacs regexes can actually include "symbol boundaries" (which are a little better for variable names than word boundaries), represented as "\_<symbol\_>". Personally, I like using the "highlight-symbol" package, which provides the "highlight-symbol-query-replace" command to basically execute M-% for the symbol at point.