There are a ton of ways to integrate Cygwin with Emacs on Windows. EmacsWiki shows a few ideas. Here are the options that I've found:
- Use the Emacs that comes with Cygwin. (Then find a way to get to cmd.exe if you want it.)
- Use NTEmacs and Cygwin as a "sometimes" shell. (A special command to launch Cygwin)
- Use NTEmacs and Cygwin as the "always" shell. (M-x shell launches cygwin)
To give some clarity as to "why". Here are a couple of examples where I wish I had Cygwin with Emacs:
- M-x whois doesn't work on NTEmacs.
- Packages like Wanderlust include a Makefile that isn't Windows friendly.
- Sometimes I just need a bash shell for something.
So which option of Emacs/Cygwin works well for others? Also, has anyone tried MSYS integration successfully?