home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / emacs / 2679 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.8 KB

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