(defun my-find-orgfiles () (interactive) (find-name-dired "." "*py")) (global-set-key (kbd "M-n") 'my-find-orgfiles)
t to toggle marked/unmarked files (thus marking them all, since none were marked). Then I use
Q to use
query-replace on the marked files. And enter
.value to replace with
=> What am I trying to do?
Replace a string that is starting or ending with
. (dot) such as:
=> What happens instead?
During replacement Emacs also finds text such as
[value and so on. In other words,
.value is matching any character followed by
=> How can I force
dired-do-find-regexp-and-replace (bound to
Q in Dired buffers) to look for a literal
. during string replacement?
M-n, I press
Query replace regexp in marked filespops up and I type
.valuegoal is to replace it with
value. So basically on the selected files I want to replace
tto toggle marked/unmarked files (thus marking them all, since none were marked). Then you use
Qto use query-replace on the marked files. You might want to add that info to the question, for clarity.