Subject: Re: bug#29149: Tramp shell uses local shell setting in windows

From: Michael Albinus <[email-masked]>
Date: Sat, 06 Jan 2018 19:51:59 +0100

Shuguang Sun <[email-masked]> writes:

> Dear all,

Hi,

> I have a patch to shell.el and dired-aux.el which 
> 1. to use the tramp-remote-shell and tramp-remote-shell-args (in
> shell.el)
> 2. remove the "start /b" in dired-do-shell-command (in dired-aux.el)

Thanks for this! However, I believe we should not use tramp-remote-shell
and tramp-remote-shell-args in shell.el. The better approach would be to
use connection-local variables. Have you read the section "Running
‘shell’ on a remote host" in the Tramp manual, chapter
(info "(tramp) Remote processes") ?

Best regards, Michael.