title: I want to run the cygwin bash shell from native windows emacs app
body: <p>I have followed instructions from <a href="https://stackoverflow.com/questions/235254/how-can-i-run-cygwin-bash-shell-from-within-emacs">How can I run Cygwin Bash Shell from within Emacs?</a> this question and I have gone further and added the <code>(setq explicit-bash-args '("--login" "-i"))</code> command, however emacs continues to only display the dos prompt when I type <code>M-x shell</code>. In summery my .emacs file looks like this:</p>
  
  <pre><code>(defun cygwin-shell ()
    "Run cygwin bash in shell mode."
    (interactive)
    (let ((explicit-shell-file-name "C:/cygwin/bin/bash"))
      (call-interactively 'shell)))
  (setq explicit-bash-args '("--login" "-i"))`
  </code></pre>
  
  <p>Please be gentle with the answers as I am right at the bottom of the famous vertical emacs learning curve!</p>