LoginSignup
0
0

More than 5 years have passed since last update.

Windows の Emacs で rgrep を使えるようにする

Last updated at Posted at 2015-12-10

find コマンドと grep コマンドがインストールされていることが前提。
ただし、Windows 標準の find が使われないように工夫する。

↓は Git for Windows を使った例。

(setq find-program "\"C:\\Program Files\\Git\\usr\\bin\\find.exe\""
      grep-program "\"C:\\Program Files\\Git\\usr\\bin\\grep.exe\""
      null-device "/dev/null")

※参考 EmacsWiki

ちなみに diff の場合はこちら。

(setq diff-command "\"C:\\Program Files\\Git\\usr\\bin\\diff.exe\"")
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0