unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: getenv behavior or bug
Date: Mon, 28 Feb 2011 23:18:16 +0100	[thread overview]
Message-ID: <87fwr7pzvb.fsf@gmail.com> (raw)
In-Reply-To: 20110228.193345.2043865510881333091.hanche@math.ntnu.no

Harald Hanche-Olsen <hanche@math.ntnu.no> writes:

> [Thierry Volpiatto <thierry.volpiatto@gmail.com> (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	other threads:[~2011-02-28 22:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-28 16:25 getenv behavior or bug Thierry Volpiatto
2011-02-28 16:38 ` Andreas Schwab
2011-02-28 16:39 ` Harald Hanche-Olsen
2011-02-28 18:03   ` Thierry Volpiatto
2011-02-28 18:33     ` Harald Hanche-Olsen
2011-02-28 22:18       ` Thierry Volpiatto [this message]
2011-03-01 19:40       ` Thierry Volpiatto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fwr7pzvb.fsf@gmail.com \
    --to=thierry.volpiatto@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).