From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Wessman Newsgroups: gmane.emacs.help Subject: Re: Cocoa Emacs 23 and Tramp problem Date: Fri, 6 Mar 2009 23:59:25 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1236405606 5725 80.91.229.12 (7 Mar 2009 06:00:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Mar 2009 06:00:06 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 07 07:01:20 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lfpb2-0008TG-2b for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 07:01:16 +0100 Original-Received: from localhost ([127.0.0.1]:42210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfpZg-0003gA-MC for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 00:59:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lfjwy-0001JU-BR for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 18:59:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lfjww-0001Gu-6r for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 18:59:31 -0500 Original-Received: from [199.232.76.173] (port=36429 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lfjww-0001Gh-1m for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 18:59:30 -0500 Original-Received: from nf-out-0910.google.com ([64.233.182.188]:62303) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lfjwv-0000k1-Jn for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 18:59:29 -0500 Original-Received: by nf-out-0910.google.com with SMTP id b11so93494nfh.26 for ; Fri, 06 Mar 2009 15:59:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=JO2bZnVqgpTBAvNHilN+iFwukrltAuua/qGhoV+vEdQ=; b=JDIM5Iz1c6z+ahRkOe3o3uGZwLajCFgNPbg9Nd1A2leHMO81b8LTTYoOSGBXyjN/cZ wCt0tGeuAlMCSVCLH9rUBLBulgVU+Mm/rCfPXHdtOuF9sDoxCUl5b+vFqUAXV8Xu5zTS k82LlXK1lrDOvjLPWgJZ0heHyzl1ZDkJHXq5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=w4rJWvn3/FOYRerCSfv3bYv44c7AB3ZqlVcSsW5KeQhKWaIeGqC8D6UXNgGRyqgzsn 953lO8gC9WkaQpLJN2IkOZdCYP1Den0/yigE+Q4c3yIisDHg94CesrOIPOopMd50Cqpq Wm3pXDQAp/W8anDOLcEZKF0jXZtN+IeGsSRss= Original-Received: by 10.210.66.1 with SMTP id o1mr305945eba.92.1236383967597; Fri, 06 Mar 2009 15:59:27 -0800 (PST) Original-Received: from ?10.0.1.200? (a213-22-20-228.cpe.netcabo.pt [213.22.20.228]) by mx.google.com with ESMTPS id h1sm3145606nfh.56.2009.03.06.15.59.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 06 Mar 2009 15:59:27 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 07 Mar 2009 00:54:55 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62718 Archived-At: 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-=20 > environment" =96 a variable you can examine. Besides launching =20 > Emacs.app from the command line with a corrected PATH setting you =20 > have some more options: you can use ~/.MacOSX/environment.plist to =20 > supply all applications with the necessary PATH value. On a command =20= > line, for example in Emacs.app's *shell* buffer, you can invoke: > > defaults write ~/.MacOSX/environment PATH > > (Documented here: http://developer.apple.com/qa/qa2001/qa1067.html, =20= > it's also possible to use other environment variables via ~/.MacOSX/=20= > environment.plist.) Logging out and in are necessary. The second =20 > option is to adjust the variable exec-path for Emacs: > > (add-to-list 'exec-path "") > > This will allow Emacs to find ssh. > > -- > Greetings > > Pete > > The human animal differs from the lesser primates in his passion for =20= > lists of "Ten Best." > =96 H. Allen Smith Thanks Peter, reading this I now remember vaguely coming across this =20 information before when trying so sort out a similar problem. I think this (~/.MacOSX/environment.plist) is a superior solution to =20 the one I posted, since one wants as much as possible to avoid loading =20= 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 =20 info is in the emacs wiki and, if not, add it in an appropriate place. Thanks Again Lars=