GNU bug report logs -
#64897
29.0.91; Bug (and patch) in find-dired-with-command
Previous Next
Reported by: Warren Lynn <wrn.lynn <at> gmail.com>
Date: Thu, 27 Jul 2023 14:25:02 UTC
Severity: normal
Found in version 29.0.91
Fixed in version 29.2
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #31 received at 64897 <at> debbugs.gnu.org (full text, mbox):
Michael Heerdegen <michael_heerdegen <at> web.de> writes:
Hi Michael,
> Do you want to care about this, or should I open a separate bug report,
> or reopen this one?
I don't know what I could do for you. I've reverted
7bbd7cae0748958a623f23637b95a6fc9debb8b7 in the emacs-29 branch. Then
I've started in parallel Emacs from the emacs-29 branch with this
change, and Emacs from the master branch. Both with option -Q. I've evall'ed
(trace-function-foreground 'start-process)
in both cases, nothing else.
1. test: In my ~/tmp directory there are files with spaces in their
name. I've called "M-x find-name-dired RET ~/tmp RET * RET". In both
cases I see
--8<---------------cut here---------------start------------->8---
11017308 4 -rw-r--r-- 1 albinus albinus 2 Aug 12 14:26 1\ 2\ 3
--8<---------------cut here---------------end--------------->8---
In *trace-output*, there is
--8<---------------cut here---------------start------------->8---
1 -> (start-process "Shell" #<buffer *Find*> "/usr/bin/tcsh" "-c" "find . \\( -name \\* \\) -ls")
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
1 -> (start-process "*Find*" #<buffer *Find*> "/usr/bin/tcsh" "-c" "find . \\( -name \\* \\) -ls")
--8<---------------cut here---------------end--------------->8---
Identical arguments, different buffer names. As expected.
2. test: I've evall'ed in both Emacs instances your customization
--8<---------------cut here---------------start------------->8---
(setq find-ls-option
(setq find-ls-option-default-exec
'("-exec ls -adhl {} +" . "-adhl")))
--8<---------------cut here---------------end--------------->8---
In both Emacs instances, I've called again "M-x find-name-dired RET ~/tmp RET * RET".
I see
--8<---------------cut here---------------start------------->8---
-rw-r--r--. 1 albinus albinus 2 Aug 12 14:26 './1 2 3'
--8<---------------cut here---------------end--------------->8---
in both cases. That's bad, but there are no regressions due to the
patch! And indeed, in *trace-output*, there is
--8<---------------cut here---------------start------------->8---
1 -> (start-process "Shell" #<buffer *Find*> "/usr/bin/tcsh" "-c" "find . \\( -name \\* \\) -exec ls -adhl \\{\\} +")
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
1 -> (start-process "*Find*" #<buffer *Find*> "/usr/bin/tcsh" "-c" "find . \\( -name \\* \\) -exec ls -adhl \\{\\} +")
--8<---------------cut here---------------end--------------->8---
Identical arguments, different buffer names. As expected.
> Regards,
>
> Michael.
Best regards, Michael.
This bug report was last modified 2 years and 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.