all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Z <zell08v@orange.fr>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Inherit the path environment from .bash_profile (Mac OS 10.5)
Date: Fri, 6 Aug 2010 10:47:51 +0200	[thread overview]
Message-ID: <00986741-2EF9-49E3-8148-0584E62C3E66@Web.DE> (raw)
In-Reply-To: <AANLkTikU1B4G5kpUjp6EjjdZXiZEm8JmvzFBCaVKyW0A@mail.gmail.com>


Am 06.08.2010 um 05:17 schrieb Z:

> So in my case, how can I achieve this inheritance of path  
> environments?

Either use a shell script which launches Carbon Emacs or  
translate .bash_profile's contents into Elisp à la:

	(setenv "PATH" (concat "/some/directory" path-separator (getenv  
"PATH")))

You can save some work by first investigating the value of process- 
environment.


A different method is composing a file ~/.MacOSX/environment.plist. It  
sets the environment for all processes at boot time. Read more here: http://developer.apple.com/qa/qa2001/qa1067.html 
  (also available via Xcode on disk: /Developer/Documentation/DocSets/ 
com.apple.ADC_Reference_Library.CoreReference.docset/Contents/ 
Resources/Documents/qa/qa2001/qa1232.html).

--
Greetings

   Pete

Hard Disk, n.:
	A device that allows users to delete vast quantities of data with  
simple mnemonic commands.




  reply	other threads:[~2010-08-06  8:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-06  3:17 Inherit the path environment from .bash_profile (Mac OS 10.5) Z
2010-08-06  8:47 ` Peter Dyballa [this message]
2010-08-06 14:04   ` Jim Crossley
2010-08-06 15:27     ` Peter Dyballa
2010-08-08 17:54       ` Andrea Crotti
2010-08-06 12:09 ` Andrea Crotti
     [not found] <mailman.1.1281064641.32647.help-gnu-emacs@gnu.org>
2010-08-06 12:02 ` Elena
     [not found] <mailman.0.1281064508.32647.help-gnu-emacs@gnu.org>
2010-08-06  5:58 ` inherit " Tim X
2010-08-06  7:15 ` Xah Lee
  -- strict thread matches above, loose matches on Subject: below --
2010-08-06  3:15 Z
2010-08-06 14:00 ` Jim Crossley
2010-08-06 15:36   ` Peter Dyballa

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=00986741-2EF9-49E3-8148-0584E62C3E66@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=zell08v@orange.fr \
    /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.