all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to let tramp be aware the virtualenv?
@ 2019-07-16 10:30 Zhongwei Yao
  2019-07-16 13:48 ` Michael Albinus
  2019-07-16 19:22 ` Bruno Barbier
  0 siblings, 2 replies; 14+ messages in thread
From: Zhongwei Yao @ 2019-07-16 10:30 UTC (permalink / raw)
  To: help-gnu-emacs

Hi, all,
I try to use tramp on a remote project directory and run "M-x compile". The
command requires to know which the python virtualenv is active.

I try to let tramp be ware of which virtualenv is active by adding a line
to the remote $HOME/.profile like (because it seems tramp will run the
compilation command by the remote /bin/sh):

  source my/python/virtualenv/bin/activate.

But tramp seems doesn't read that line at all. The virtualenv is not
activated.

So how can I make tramp aware of which virtualenv is enabled?

Thanks!
Zhongwei


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-07-19  1:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-16 10:30 How to let tramp be aware the virtualenv? Zhongwei Yao
2019-07-16 13:48 ` Michael Albinus
2019-07-16 19:22 ` Bruno Barbier
2019-07-17  2:02   ` Zhongwei Yao
2019-07-17  6:12     ` Michael Albinus
2019-07-17 10:47       ` Zhongwei Yao
2019-07-17 11:34         ` Michael Albinus
2019-07-17 13:40           ` Zhongwei Yao
2019-07-17 14:05             ` Michael Albinus
2019-07-17 16:02             ` Yuri Khan
2019-07-17 21:02             ` Bruno Barbier
2019-07-18 13:21               ` Zhongwei Yao
2019-07-18 17:45                 ` Bruno Barbier
2019-07-19  1:04                   ` Zhongwei Yao

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.