I have HELLOWORLD
string inside my file.
My setup:
(defun my-find-orgfiles ()
(interactive)
(setq toggle-case-fold-search 0) ; Turn Off Smart Case Sensitivity
(find-name-dired "~/folder" "*py"))
(global-set-key (kbd "M-m") 'my-find-orgfiles)
(add-hook 'python-mode-hook
(lambda ()
(setq flycheck-python-pylint-executable "~/venv/bin/pylint")
(setq flycheck-pylintrc "~/.pylintrc")))
(setq case-fold-search nil)
Than, 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 helloword
to replace with hello
.
On the minibuffer I face with following:
Query replacing helloworld with HELLO: (? for help)
Than replaces HELLOWORLD
into HELLO
.
Here if replacement occurs I want it to replace into
hello
rather thanHELLO
, since I enter lower casehello
Since lower case
helloword
does not exist in the file, it shouldn't attempt to replace anything.
Note: Adding (setq case-fold-search nil)
did not help.