GNU bug report logs - #64897
29.0.91; Bug (and patch) in find-dired-with-command

Previous Next

Package: emacs;

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 #28 received at 64897 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 64897 <at> debbugs.gnu.org, Warren Lynn <wrn.lynn <at> gmail.com>
Subject: Re: bug#64897: 29.0.91; Bug (and patch) in find-dired-with-command
Date: Sat, 12 Aug 2023 05:50:21 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

> What if you set instead
>
> (setq find-ls-option
>       (setq find-ls-option-default-exec
>             '("-exec ls -abdhl {} +" . "-abdhl")))

-N is the ls option I would want: it suppresses quoting entirely,
apparently without breaking anything.

But I still don't understand why that was not necessary before your
change.

Note that for some users the default value of `find-ls-option' can have
a form like above (AFAIU when the installed `find` executable does not
support the -ls option - see the definition).  These users will also
have this problem.  I tested this with emacs -Q: if the

#+begin_src emacs-lisp
(eq 0
  (ignore-errors
    (process-file find-program nil nil nil null-device "-ls")))
#+end_src

test fails, you get the problem without changing any variable (Bug).

Do you want to care about this, or should I open a separate bug report,
or reopen this one?


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.