+
+emacs
+
+http://cygwin.com/ml/cygwin/2000-08/msg01049.html
+http://www.cs.unc.edu/~juliano/my_emacs_files/cygwin32-mount.el
+http://cygwin.com/ml/cygwin/2000-02/msg00109.html
+http://sources.redhat.com/ml/cygwin/2001-01/msg00878/cygwin32-mount.el
+
+ ;; setup Bash shell
+ (setq exec-path (cons "C:/cygwin/bin" exec-path))
+ (setenv "PATH" (concat "C:\\cygwin\\bin;" (getenv "PATH")))
+ (setq process-coding-system-alist '(("bash" . undecided-unix)))
+ (setq w32-quote-process-args ?\")
+ (setq shell-file-name "bash")
+ (setenv "SHELL" shell-file-name)
+ (setq explicit-shell-file-name shell-file-name)
+ (add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m)
+