From: Lars Wessman <lars.wessman@gmail.com>
To: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Cocoa Emacs 23 and Tramp problem
Date: Fri, 6 Mar 2009 23:59:25 +0000 [thread overview]
Message-ID: <D3EDDE9F-73B0-41E0-82E5-2C0174E2CCC9@gmail.com> (raw)
In-Reply-To: <F9ED1100-F478-4AED-9F08-086FE3AA1172@Web.DE>
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 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
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
Lars
next prev parent reply other threads:[~2009-03-06 23:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-06 18:35 Cocoa Emacs 23 and Tramp problem Lars Wessman
2009-03-06 20:46 ` dericbytes
2009-03-06 21:08 ` Lars Wessman
2009-03-06 22:15 ` Ted Zlatanov
2009-03-06 22:57 ` Lars Wessman
2009-03-06 22:58 ` Lars Wessman
2009-03-06 23:17 ` Peter Dyballa
2009-03-06 23:59 ` Lars Wessman [this message]
2009-03-07 0:24 ` Peter Dyballa
2009-03-07 10:36 ` Lars Wessman
2009-03-07 12:17 ` Peter Dyballa
2009-03-07 14:14 ` Lars Wessman
2009-03-07 16:01 ` Peter Dyballa
2009-03-07 17:30 ` Lars Wessman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D3EDDE9F-73B0-41E0-82E5-2C0174E2CCC9@gmail.com \
--to=lars.wessman@gmail.com \
--cc=Peter_Dyballa@Web.DE \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.