[Top][All Lists]

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

bug#7310: 23.2; environment not propery inherited

From: Glenn Morris
Subject: bug#7310: 23.2; environment not propery inherited
Date: Sun, 31 Oct 2010 22:27:48 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Randy Yates wrote:

> I have an environment variable defined in an xterm,
> $ echo $LOCALTEXMF
> /usr/local/share/texmf
> but when I run emacs, even with emacs -Q, then evaluating
> initial-environment
> in the scratch buffer does not reveal the LOCALTEXMF variable.

This seems very odd. Are you sure $LOCALTEXMF is exported?

What happens with (assuming a sh-like shell):

export LOCALTEXMF=/usr/local/share/texmf
emacs -Q
M-: (getenv "LOCALTEXMF")


(works for me)

> In GNU Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.20.1)
>  of 2010-06-03 on xb-01.phx2.fedoraproject.org

reply via email to

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