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: Re: can one run tk/Ruby gui code from an emacs shell with compile? Date: Sat, 19 Nov 2005 09:19:34 -0500 (EST) Message-ID: References: <7f4636350e1463d2e65d5cc9d12877a4@Web.DE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1132410442 29025 80.91.229.2 (19 Nov 2005 14:27:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 Nov 2005 14:27:22 +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 15:27:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EdTgD-0003GE-Sf for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Nov 2005 15:27:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdTgC-0008UJ-RY for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Nov 2005 09:27:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EdTZ8-0006Jb-0G for help-gnu-emacs@gnu.org; Sat, 19 Nov 2005 09:19:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EdTZ3-0006Hz-Av for help-gnu-emacs@gnu.org; Sat, 19 Nov 2005 09:19:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdTZ2-0006H8-O8 for help-gnu-emacs@gnu.org; Sat, 19 Nov 2005 09:19:36 -0500 Original-Received: from [140.247.94.249] (helo=wjh2.wjh.harvard.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EdTZ2-000840-OB for help-gnu-emacs@gnu.org; Sat, 19 Nov 2005 09:19:36 -0500 Original-Received: from localhost (anne@localhost) by wjh2.wjh.harvard.edu (8.11.7p2/8.11.6) with ESMTP id jAJEJY511215; Sat, 19 Nov 2005 09:19:34 -0500 (EST) Original-To: Peter Dyballa In-Reply-To: <7f4636350e1463d2e65d5cc9d12877a4@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:31167 Archived-At: Thank you for the information on controlling which version gets run. It will come in handy when I have to upgrade from the tiger version. > > The DLY directory line seems permanently removed. > > That's what you think! Just try this: M-x shell-command env | > sort ! And then look (search) for DYLD_LIBRARY_PATH. It's still > there, isn't it? Yes indeed. You are right. I had not followed up on your instructions to remove the file. The runtime environment, in which Carbon Emacs > executes, still has this variable set. Any process that is spawned by > Emacs, for example a compilation, inherits this environment. Try to > rename (or remove) these two > /Applications/Emacs.app/Contents/Resources/share/emacs/22.0.50/site- > lisp/site-start.d/carbon-emacs-builtin-aspell.el* files! In Carbon > Emacs it's very easy to access the interiors of an application bundle. > I did not have the .elc file AnnePB:/applications/Emacs.app/Contents/Resources/share/emacs/22.0.50/site-lisp/site-start.d anne$ ls -l total 24 -rw-r--r-- 1 anne admin 645 28 Sep 10:02 carbon-emacs-builtin.aspell.le -rw-r--r-- 1 anne admin 1116 18 Jul 17:02 carbon-emacs-japanese-init.el -rw-r--r-- 1 anne admin 259 25 Sep 11:18 carbon-emacs-path.el I renamed the aspell file .le instead of .el redoing the above in emacs, there is no line with DYLD EMACSDATA=/Applications/Emacs.app/Contents/Resources/etc EMACSDOC=/Applications/Emacs.app/Contents/Resources/etc EMACSLOADPATH=/Applications/Emacs.app/Contents/Resources/lisp:/Applications/Emacs.app/Contents/Resources/leim:/Applications/Emacs.app/Contents/Resources/site-lisp EMACSPATH=/Applications/Emacs.app/Contents/MacOS/libexec:/Applications/Emacs.app/Contents/MacOS/bin HOME=/Users/anne INFOPATH=/Applications/Emacs.app/Contents/Resources/info PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/anne:/usr/local/bin:/usr/X11R6/bin PWD=/Users/anne/Desktop SHELL=/bin/bash SHLVL=1 USER=anne _=/usr/bin/env __CF_USER_TEXT_ENCODING=0x1F6:0:0 The terminal shell still works, emacs does not. Same error. > For those graphical Mac OS X applications there is (almost?) no other > way then ~/.MacOSX/environment.plist to prepare them with a suitable > runtime environment. the site says, I would need to create a directory and a .plist file, as I have neither one. I looked in my panther book at all the bash environment variables, but I have no clue as to what to do. Sorry. Thanks for all your effort. Anne