Emacs

Windows

Emacs for Windows has default home location that is%APPDATA%.
Example is here:

C:\Users\username\AppData\Roaming\.emacs.d

If you would change, set the HOME to Environment Variables.

Run the command prompt with administrator privileges.

cd %USERPROFILE%
git clone https://github.com/hiroakit/profile.git
mklink /D .emacs.d .\profile\resources\emacs

grep

M-x find-grep

-*- mode: grep; default-directory: "~/source/repos/comm-central/mail/installer/" -*-
Grep started at Fri Jul 16 13:49:49

find . -type f -exec grep  -nH --null taskbar "{}" ";"
Access denied - .
File not found - -TYPE
File not found - F
File not found - -EXEC
File not found - GREP
File not found - -NH
File not found - --NULL
File not found - TASKBAR
File not found - ;

Grep exited abnormally with code 1 at Fri Jul 16 13:49:49

If you got this error, you need to organize %PATH% so that the GNU find command takes precedence over the Windows find command.

-*- mode: grep; default-directory: "~/source/repos/comm-central/mail/installer/" -*-
Grep started at Fri Jul 16 13:49:49

find . -type f -exec grep  -nH --null taskbar "{}" ";"
Access denied - .
File not found - -TYPE
File not found - F
File not found - -EXEC
File not found - GREP
File not found - -NH
File not found - --NULL
File not found - TASKBAR
File not found - ;

Grep exited abnormally with code 1 at Fri Jul 16 13:49:49

Example after setting:

References