GNU bug report logs - #10469
24.0.92; find-name-dired quotes characters in output

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Mon, 9 Jan 2012 21:24:02 UTC

Severity: normal

Merged with 10817

Found in versions 24.0.91, 24.0.92

Fixed in version 24.0.93

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 10469 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 10469 <at> debbugs.gnu.org
Subject: Re: bug#10469: 24.0.92; find-name-dired quotes characters in output
Date: Tue, 10 Jan 2012 05:21:35 +0100
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.





This bug report was last modified 13 years and 95 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.