🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98733

Emacs chokes on ~ when HOME has trailing /

#98733
From: Mark_Israel
Date: Thu, 21 Mar 1991 18:42
28 lines
2005 bytes
   I ftp'd GNU Emacs version 18.57 from prep.ai.mit.edu and built
it using m-iris4d.h and s-irix3-3.h (we're running IRIX 3.3.1 -- 
essentially Unix System V -- on a Silicon Graphics IRIS 4D). 
Emacs cannot find stuff in my home directory.  It fails to read my
.emacs file, and can't find files that I specify as ~/whatever.
 
   The cause seems to be that in my /etc/passwd entry, my home
directory has a trailing slash. 
 
lnds:8wqzYCkiP/XgU:207:200:Mark Israel:/usr/dept/lnds/:/bin/csh
 
   When HOME is "/usr/dept/lnds", Emacs can find ~/.emacs, but
when HOME is "/usr/dept/lnds/", it can't.
 
   I had been under the impression that the terminating slash 
served a valuable purpose:  if my directory is a symbolic
link and people cd to it, they know where they really are.  Is it
true, as one source tells me, that a directory string with a 
terminating slash means something special to BSD-derived systems,
but not to SVR3-derived systems like Irix?  Is it true, as another
source tells me, that Emacs's supposed failure to parse "//" in 
paths makes it non-POSIX-compliant?  Why is there no mention of
this in the PROBLEMS file?  I can't believe that I'm the first
person to experience this problem.
 
                                 Mark Israel
 I have heard the Wobble!        userisra@mts.ucs.ualberta.ca
Technical Details
Message-ID: <2460909@mts.ucs.ualberta.ca>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,582d7e5b09d8d9c2,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-03-21 10:42:46 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: Mark_Israel@MTS.UCS.UALBERTA.CA
Newsgroups: gnu.emacs.bug
Subject: Emacs chokes on ~ when HOME has trailing /
Message-ID: <2460909@mts.ucs.ualberta.ca>
Date: 21 Mar 91 18:42:46 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 28
Approved: bug-gnu-emacs@prep.ai.mit.edu