on Tue Aug 09 2016, Michael Albinus <michael.albinus-AT-gmx.de> wrote:

> Michael Albinus <[email protected]> writes:
>
> Hi Dave and Stéphane,
>
>> A possibility to source ~/.profile would be to set $ENV in
>> `tramp-remote-process-environment'. But this doesn't work yet, Tramp
>> nukes $ENV to the empty string these days.
>
> I've committed a patch to the Tramp and Emacs repositories, master
> branch. The Tramp manual says now:
>
>    Setting the ‘ENV’ environment variable instructs some shells to read
> an initialization file.  Per default, TRAMP has disabled this.  You
> could overwrite this behaviour by evaluating
>
>      (let ((process-environment tramp-remote-process-environment))
>        (setenv "ENV" "$HOME/.profile")
>        (setq tramp-remote-process-environment process-environment))

W00t!!

Thank you, Michael!

-- 
-Dave

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to