Subject: bug#79358: etags-regen-mode doesn't work for remote projects

From: Dmitry Gutov <[email-masked]>
Date: Wed, 3 Sep 2025 15:58:51 +0300

Hi!

On 03/09/2025 13:10, Liu Hui wrote:
> So I changed shell-command-on-region/shell-command to
> process-file-shell-command in the attached patch, which should make
> etags-regen-mode work for both local and remote projects.

Thanks for the patch, it's a good improvement.

Specifically for call-process-region, could you try branching like the 
workaround helper xref--process-file-region? Maybe it could be copied 
verbatim even.

Perhaps you could also try the puzzle described in the comment there? IF 
that observation still applies.