There seems to be an issue with handling backslashes properly in vr/query-replace. In this text:
Lorem \textit{ipsum} dolor
running vr/query-replace with
\textit -> \textbf
gives the error "Invalid use of `\' in replacement text" and changes nothing, even though the preview looks correct before going into the queries. Running the replacement
\textit -> \\textbf
gives the text
Lorem \textbf{ipsum} dolor
(as expected) but shows the suggestion
\textit -> \textbf
during query. I do not have the same issues when running vr/replace. The problem appears on MacOS X 10.8.3 running Emacs 24.3.
There seems to be an issue with handling backslashes properly in vr/query-replace. In this text:
running vr/query-replace with
gives the error "Invalid use of `\' in replacement text" and changes nothing, even though the preview looks correct before going into the queries. Running the replacement
gives the text
(as expected) but shows the suggestion
during query. I do not have the same issues when running vr/replace. The problem appears on MacOS X 10.8.3 running Emacs 24.3.