[Top][All Lists]

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

Re: Cocoa Emacs 23 and Tramp problem

From: Lars Wessman
Subject: Re: Cocoa Emacs 23 and Tramp problem
Date: Fri, 6 Mar 2009 23:59:25 +0000

On Mar 6, 2009, at 11:17 PM, Peter Dyballa wrote:

Am 06.03.2009 um 19:35 schrieb Lars Wessman:

sh: ssh: command not found

Obviously has not received the proper "process- environment" – a variable you can examine. Besides launching from the command line with a corrected PATH setting you have some more options: you can use ~/.MacOSX/environment.plist to supply all applications with the necessary PATH value. On a command line, for example in's *shell* buffer, you can invoke:

        defaults write ~/.MacOSX/environment PATH <your correct choice>

(Documented here:, it's also possible to use other environment variables via ~/.MacOSX/ environment.plist.) Logging out and in are necessary. The second option is to adjust the variable exec-path for Emacs:

        (add-to-list 'exec-path "<the path to ssh>")

This will allow Emacs to find ssh.



The human animal differs from the lesser primates in his passion for lists of "Ten Best."
                                – H. Allen Smith

Thanks Peter, reading this I now remember vaguely coming across this information before when trying so sort out a similar problem.

I think this (~/.MacOSX/environment.plist) is a superior solution to the one I posted, since one wants as much as possible to avoid loading elisp code on startup as much as one can.

I'll try this out tomorrow, and then maybe I'll look to see if this info is in the emacs wiki and, if not, add it in an appropriate place.

Thanks Again


reply via email to

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