Subject: bug#77566: [PATCH] Add option for automatically delete non-existent projects.

From: Juri Linkov <[email-masked]>
Date: Mon, 07 Apr 2025 09:40:40 +0300

> +(defcustom project-dont-prune-remote-zombie-projects nil
> +  "If non-nil, remote files will no be pruned by `project-forget-zombie-projects'."
> +  :type 'boolean
> +  :version "31.1"
> +  :group 'project)

Maybe it's possible to do with one option like there is
remote-ignoring 'recentf-keep-default-predicate'
in the default value of 'recentf-keep'.

> I don't have a remote project so I can't test it.

'sudo' counts as a remote project too.
So you can just type 'C-x x @' and the current project
will be added as remote.