Re: Automating remote emacsclient setup

Michael Albinus <[email protected]> Wed, 13 May 2026 11:59:22 +0200
Newsgroups gmane.emacs.tramp
Message-ID <[email protected]>
Joel Reicher <[email protected]> writes:

Hi Joel,

> I can confirm that worked perfectly! I did a /ssh:host|sudo:: shell,
> it correctly passed through just the sudo part, and with the command
> channel established invoking emacsclient in that sudo root shell
> caused emacs to open the file as root, no problems.

Thanks for the feedback.

> Do you need anything (more) from me to commit this to the repo?

Nothing from you. I'm thinking how to integrate it into Tramp. Likely
via a new user option. This means code change, manual and etc/NEWS
upgrade, a new test ...

I'll come back when done.

> Thanks and regards,
>
>       - Joel

Best regards, Michael.