Subject: Re: bug#61667: 29.0.60; Failure to redisplay

From: Eli Zaretskii <[email-masked]>
Date: Sun, 16 Apr 2023 22:01:01 +0300

> Date: Sun, 16 Apr 2023 20:47:42 +0300
> From: "Dmitry Gutov" <[email-masked]>
> Cc: [email-masked], [email-masked], [email-masked]
> 
> On Sun, Apr 16, 2023, at 8:26 PM, Eli Zaretskii wrote:
> 
>  > Date: Sun, 16 Apr 2023 20:14:24 +0300
>  > From: "Dmitry Gutov" <[email-masked]>
>  > Cc: [email-masked], [email-masked], [email-masked]
>  > 
>  > 'C-x p g' doesn't find any matches for this input? That's odd.
> 
>  Which external commands it is supposed to run?
> 
> External? 'git ls-files' followed by piping the list to 'grep'.

This xargs command:

  '((grep
     .
     ;; '-s' because 'git ls-files' can output broken symlinks.
     "xargs -0 grep <C> --null -snHE -e <R>")

is not portable: it assumes that there's no limit to the size of shell
commands that xargs can pass to Grep.  At least on MS-Windows, you
need to use something like "xargs -0 -s 10000 grep ..." instead.