Michael Albinus <[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.

Done. There is a new user option tramp-propagate-emacsclient-tramp,
which must be non-nil if you want to see the environment variable in
remote processes.

Pushed to the Tramp and Emacs (branch emacs-31) repositories.

>> Thanks and regards,
>>
>>       - Joel

Best regards, Michael.

Reply via email to