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: Tue, 01 Mar 2011 20:40:05 +0100 Message-ID: <87aahe7hpm.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 1299009804 11194 80.91.229.12 (1 Mar 2011 20:03:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Mar 2011 20:03:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Harald Hanche-Olsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 01 21:03:19 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 1PuVmw-00069A-9v for ged-emacs-devel@m.gmane.org; Tue, 01 Mar 2011 21:03:18 +0100 Original-Received: from localhost ([127.0.0.1]:38273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuVRV-00042l-3I for ged-emacs-devel@m.gmane.org; Tue, 01 Mar 2011 14:41:09 -0500 Original-Received: from [140.186.70.92] (port=32996 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuVQj-0002zj-Ur for emacs-devel@gnu.org; Tue, 01 Mar 2011 14:40:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuVQh-00035r-BM for emacs-devel@gnu.org; Tue, 01 Mar 2011 14:40:20 -0500 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:54254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuVQh-00035X-5I for emacs-devel@gnu.org; Tue, 01 Mar 2011 14:40:19 -0500 Original-Received: by fxm5 with SMTP id 5so6110361fxm.0 for ; Tue, 01 Mar 2011 11:40:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=beJ5SHguKfBFJ4jpQBS9ZVTJs6FeIWAvgoDDjQeYjiI=; b=LybEiA0Dm242aNmWrc/ucGUhqzxKQYbPJ4JRYy3tIl9EYH6YLljCIa+Ay/LwAMDUvA cEIUUmkaOrNYMJ/EuE4v95m2fkN842CQYvHdL/1/IdV+qB+vJxPCPbxoTv9j4Myhchs6 qUB8ql0hYkRkx07PjOtXXjNYp6bk1fHWaitZA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=azUHq3BOHM7+ghAGpwWxcm/K6afUmu/M6AjvaX/ZFU0z7hJMjdiML9hvWsU+9295Qb +iXX/dPxICCgRBY+gc/R4mOZqb4rio7RrbWGbVNI86dfV2uAtb/5dPYCLYCUrCv3QTkc 8/gC361sArX8czJQP3V35HI80Ycp5TwwVQJuQ= Original-Received: by 10.223.72.207 with SMTP id n15mr8665491faj.49.1299008407821; Tue, 01 Mar 2011 11:40:07 -0800 (PST) Original-Received: from thierry-MM061 (238.78.88-79.rev.gaoland.net [79.88.78.238]) by mx.google.com with ESMTPS id 5sm2356797fak.23.2011.03.01.11.40.06 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Mar 2011 11:40:07 -0800 (PST) In-Reply-To: <20110228.193345.2043865510881333091.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Mon, 28 Feb 2011 19:33:45 +0100 (CET)") User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.41 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:136686 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.) 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