[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29149: Tramp shell uses local shell setting in windows
From: |
Michael Albinus |
Subject: |
bug#29149: Tramp shell uses local shell setting in windows |
Date: |
Thu, 25 Jan 2018 13:30:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Shuguang Sun <shuguang@gmail.com> writes:
> Thanks Micahel,
Hi Shuguang,
> Now it works!
Thanks for testing. So I mark this bug as closed.
> > 1.2 the default directory for read-file-name is better to use
> > (file-remote-p default-directory) "/" than default-directory
> > "/path/path/..."
>
> I don't see why. Could you pls explain?
>
> If we well set the shell via connection-local-set-profile-variables
> which measn there is explicit-shell-file-name, it will not prompt the
> directory.
>
> For example as in the manual:
> (connection-local-set-profile-variables
> 'remote-bash
> '((explicit-shell-file-name . "/bin/bash")
> (explicit-bash-args . ("-i"))
> ))
Hmm. I still don't understand why you want to change
default-directory. Or do you want to say it doesn't matter, when
explicit-shell-file-name is set?
And even in case there is no explicit-shell-file-name set,
read-file-name shall work as expected with the existing default-directory.
Best regards, Michael.
- bug#29149: Tramp shell uses local shell setting in windows, Shuguang Sun, 2018/01/06
- bug#29149: Tramp shell uses local shell setting in windows, Michael Albinus, 2018/01/06
- bug#29149: Tramp shell uses local shell setting in windows, Shuguang Sun, 2018/01/06
- bug#29149: Tramp shell uses local shell setting in windows, Shuguang Sun, 2018/01/25
- bug#29149: Tramp shell uses local shell setting in windows,
Michael Albinus <=
- bug#29149: Tramp shell uses local shell setting in windows, Shuguang Sun, 2018/01/25
- bug#29149: Tramp shell uses local shell setting in windows, Michael Albinus, 2018/01/25
- bug#29149: Tramp shell uses local shell setting in windows, Shuguang Sun, 2018/01/25
- bug#29149: Tramp shell uses local shell setting in windows, Richard Stallman, 2018/01/26
- bug#29149: Tramp shell uses local shell setting in windows, Michael Albinus, 2018/01/26