Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

how can I configure emacs on Windows 7 'Meta shell' command to open a cygwin shell instead of a Microsoft Windows shell?

Thank you.

share|improve this question

I use this configuration all the time, and IMHO the best way to do it is to use a Cygwin emacs. The everything is consistent - Emacs file handling and your shell.

You can explicitly give Emacs the shell file name - that variable is cleverly named: explicit-shell-file-name. Set it to, say, c:/cygwin/bin/bash.exe, etc.

More comprehensive setup and other useful tips for this configuration:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.