From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: tramp and how to source remote environment Date: Tue, 17 Mar 2009 21:25:36 +0100 Message-ID: <874oxrsxq7.fsf@gmx.de> References: <0d00b462-9d63-43d6-b54d-ea120d2fa50a@l39g2000yqn.googlegroups.com> <8704ba36-37be-4a6e-adc7-82be9b3e330f@f3g2000yqf.googlegroups.com> <0a66d772-a732-405f-b637-a7ecd3d36f7b@e10g2000vbe.googlegroups.com> <622d9fe4-3b8e-4016-8283-dd5518189264@33g2000yqm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237321645 6343 80.91.229.12 (17 Mar 2009 20:27:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Mar 2009 20:27:25 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: ramestica@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 17 21:28:42 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ljftq-0002Ib-CG for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Mar 2009 21:28:34 +0100 Original-Received: from localhost ([127.0.0.1]:36525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LjfsU-00031w-1X for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Mar 2009 16:27:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ljfs7-00031a-CK for help-gnu-emacs@gnu.org; Tue, 17 Mar 2009 16:26:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ljfs2-0002ww-I6 for help-gnu-emacs@gnu.org; Tue, 17 Mar 2009 16:26:46 -0400 Original-Received: from [199.232.76.173] (port=35248 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ljfs2-0002wg-1i for help-gnu-emacs@gnu.org; Tue, 17 Mar 2009 16:26:42 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:34049) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Ljfs0-0002cj-UF for help-gnu-emacs@gnu.org; Tue, 17 Mar 2009 16:26:41 -0400 Original-Received: (qmail invoked by alias); 17 Mar 2009 20:25:39 -0000 Original-Received: from brln-4db93f2a.pool.einsundeins.de (EHLO arthur.local) [77.185.63.42] by mail.gmx.net (mp007) with SMTP; 17 Mar 2009 21:25:39 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/VjLkcPn7V3CITrzUGz4TEWK/dpXNJx5tLfpJ+I5 RX5pKYB0eF6HLZ In-Reply-To: <622d9fe4-3b8e-4016-8283-dd5518189264@33g2000yqm.googlegroups.com> (ramestica@gmail.com's message of "Thu, 5 Mar 2009 06:49:15 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63025 Archived-At: ramestica@gmail.com writes: > In general I find a bit too intrusive from tramp to go and do > something with my PATH in the remote machine. I would like the call to > tramp-set-remote-pat in tramp-open-connection-setup-interactive-shell > to be a choice left to the user. What do you think of the attached > patch? I have committed a patch in Tramp CVS with a similar intention. If you apply (add-to-list 'tramp-remote-path 'tramp-own-remote-path) after loading Tramp, your $PATH settings shall be preserved. > Rodrigo Best regards, Michael.