🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99615

Re: file names containing '$'

#99615
From: Joe Wells
Date: Sat, 28 Jul 1990 01:58
21 lines
1483 bytes
In article <9007262346.AA01983@efbhp1.draper.com> mal%efbhp1.draper.com@RELAY.CS.NET writes:

   It's not emacs, its Unix. The basic answer is avoid using $ in file
   names.  the $ character is the variable identifier for Unix shells.

Wrong in this case.  It's Emacs, alright.  (Look in the code if you don't
believe me.)

   You can always preface the $ with a backslash (/) but this gets tedious
   FAST.

In GNU Emacs, you should preface the $ with a $.  If you want to you can
also bypass the $ENVIRONMENT_VARIABLE expansion by just calling the
find-file function directly:

    ESC ESC (find-file "filename") RET

For more info, read the documentation on substitute-in-file-name.

-- 
Joe Wells <jbw@uswest.com>
Technical Details
Message-ID: <JBW.90Jul27195818@zeb.uswest.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!jarthur!usc!zaphod.mps.ohio-state.edu!sunybcs!boulder!uswat!jbw
References: <9007260015.AA01750@lem> <9007262346.AA01983@efbhp1.draper.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,3d426154090b5eda
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-07-27 18:58:17 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!jarthur!usc!zaphod.mps.ohio-state.edu!sunybcs!boulder!uswat!jbw
From: jbw@zeb.uswest.com (Joe Wells)
Newsgroups: gnu.emacs.bug
Subject: Re: file names containing '$'
Message-ID: <JBW.90Jul27195818@zeb.uswest.com>
Date: 28 Jul 90 01:58:17 GMT
References: <9007260015.AA01750@lem> <9007262346.AA01983@efbhp1.draper.com>
Sender: news@uswat.UUCP
Distribution: gnu
Organization: U S West Advanced Technologies
Lines: 21
Posted: Sat Jul 28 02:58:17 1990
In-reply-to: mal%efbhp1.draper.com@RELAY.CS.NET's message of 26 Jul 90 23:46:29 GMT