From: Anne G <anne@wjh.harvard.edu>
Cc: help-gnu-emacs@gnu.org
Subject: Re: can one run tk/Ruby gui code from an emacs shell with compile?
Date: Fri, 18 Nov 2005 13:51:47 -0500 (EST) [thread overview]
Message-ID: <Pine.SOL.4.30.0511181323000.3171-100000@wjh2.wjh.harvard.edu> (raw)
In-Reply-To: <36d88fdb7701f0cd9489bd8d2a6668f0@Web.DE>
> Which Emacs are you using? Carbon, Cocoa/Aqua, X11, or Apple's
> /usr/bin/emacs which only runs in a terminal?
I downloaded the panther version from here
http://home.att.ne.jp/alpha/z123/emacs-mac-e.html
"this is GNU Emacs 22.0.50.1 (powerpc-apple-darwin7.9.0) of
2005-09-26 on trio.local
>
> You could do this, once in Terminal, once in Emacs' shell:
>
> env | sort -o Terminal.environment
> env | sort -o Emacs.environment
>
> Finally do somewhere (would work in Emcas with ediff too):
>
> diff Terminal.environment Emacs.environment
I use esc shell to open a shell, changed to ~/ so the two
files would write to the same directory.
diff Terminal.environment Emacs.environment
0a1,8
> ASPELL_CONF=prefix
/Applications/Emacs.app/Contents/Resources;data-dir
/Applications/Emacs.app/Contents/Resources/lib/aspell-0.60;dict-dir
/Applications/Emacs.app/Contents/Resources/lib/aspell-0.60;conf-dir
/Applications/Emacs.app/Contents/Resources/etc
> COLUMNS=80
>
DYLD_LIBRARY_PATH=/Applications/Emacs.app/Contents/Resources/lib
> EMACS=t
> 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
2,3c10,12
< LOGNAME=anne
< PATH=/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin
---
> INFOPATH=/Applications/Emacs.app/Contents/Resources/info
> OLDPWD=/Users/anne/Desktop
>
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/anne:/usr/local/bin:/usr/X11R6/bin
8,10c17,18
< TERM=xterm
< TERM_PROGRAM=Apple_Terminal
< TERM_PROGRAM_VERSION=100.1.6
---
> TERM=dumb
> TERMCAP=
I would think that I want the PATH in emacs to be the same
as the path in terminal. But the shorter one is the terminal
one which works, and it is included in the longer path emacs
uses.
What is causing the problem?
>
> This would reveal differences in the runtime environments and might
> lead you to the difference that causes the different behaviour. Once
> you've found that difference you can record it in
> ~/.MacOSX/environment.plist (see Apple's
> http://developer.apple.com/qa/qa2001/qa1067.html). This file is read by
> Mac OS X applications (like Carbon or Cocoa/Aqua Emacsen) and helps
> them to find things in the UNIX world. It won't help /usr/bin/emacs or
> GNU Emacs in X11 ...
>
> Are you using different shells in Emacs and in Terminal?
I don't know, I was not really using a shell, did not know
you could.
>
> How are you executing Ruby? From inside a Makefile?
just using the compile command on the menu
compile ruby myfilename.rb
next prev parent reply other threads:[~2005-11-18 18:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-18 17:11 can one run tk/Ruby gui code from an emacs shell with compile? anne001
2005-11-18 18:18 ` Peter Dyballa
2005-11-18 18:51 ` Anne G [this message]
2005-11-18 19:53 ` Peter Dyballa
2005-11-19 0:56 ` Anne G
2005-11-19 9:48 ` Peter Dyballa
2005-11-19 11:32 ` Anne G
2005-11-19 12:18 ` Peter Dyballa
2005-11-19 14:19 ` Anne G
2005-11-19 15:03 ` Peter Dyballa
2005-11-19 16:47 ` Success, emacs compiled my snipet Anne G
2005-11-19 19:20 ` Peter Dyballa
2005-11-20 0:16 ` can one run tk/Ruby gui code from an emacs shell with compile? Anne G
2005-11-20 1:13 ` Peter Dyballa
2005-11-20 14:41 ` Anne G
2005-11-20 15:53 ` Peter Dyballa
-- strict thread matches above, loose matches on Subject: below --
2005-11-19 17:19 Anne G
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.SOL.4.30.0511181323000.3171-100000@wjh2.wjh.harvard.edu \
--to=anne@wjh.harvard.edu \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.