From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: getenv behavior or bug Date: Mon, 28 Feb 2011 23:18:16 +0100 Message-ID: <87fwr7pzvb.fsf@gmail.com> References: <87vd04p1m3.fsf@gmail.com> <20110228.173953.1520547454256399731.hanche@math.ntnu.no> <87r5asox3y.fsf@gmail.com> <20110228.193345.2043865510881333091.hanche@math.ntnu.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298931524 29329 80.91.229.12 (28 Feb 2011 22:18:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2011 22:18:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 28 23:18:40 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PuBQM-0005uh-UL for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2011 23:18:39 +0100 Original-Received: from localhost ([127.0.0.1]:53439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuBQM-0007bM-Ez for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2011 17:18:38 -0500 Original-Received: from [140.186.70.92] (port=55442 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuBQH-0007b4-Av for emacs-devel@gnu.org; Mon, 28 Feb 2011 17:18:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuBQF-00047m-Qs for emacs-devel@gnu.org; Mon, 28 Feb 2011 17:18:33 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:59295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuBQF-00047U-LD for emacs-devel@gnu.org; Mon, 28 Feb 2011 17:18:31 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PuBQC-0005q8-36 for emacs-devel@gnu.org; Mon, 28 Feb 2011 23:18:28 +0100 Original-Received: from 238.78.88-79.rev.gaoland.net ([79.88.78.238]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Feb 2011 23:18:28 +0100 Original-Received: from thierry.volpiatto by 238.78.88-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Feb 2011 23:18:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 238.78.88-79.rev.gaoland.net User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/23.2.94 (gnu/linux) Cancel-Lock: sha1:G1+irznJeJxsZJzAwsTwFOQpPic= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136625 Archived-At: Harald Hanche-Olsen writes: > [Thierry Volpiatto (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