From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: albie@alfarrabio.di.uminho.pt
Cc: emacs <help-gnu-emacs@gnu.org>
Subject: Re: Problem with AucTeX and Path
Date: Sat, 24 Mar 2007 10:54:31 +0100 [thread overview]
Message-ID: <ECC5B19E-5269-4E20-8132-5503A9EB826E@Web.DE> (raw)
In-Reply-To: <46043E43.5030709@alfarrabio.di.uminho.pt>
Am 23.03.2007 um 21:53 schrieb Alberto Simões:
> What am I doing wrong?
You're probably using Carbon Emacs on Mac OS X – it needs to know the
value of PATH.
The usual way would be to set PATH in ~/.MacOSX/environment.plist –
all native Aqua clients (Carbon or Cocoa based, including X11 and the
X clients launched in it) learn environment variables from this file.
It /might/ work to create a file ~/.emacs_your login shell>, for
example ~/.emacs_tcsh in my case. There you can set environment
variables for Emacs' *shell* buffer in usual shell syntax. It /could/
also work for shell processes created from Emacs.
What will work is, to set PATH in ~/.emacs:
(setenv "PATH" (concat "/some/directory" ":" (getenv "PATH")))
To find out what the PATH value is that Emacs knows:
M-x shell-command RET echo $PATH RET
or
M-x getenv RET PATH RET
Now you can determine which elements need to be included in "/some/
directory" ...
--
Greetings
Pete
Increase the size of your bike by at least *five* inches!
next prev parent reply other threads:[~2007-03-24 9:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-23 20:53 Problem with AucTeX and Path Alberto Simões
2007-03-24 9:54 ` Peter Dyballa [this message]
[not found] <mailman.1335.1174683356.7795.help-gnu-emacs@gnu.org>
2007-03-23 21:56 ` David Kastrup
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=ECC5B19E-5269-4E20-8132-5503A9EB826E@Web.DE \
--to=peter_dyballa@web.de \
--cc=albie@alfarrabio.di.uminho.pt \
--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.