🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98353

(replace-regexp "^..." "" nil) fiasco

#98353
From: Dan_Jacobson
Date: Thu, 22 Aug 1991 21:06
25 lines
1321 bytes
[18.57] Hmmm, let's strip the crud off the front of these lines:

 * to the next host in the host list.  Hosts are sorted in increasing
 * lexicographic order.
 */
/*
 * initfiles creates the chkfile structures for the shared files:
 */
/*
 * mkdom makes a domain structure and adds it to domain_list.  A pointer to

I know, we'll use M-x replace-regexp "^..." "":


r.

/*
s:

/*

Holy tomatoes, my precious source code has been reduced to rubble by
the vicious GNU Emacs editing machine.  Furthermore, hitting UNDO
reveals that it's going to take me a thousand undoes before I can
restore the damage from that _single_ replace-regexp.
Technical Details
Message-ID: <1991Aug22Th170556.Dan_Jacobson@ATT.COM>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!att.com!Dan_Jacobson

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,f3690386f4e03123,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-08-22 14:06:00 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!att.com!Dan_Jacobson
From: Dan_Jacobson@att.com
Newsgroups: gnu.emacs.bug
Subject: (replace-regexp "^..." "" nil) fiasco
Message-ID: <1991Aug22Th170556.Dan_Jacobson@ATT.COM>
Date: 22 Aug 91 21:06:00 GMT
Sender: gnulists@ai.mit.edu
Reply-To: Dan_Jacobson@ihlpz.att.com
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 25
Approved: bug-gnu-emacs@prep.ai.mit.edu