I am trying to quickly search and replace in multiple files using dired. The steps I follow are from this question (Chris Conway's and Frank Henard's answers), I am pretty sure the instructions are correct since it seems like I am the only person having this problem.
To simplify the problem, the steps I am doing are as follows:
- Open a folder in dired
- Mark a file with
Qto search and replace in the marked file, this command will ask for two arguments, in the search query argument I type
div, and in the replacement query argument I type
foo(to replace div with foo).
After I do these simple steps, the search throws no results, the buffer says:
No matches for: div
I know plenty divs are spreaded all over the file. Perhaps I am not entering the arguments in the correct format, I tryed many things, like enclosing the string in quotes or double quotes, and running emacs with the -q argument in the shell to disable my dotfile. The instructions looked pretty simple, I don't know what I am doing wrong.
Emacs version: 25.1.1