Subject: Re: bug#64546: 30.0.50; [PATCH] Add support for explicitly-remote commands in Eshell

From: Michael Albinus <[email-masked]>
Date: Mon, 10 Jul 2023 21:03:00 +0200

Jim Porter <[email-masked]> writes:

Hi Jim,

>> Since a while, I have the feeling we would need only 'doas' and 'sudo'
>> as built-in, in order to apply 'sudo COMMAND' or so. 'su' isn't needed,
>> it is equivalent to 'cd /su::'. But I don't know whether we shall remove
>> it; people might have adapted their workflow to use it.
>
> Hmm, maybe a user option like 'eshell-tramp-enable-subshell-commands'?
> Then we could add 'eshell/ssh' as well, and turn that on/off along
> with 'eshell/su' with that option.

That makes sense, yes.

Best regards, Michael.