🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98845

fileio.c report_file_error

#98845
From: "Jonathan I. Kamens"
Date: Tue, 19 Feb 1991 23:12
24 lines
1773 bytes
In GNU Emacs 18.57.7 of Sun Feb 17 1991 on pit-manager (berkeley-unix)

The function report_file_error in fileio.c contains the following:

  /* System error messages are capitalized.  Downcase the initial. */
  XSTRING (errstring)->data[0] = DOWNCASE (XSTRING (errstring)->data[0]);

It's the downcasing that I'm concerned about.  In particular, that
doesn't quite do the right thing with the string "I/O error", which
appears in our sys_errlist.

I don't quite know what the correct solution is.  Frankly, I'd rather
have all of the errors capitalized (i.e. remove the call to DOWNCASE)
than downcase them all and have some of them look really silly
downcased.  Perhaps there's a better solution, but I suspect it would
involve emacs knowing too much about what's in sys_errlist.

Perhaps we should downcase the whole string?  But that's gross too,
and is bound to be the wrong thing to do in many cases.

Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710
Technical Details
Message-ID: <9102192312.AA19506@pit-manager.MIT.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!magnus.ircc.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,fe347b941675679f,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-02-19 15:12:33 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: jik@PIT-MANAGER.MIT.EDU ("Jonathan I. Kamens")
Newsgroups: gnu.emacs.bug
Subject: fileio.c report_file_error
Message-ID: <9102192312.AA19506@pit-manager.MIT.EDU>
Date: 19 Feb 91 23:12:33 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 24
Approved: bug-gnu-emacs@prep.ai.mit.edu