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

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

Re: Emacs Environment Variables


From: Peter Dyballa
Subject: Re: Emacs Environment Variables
Date: Sat, 24 Nov 2007 10:34:33 +0100


Am 23.11.2007 um 14:43 schrieb Phi:

    I currently start emacs from bash shell and have a long list of
environment variables defined in
.bashrc . How do I have emacs environment aromatically inherit all the
variables from bash on startup?


Do you start bash in a way that it executes your .bashrc?

To check whether GNU Emacs is aware of all these environment variables put into your *scratch* buffer

        (shell-command "env")

position the cursor at the closing parenthesis, and type C-j. In a new buffer, *Shell Command Output*, you'll see the variables and their values.

--
Greetings

  Pete

"America believes in education: the average professor earns more money
in a year than a professional athlete earns in a whole week." – Evan
Esar







reply via email to

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