From: ramestica@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: tramp and how to source remote environment
Date: Wed, 4 Mar 2009 20:59:38 -0800 (PST) [thread overview]
Message-ID: <0a66d772-a732-405f-b637-a7ecd3d36f7b@e10g2000vbe.googlegroups.com> (raw)
In-Reply-To: mailman.2278.1236098043.31690.help-gnu-emacs@gnu.org
On Mar 3, 11:36 am, Michael Albinus <michael.albi...@gmx.de> wrote:
> Tramp has the variable tramp-remote-path. You can add there your
> preferred paths, like
>
> (add-to-list 'tramp-remote-path "/my/path" 'append)
this is not convenient because different machines have different
paths. The logic for setting up those paths (based on the machine
name) is part of my remote bash_profile. Repeating that logic in my
local emacs configuration its simply not good.
> Maybe the following works (not tested):
>
> (add-to-list 'tramp-remote-path "${PATH}")
This does not work because in tramp-get-remote-path the function delq
removes "${PATH}" from remote-path.
Rodrigo
next prev parent reply other threads:[~2009-03-05 4:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-18 1:17 tramp and how to source remote environment ramestica
2009-02-18 1:43 ` ramestica
2009-02-18 21:30 ` Michael Albinus
[not found] ` <mailman.1109.1234992614.31690.help-gnu-emacs@gnu.org>
2009-02-27 2:18 ` ramestica
2009-03-03 16:36 ` Michael Albinus
[not found] ` <mailman.2278.1236098043.31690.help-gnu-emacs@gnu.org>
2009-03-05 4:59 ` ramestica [this message]
2009-03-05 14:05 ` Michael Albinus
[not found] ` <mailman.2422.1236261821.31690.help-gnu-emacs@gnu.org>
2009-03-05 14:49 ` ramestica
2009-03-17 20:25 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0a66d772-a732-405f-b637-a7ecd3d36f7b@e10g2000vbe.googlegroups.com \
--to=ramestica@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.