[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to let tramp be aware the virtualenv?

From: Michael Albinus
Subject: Re: How to let tramp be aware the virtualenv?
Date: Wed, 17 Jul 2019 13:34:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Zhongwei Yao <address@hidden> writes:

> Hi, Michael,


> I try to set the remote-shell to /bin/bash, and from tramp log, there
> is:
>   xx8:15.682748 tramp-get-connection-property (7) # remote-shell
> /bin/bash


> And I notice there is log line like:
>   38:15.720661 tramp-send-command (6) # cd
> /home/user/projects/foo/build/ &&  exec <<'6xxa3a8f7393fxxx' env
> PS1\=/ssh\:remote_machine\:/home/user/projects/foo/build/\ \#\$\
> TERMCAP\= COLUMNS\=134 INSIDE_EMACS\=26.1\,compile /bin/sh
> (
> ) </dev/tty
> 6xxa3a8f7393fxxx
> It is still using /bin/sh.

This isn't any longer Tramp. *This* hard coded /bin/sh comes from the
compile command.

Apparently, you're using Emacs 26. In Emacs 27, compile can be
configured to use connection local variables, which would overwrite

Do you have a chance to run the development version of Emacs?

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]