bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61667: 29.0.60; Failure to redisplay


From: Eli Zaretskii
Subject: bug#61667: 29.0.60; Failure to redisplay
Date: Sun, 16 Apr 2023 22:01:01 +0300

> Date: Sun, 16 Apr 2023 20:47:42 +0300
> From: "Dmitry Gutov" <dgutov@yandex.ru>
> Cc: luangruo@yahoo.com, 61667@debbugs.gnu.org, gregory@heytings.org
> 
> On Sun, Apr 16, 2023, at 8:26 PM, Eli Zaretskii wrote:
> 
>  > Date: Sun, 16 Apr 2023 20:14:24 +0300
>  > From: "Dmitry Gutov" <dgutov@yandex.ru>
>  > Cc: luangruo@yahoo.com, 61667@debbugs.gnu.org, gregory@heytings.org
>  > 
>  > '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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]