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

From: Liu Hui <[email-masked]>
Date: Mon, 1 Sep 2025 18:19:52 +0800

Hi,

The recipe is as follows:

1. create a test project on remote server, and install universal-ctags

2. emacs -Q /ssh:remote:~/test_project

3. (setq etags-regen-program "ctags -e"), then M-x etags-regen-mode

4. open a project file, press M-.

Then emacs displays the buffer *etags-regen-tags-errors*

   ctags: cannot open tag file : No such file or directory

and a message:

   File /ssh:remote:~/test_project/TAGS does not exist