I write: > Problem: > In Emacs 21, running TeX-command-master (C-c C-c) on a LaTeX file in > AUC-TeX-mode starts (a program in) a shell that does not read ~/.bashrc .
The reason is that TeX-shell-command-option is set to the string "-c". *bash* is thus invoked with the -c option, which in turn forces it to /not/ read any files on start-up. If *TeX-shell-command-option* was a list of strings, I could set it to '("--rcfile=~/.bashrc" "-c"), which I guess would do the trick. I found a work-around: the process starting up *Emacs* should source the ~/.bashrc file first. In my case, this means sourcing ~/.bashrc in .xsession . Cheers, -- Jens Peter Secher _____________________________________________________________________ [EMAIL PROTECTED] - http://www.diku.dk/~jpsecher - (+45) 35 32 14 08 _OpenPGP fingerprint DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1_