Added workaround to allow find-dired worked in Windows when interacrive shell
set to bash..
--- a/.emacs-my Fri Dec 11 10:48:26 2009 +0200
+++ b/.emacs-my Wed Dec 23 13:04:05 2009 +0200
@@ -553,6 +553,11 @@
(setq explicit-shell-file-name "bash")
(setq explicit-bash-args '("-i"))
(setq explicit-sh-args '("-i"))
+ ;; Here is workaround: when explicit-shell-file-name is "bash" and shell-file-name is "cmdproxy.exe"
+ ;; find-dired incorrect quote args (in shell-quote-argument (w32-shell-name) return "bash", but
+ ;; shell-command used shell-file-name which value "cmdproxy.exe"). So I put additional space in pattern to
+ ;; prevent quoting.
+ (setq find-ls-option '("-exec ls -ld {} ;" . "-ld"))
)
;; ======================================================================