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

Emacs and shell variables



Hi!

When using Emacs to start a compilation (e.g. with C-c C-c from C++
mode) you get "make -k" as default. The problem I'm experiencing is,
that I need some shell variables set in the Makefile. I've set them in
my ~/.bashrc and it works fine if I start Emacs from an xterm which has
this variable set in its shell.

But when I start Emacs with a function key, then the ~/.bashrc
obviously isn't executed, the shell variable isn't set and the make
process fails.

So, how do I tell Emacs always to execute ~/.bashrc in order to get at
my shell variables?

TIA.

Greetings,

Stefan.

-- 
 Stefan Bellon * <mailto:sbellon@sbellon.de> * <http://www.sbellon.de/>
 PGP 2 and OpenPGP keys available from my home page

 10,000 ants dressed as rice & robbed a Chinese restaurant


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: