tramp-devel
[Top][All Lists]
Advanced

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

Re: tram (2.2.11-pre) tramp-own-remote-path not set anymore on 25.0.50.1


From: Patrick Schoenmakers
Subject: Re: tram (2.2.11-pre) tramp-own-remote-path not set anymore on 25.0.50.1 builds
Date: Fri, 7 Nov 2014 09:41:14 +0100 (CET)

Hi,

Sorry for the late reply. I've tested this on a local installation as well. The relevant information from the debug

;; GNU Emacs: 25.0.50.1 Tramp: 2.2.11-pre -*- mode: outline; -*-
09:24:38.138305 tramp-maybe-open-connection (3) # Opening connection for address@hidden using plink...
09:24:38.140305 tramp-maybe-open-connection (6) # C:\Windows\system32\cmd.exe
09:24:38.204813 tramp-wait-for-regexp (6) #
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

...........

///4a038d4bb02cac64ca2d409da1d17668#$
09:25:28.637717 tramp-open-connection-setup-interactive-shell (5) # Checking system information
09:25:28.637717 tramp-send-command (6) # echo \"`uname -sr`\" 2>/dev/null; echo tramp_exit_status $?
09:25:28.690224 tramp-wait-for-regexp (6) #
"Linux 3.8.13-16.2.1.el6uek.x86_64"
tramp_exit_status 0
///4a038d4bb02cac64ca2d409da1d17668#$
09:25:28.690724 tramp-set-remote-path (5) # Setting $PATH environment variable
09:25:28.691224 tramp-send-command (6) # echo \"`getconf PATH 2>/dev/null`\" 2>/dev/null; echo tramp_exit_status $?
09:25:28.763233 tramp-wait-for-regexp (6) #
"/bin:/usr/bin"
tramp_exit_status 0
///4a038d4bb02cac64ca2d409da1d17668#$
09:25:28.763733 tramp-send-command (6) # echo \"$PATH\" 2>/dev/null; echo tramp_exit_status $?
09:25:28.815240 tramp-wait-for-regexp (6) #
"/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin"
tramp_exit_status 0
///4a038d4bb02cac64ca2d409da1d17668#$
09:25:28.817240 tramp-send-command (6) # test -d /usr/lib64/qt-3.3/bin 2>/dev/null; echo tramp_exit_status $?
09:25:28.870747 tramp-wait-for-regexp (6) #
tramp_exit_status 0

.....

It appears the "echo \"$PATH\" 2>/dev/null;" does not return the correct path while on emacs 24 it does (this example is using the same .emacs for both versions)

;; GNU Emacs: 24.2.50.1 Tramp: 2.2.6-pre -*- mode: outline; -*-

.....

///1af1f6de006754421ddca6a9fea7d41d#$
09:38:08.993000 tramp-send-command (6) # echo \"$PATH\" 2>/dev/null; echo tramp_exit_status $?
09:38:09.046000 tramp-wait-for-regexp (6) #
"/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/u01/oracle/bin:/u01/app/oracle/product/12.1.0/dbhome_1//bin:/usr/local/apache-ant-1.9.3/bin"
tramp_exit_status 0
///1af1f6de006754421ddca6a9fea7d41d#$


On November 1, 2014 at 3:49 PM Michael Albinus <address@hidden> wrote:


Patrick Schoenmakers <address@hidden> writes:

> I've been using ntemacs 24.2 with tramp for quite a while now to
> connect to remote unix servers. I want to upgrade to the 25.x build
> for various reasons but I noticed that the (add-to-list
> 'tramp-remote-path 'tramp-own-remote-path) does not set the sourced
> path from the profile anymore like it used to on the 24.2 version.

Could you, please, set tramp-verbose to 6 and show the resulting debug
buffer?

Thanks, Michael.


reply via email to

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