🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189028

Re: accessing environment variables in Lisp expressions

#189028
From: John "Jack" Repenning
Date: Mon, 06 May 1991 21:46
16 lines
1353 bytes
In article <9105022259.AA17238@aaec.com.uucp> tsilva%aaec1.UUCP@DSPVAX.MIT.EDU (Tony Silva) writes:

   I can't seem to figure out how to utilize the $HOME environment
   variable.

I don't quite follow all the details in your original posting, but
does this do what you wanted?

       (setq mail-archive-file-name
             (substitute-in-file-name "$HOME/SMAIL.tmp"))



Jack Repenning			9U-530	     jackr@wpd.sgi.com
Silicon Graphics, Inc.		            Off:(415) 335-7477
Systems Software Technology Center	    Fax:(415) 969-2314
Technical Details
Message-ID: <JACKR.91May6134647@dblues.dblues.wpd.sgi.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!nnews!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!sgi!shinobu!fido.wpd.sgi.com!fido!jackr
References: <9105022259.AA17238@aaec.com.uucp>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,ecb80e6d9f9f3873
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-05-07 11:25:05 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!nnews!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!sgi!shinobu!fido.wpd.sgi.com!fido!jackr
From: jackr@dblues.wpd.sgi.com (John "Jack" Repenning)
Newsgroups: gnu.emacs.help
Subject: Re: accessing environment variables in Lisp expressions
Message-ID: <JACKR.91May6134647@dblues.dblues.wpd.sgi.com>
Date: 6 May 91 21:46:47 GMT
References: <9105022259.AA17238@aaec.com.uucp>
Sender: news@fido.wpd.sgi.com (Usenet News Admin)
Followup-To: gnu.emacs.help
Organization: Silicon Graphics, Inc.
Lines: 16
In-Reply-To: tsilva%aaec1.UUCP@DSPVAX.MIT.EDU's message of 2 May 91 22: 59:30 GMT