From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Belanger Newsgroups: gmane.emacs.help Subject: Re: enviromental variables into dot.emacs Date: Sun, 14 Aug 2011 19:01:03 -0500 Message-ID: <87hb5jk0g0.fsf@gmail.com> References: <87sjp42drs.fsf@father.nostromo.wy> <87pqk8t1rb.fsf@thinkpad.tsdh.de> <87fwl3pxbe.fsf@father.nostromo.wy> <87r54npsxc.fsf@gmail.com> <87zkjbmurb.fsf@father.nostromo.wy> Reply-To: jay.p.belanger@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1313366494 25950 80.91.229.12 (15 Aug 2011 00:01:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 15 Aug 2011 00:01:34 +0000 (UTC) Cc: jay.p.belanger@gmail.com To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 15 02:01:24 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QskcN-00036g-71 for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Aug 2011 02:01:23 +0200 Original-Received: from localhost ([::1]:56905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QskcM-0000yH-II for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Aug 2011 20:01:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QskcJ-0000y1-3N for help-gnu-emacs@gnu.org; Sun, 14 Aug 2011 20:01:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QskcI-00040V-9O for help-gnu-emacs@gnu.org; Sun, 14 Aug 2011 20:01:19 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:58015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QskcI-00040R-0v for help-gnu-emacs@gnu.org; Sun, 14 Aug 2011 20:01:18 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QskcG-00033c-8n for help-gnu-emacs@gnu.org; Mon, 15 Aug 2011 02:01:16 +0200 Original-Received: from 184-155-82-200.cpe.cableone.net ([184.155.82.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Aug 2011 02:01:16 +0200 Original-Received: from jay.p.belanger by 184-155-82-200.cpe.cableone.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Aug 2011 02:01:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 7 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 184-155-82-200.cpe.cableone.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:tuLBNfP/koEBGsXCnCFRVIj5f24= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81946 Archived-At: > Forgive me, but my elisp skills are quite low. Can I use a syntax like > this? > > (setq var (getenv $VAR)) It will have to be (getenv "VAR"), and var will then be a string.