On Mon, Apr 4, 2022 at 8:28 AM Michael Albinus <michael.albinus@gmx.de> wrote:
>> What we could think about is a way to indicate proced whether to return
>> local or possibly remote process information. I wanted to add a prefix
>> argument to proced in order to trigger remote process information, but
>> this is already used for window selection.
>
> We could use a special value of the argument to work around this.

Hmm, perhaps "C-u -" (aka "M--") would serve?

Since this will usually be invoked interactively, maybe just ask the user, something like "Default directory is remote; list remote processes?" or "Run proced on remote host matching <default-directory>?", with the attendant ask/assume-yes/assume-no customization?
 
~Chad