bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10469: 24.0.92; find-name-dired quotes characters in output


From: Michael Heerdegen
Subject: bug#10469: 24.0.92; find-name-dired quotes characters in output
Date: Tue, 10 Jan 2012 05:21:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Hello again,

Yes, this is resulting from #10262.

After browsing the sources, `find-dired' seems indeed to fail to handle
(cdr find-ls-option).

The find program call is built like that in `find-dired':

  (concat find-program " . "
          (if (string= args "")
           ""
         (concat
          (shell-quote-argument "(")
          " " args " "
          (shell-quote-argument ")")
          " "))
          (if (string-match "\\`\\(.*\\) {} \\(\\\\;\\|+\\)\\'"
                         (car find-ls-option))
           (format "%s %s %s"
                   (match-string 1 (car find-ls-option))
                   (shell-quote-argument "{}")
                   find-exec-terminator)
         (car find-ls-option)))

which doesn't handle (cdr find-ls-option).

Also `find-dired-filter' doesn't handle (cdr find-ls-option) completely.

On the other hand `find-dired' has this call:

  (dired-mode dir (cdr find-ls-option))

but since the buffer content comes from find, giving
(cdr find-ls-option) as an argument has no effect here.


- Michael.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]