emacs-devel
[Top][All Lists]
Advanced

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

Re: getenv behavior or bug


From: Thierry Volpiatto
Subject: Re: getenv behavior or bug
Date: Mon, 28 Feb 2011 23:18:16 +0100
User-agent: Gnus/5.110014 (No Gnus v0.14) Emacs/23.2.94 (gnu/linux)

Harald Hanche-Olsen <address@hidden> writes:

> [Thierry Volpiatto <address@hidden> (2011-02-28 18:03:13 UTC)]
>
>> Thanks for answer,
>> So what's the environment variables emacs set on startup?
>
> Not very many. Perhaps none. You can find out yourself: Just run
>
>   env - /usr/bin/emacs -q --batch --eval '(pp process-environment)'
>
> from the command line. Replace /usr/bin/emacs by the absolute path to
> your emacs; with an empty environment, the emacs executable can't be
> found outherwise. The standard emacs on one ubuntu system I have
> access to, prints just nil in response. (If I redirect stderr to
> /dev/null that is.)
Yes, i have nil also on ubuntu. (with and without redirecting stderr to
/dev/null)

Thanks for this info about process-environment.

-- 
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




reply via email to

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