home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!chaos!splinter.coe.northeastern.edu
- From: ratinox@splinter.coe.northeastern.edu (Richard Pieri/Stainless Steel Rat)
- Newsgroups: comp.emacs
- Subject: Re: "Feature" in emacs
- Message-ID: <RATINOX.92Jul22213523@splinter.coe.northeastern.edu>
- Date: 23 Jul 92 01:35:23 GMT
- References: <1992Jul22.064913.16215@cssc-syd.tansu.com.au>
- Sender: usenet@chaos.DAC.Northeastern.edu
- Organization: 3WA, Boston Office. Or Nu Meta Chi. Take your pick.
- Lines: 22
- In-reply-to: mattw@cssc-syd.tansu.com.au's message of 22 Jul 92 06:49:13 GMT
- X-Get-A-Clue: Have two, they're small.
- X-Signature-Virus-Protection: Version 1.51
- X-Posting-Software: GNUS 3.14.1 [ NNTP-based News Reader for GNU Emacs ]
-
- >>>>> On 22 Jul 92 06:49:13 GMT, mattw@cssc-syd.tansu.com.au (Matthew
- >>>>> Watson) said:
-
- MW> I just accidentally put an environment variable in a load-file argument
- MW> like (load-file "${ENV}/foo.el") Then I looked back later and thought,
- MW> "Why is that working?" Seems that emacs passes the pathname to a shell
- MW> or something for evaluation. Interesting.
-
- Interesting, indeed, because it worked for me, too. I'd say it's probably
- like the parsing of "~/"; sometimes it works, sometimes it won't. For
- portability's sake, (getenv ("VAR")) is much safer.
-
- --Rat
-
- ||||| | | | | | | | | | | | | | | | | | | | | | | |||||
- __ ___
- Richard Pieri, Northeastern's Stainless Steel Rat/ | /| / / | The Worlds
- Internet: ratinox@meceng.coe.northeastern.edu /__ |/ |/ / /| | Welfare Works
- UUCP: ...!northeastern.edu!splinter!ratinox/ | /| / / / | | Association:
- BITNET: UA_RLP@NUHUB{.BITNET} /__ |/ |/ / / | | I will solve
- USNail: 14 Westdale RD Holbrook, MA 02343 / | /| / / /___| | any problem
- ICBMnet: 42 deg 1 min N, 71 deg 0 min W / |/ |/ /_//_____| for you.
-