[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46218: 28.0.50; find-dired errors with non-directory output
From: |
Stephen Berman |
Subject: |
bug#46218: 28.0.50; find-dired errors with non-directory output |
Date: |
Mon, 01 Feb 2021 17:33:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Sun, 31 Jan 2021 20:08:18 +0100 Stephen Berman <stephen.berman@gmx.net>
wrote:
> 0. emacs -Q
> 1. In the following find-dired invocation adjust `<emacs/lisp>' to the
> emacs lisp source directory and then evaluate the sexp:
> (find-dired "<emacs/lisp>" "-name \"*.el\" -exec grep 'const' {} \";\"")
> => error in process filter: Invalid use of ‘\’ in replacement text
>
> This also happens with Emacs 27 but not with Emacs 26.
[...]
It occurred to me that invoking `(dired--align-all-files)' in
find-dired-sentinel might render the realigning code in
find-dired-filter superfluous. But it turns out -- if I didn't make a
mistake or overlook something in testing -- that simply removing the
realigning code in find-dired-filter, without adding
`(dired--align-all-files)' to find-dired-sentinel, fixes all the
problems reported in this bug as well as in Bug#29803. That is, I am
now proposing the following patch instead of the one in my previous
post:
txtH0QryafyYj.txt
Description: find-dired-filter patch
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#46218: 28.0.50; find-dired errors with non-directory output,
Stephen Berman <=