From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anne G Newsgroups: gmane.emacs.help Subject: Success, emacs compiled my snipet. Date: Sat, 19 Nov 2005 11:47:39 -0500 (EST) Message-ID: References: <021919884020e159f7dcbb04ee332109@Web.DE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1132418893 17835 80.91.229.2 (19 Nov 2005 16:48:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 Nov 2005 16:48:13 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 19 17:48:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EdVsc-0006P0-Sy for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Nov 2005 17:47:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdVsc-0006xr-99 for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Nov 2005 11:47:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EdVsN-0006xl-Vc for help-gnu-emacs@gnu.org; Sat, 19 Nov 2005 11:47:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EdVsM-0006xX-Dq for help-gnu-emacs@gnu.org; Sat, 19 Nov 2005 11:47:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdVsM-0006xU-AN for help-gnu-emacs@gnu.org; Sat, 19 Nov 2005 11:47:42 -0500 Original-Received: from [140.247.94.249] (helo=wjh2.wjh.harvard.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EdVsM-0007KK-H0 for help-gnu-emacs@gnu.org; Sat, 19 Nov 2005 11:47:42 -0500 Original-Received: from localhost (anne@localhost) by wjh2.wjh.harvard.edu (8.11.7p2/8.11.6) with ESMTP id jAJGleG15049; Sat, 19 Nov 2005 11:47:40 -0500 (EST) Original-To: Peter Dyballa In-Reply-To: <021919884020e159f7dcbb04ee332109@Web.DE> 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:31171 Archived-At: > > PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/anne:/usr/local/bin:/usr/ > > X11R6/bin > > Yes, because PATH still starts with /usr/bin:/bin, so Apple's ruby in > /usr/bin is found first. I did not think it mattered since I had taken out the two ruby 1.6 directories. I practiced your command on the terminal echo $PATH /usr/local/bin:/usr/local/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin as you can see, it works and reworks. in the emacs shell command echo $SHELL does give me /bin/bash but the command export usr/bin:/bin:/usr/sbin:/sbin:/Users/anne:/usr/local/bin:/usr/X11R6/bin has no effect. The beginning is set in etc/profile, but I don't know how to overide the write protect. > To create the empty directory: mkdir ~/.MacOSX > > Then in Emacs open in that directory (C-x d, position the cursor, f) > the file (C-x f) environment.plist and insert this: PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin (I removed the paths which I could not find on my computer) I rebooted the computer, and echo $PATH echoed what I have just put into environment.plist. I tried compiling my snipet from emacs, and this time, it compiled!!!!!!!!!!!!!! I don't know if anything else will be having trouble finding a path. But this demonstrate for sure that the problem is the path. > > I looked in my panther book at all the bash environment > > variables, but I have no clue as to what to do. Sorry. Looking at the dev site, I had no clue this text above in environment.plist was the code to put in. I am a little lost. Do I need to report a bug? If so what information do I need to give as to the fix? The one about changing the path with environment.plist? Thank you for getting me through with this Anne