# HG changeset patch # User Oleksandr Gavenko # Date 1261566245 -7200 # Node ID 39054eb39d27d05bb0b73873ce24ef3508fa39c1 # Parent 848b9cd2e47ca750155d2c5459c10e3e4d5874c8 Added workaround to allow find-dired worked in Windows when interacrive shell set to bash.. diff -r 848b9cd2e47c -r 39054eb39d27 .emacs-my --- 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")) ) ;; ======================================================================