Emacs tip of the day
I write a lot of papers these days (articles, thesis, …). Often I need to fix issues/errors/typos from dead-tree-printed-version annotations to my LaTeX sources.
C-s) is not really convenient for this
purpose since I use
M-q) all the time, so that the
consecutive words I’m looking for may as well lay on different lines.
Here is a quick solution : set
M-x customize-option RET search-whitespace-regexp RET). It won’t help
C-M-s) may do the trick as well. The
only drawback left is when you search something that contains regexp meta
characters, but I can live with it for now.
An obvious solution would be to write a command that performs
isearch-forward-regexp but with a slightly modifed
would insert escaped meta characters automagically.