help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Cocoa Emacs 23 and Tramp problem


From: Peter Dyballa
Subject: Re: Cocoa Emacs 23 and Tramp problem
Date: Sat, 7 Mar 2009 00:17:33 +0100


Am 06.03.2009 um 19:35 schrieb Lars Wessman:

sh: ssh: command not found


Obviously Emacs.app has not received the proper "process-environment" – a variable you can examine. Besides launching Emacs.app 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 Emacs.app's *shell* buffer, you can invoke:

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

(Documented here: http://developer.apple.com/qa/qa2001/qa1067.html, 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.

--
Greetings

  Pete

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







reply via email to

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