unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Harold Pimentel <haroldpimentel@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: ESS/Matlab Path in Cocoa Emacs
Date: Sat, 25 Dec 2010 11:32:14 +0100	[thread overview]
Message-ID: <B26434FE-88FB-468D-8B3B-2A13034FD674@Web.DE> (raw)
In-Reply-To: <5F78B08B-BB4A-4B10-BE7C-955C786BA309@gmail.com>


Am 25.12.2010 um 10:46 schrieb Harold Pimentel:

> Do you know why AquaMacs or http://vgoulet.act.ulaval.ca/en/ressources/emacs/ 
>  detect my BASH path correctly, but Cocoa does not? I'm guessing  
> there is some plist file somewhere in the distribution?


No, I don't know (except that AquaMacs is using some hack). What I  
know is that in Mac OS X processes are not launched as in other UNICes  
with the aid of a shell. Outside of Mac OS X these processes inherit  
(almost) the same environment as your interactive command shell  
(almost, because bash allows to set up the interactive environment  
differently from the one for batch use). You can achieve a bit with / 
private/etc/bashrc, I think. In Snow Leopard, Mac OS X 10.6, /private/ 
etc/paths.d (and /private/etc/manpaths.d) are provided to give you  
lots of time to go shopping while logging in... (this is my experience  
with this scheme in Mac OS X 10.5, Leopard)

The working way, since the times of the NeXT Cube, is ~/.MacOSX/ 
environment.plist. Because *all* processes inherit their environment  
from this file.

--
Greetings

   Pete

To most people solutions mean finding the answers. But to chemists  
solutions
are things that are still all mixed up.




  reply	other threads:[~2010-12-25 10:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-24 19:52 ESS/Matlab Path in Cocoa Emacs Harold Pimentel
2010-12-24 20:23 ` Peter Dyballa
2010-12-25  9:46   ` Harold Pimentel
2010-12-25 10:32     ` Peter Dyballa [this message]
     [not found]     ` <mailman.18.1293273225.14161.help-gnu-emacs@gnu.org>
2010-12-28  2:40       ` Stefan Monnier
2010-12-28  9:43         ` Peter Dyballa
2010-12-28 14:22           ` Stefan Monnier
2010-12-28 17:24             ` Peter Dyballa
     [not found]           ` <mailman.3.1293546151.18545.help-gnu-emacs@gnu.org>
2010-12-29  0:08             ` Tim X
2012-06-16  2:42   ` Tan
2012-06-16  9:52     ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B26434FE-88FB-468D-8B3B-2A13034FD674@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=haroldpimentel@gmail.com \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).