help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can one run tk/Ruby gui code from an emacs shell with compile?


From: Anne G
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)

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 <RET> env |
> sort <RET>! 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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]