From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chad Albers Newsgroups: gmane.emacs.help Subject: Re: Emacs.app and Subversion Path Date: Thu, 6 Aug 2009 19:23:01 -0400 Message-ID: <5bb9bff10908061623k63d7ee52xa9e47221e0db14b3@mail.gmail.com> References: <8c591961-0cb1-4c58-8530-471de58246ce@n11g2000yqb.googlegroups.com> <704B39A2-4546-456C-892F-B00609F39C85@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015175cdbbc965393047081664a X-Trace: ger.gmane.org 1249621550 23016 80.91.229.12 (7 Aug 2009 05:05:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Aug 2009 05:05:50 +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 Fri Aug 07 07:05:43 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 1MZHeA-0004Sl-CB for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Aug 2009 07:05:43 +0200 Original-Received: from localhost ([127.0.0.1]:57050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZHe9-0006Cu-GX for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Aug 2009 01:05:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZCIZ-0005IR-Cd for help-gnu-emacs@gnu.org; Thu, 06 Aug 2009 19:23:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZCIY-0005Hx-If for help-gnu-emacs@gnu.org; Thu, 06 Aug 2009 19:23:02 -0400 Original-Received: from [199.232.76.173] (port=46277 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZCIY-0005Hs-EQ for help-gnu-emacs@gnu.org; Thu, 06 Aug 2009 19:23:02 -0400 Original-Received: from qw-out-1920.google.com ([74.125.92.146]:57352) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZCIY-0004v6-2c for help-gnu-emacs@gnu.org; Thu, 06 Aug 2009 19:23:02 -0400 Original-Received: by qw-out-1920.google.com with SMTP id 5so735062qwf.24 for ; Thu, 06 Aug 2009 16:23:01 -0700 (PDT) Original-Received: by 10.224.6.68 with SMTP id 4mr542923qay.318.1249600981062; Thu, 06 Aug 2009 16:23:01 -0700 (PDT) In-Reply-To: <704B39A2-4546-456C-892F-B00609F39C85@Web.DE> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Fri, 07 Aug 2009 01:05:16 -0400 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:66912 Archived-At: --0015175cdbbc965393047081664a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Yep. I've tried that. This is what I have... (setenv "PATH" (concat (getenv "PATH") ":/opt/local/bin")) (setq exec-path (append exec-path '("/opt/local/bin")))) both svn and git reside in /opt/local/bin. However, this fix only allows magit to recognize git, but emacs VC can't seem to find svn. Any other ideas? Chad On Thu, Aug 6, 2009 at 6:30 PM, Peter Dyballa wrote: > > Am 06.08.2009 um 16:28 schrieb Chad A.: > > Any ideas about how I can get Emacs.app to find svn (when Emacs.app is >> not launched from the command line). >> > > > Add to your init file: > > (setenv "PATH" (concat "/some/directory" ":" (getenv "PATH"))) > > where you can add /opt/local/bin and /opt/local/sbin and whatever else is > missing. Then adjust the variable exec-path to match $PATH. Better check > this latter variable first! > > -- > Greetings > > Pete > > Theory and practice are the same, in theory, but, in practice, they are > different. > > --0015175cdbbc965393047081664a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yep.=C2=A0 I've tried that.=C2=A0 This is what I have...

(setenv= "PATH" (concat (getenv "PATH") ":/opt/local/bin&q= uot;))
(setq exec-path (append exec-path '("/opt/local/bin&quo= t;))))

both svn and git reside in /opt/local/bin.=C2=A0 However, this fix only= allows magit to recognize git, but emacs VC can't seem to find svn.
Any other ideas?=C2=A0

Chad


On Thu, Aug 6, 2009 at 6:30 PM, Peter Dy= balla <Peter_D= yballa@web.de> wrote:

Am 06.08.2009 um 16:28 schrieb Chad A.:

Any ideas about how I can get Emacs.app to find svn (when Emacs.app is
not launched from the command line).


Add to your init file:

=C2=A0 =C2=A0 =C2=A0 =C2=A0(setenv "PATH" (concat "/some/di= rectory" ":" (getenv "PATH")))

where you can add /opt/local/bin and /opt/local/sbin and whatever else is m= issing. Then adjust the variable exec-path to match $PATH. Better check thi= s latter variable first!

--
Greetings

=C2=A0Pete

Theory and practice are the same, in theory, but, in practice, they are dif= ferent.


--0015175cdbbc965393047081664a--