[Top][All Lists]
[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: |
Tue, 01 Mar 2011 20:40:05 +0100 |
User-agent: |
Gnus/5.110014 (No Gnus v0.14) Emacs/23.3 (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.)
For a final note, just found that `system-name' return $HOSTNAME, it is
used by `emacs-version'.
--
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: getenv behavior or bug,
Thierry Volpiatto <=