🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189096

Removal of non-printable characters

#189096
From: wang
Date: Wed, 01 May 1991 15:47
12 lines
1139 bytes
Hi,

I have got a question for you emacs experts: I have some files which
contain bunch of non-printable characters, such as Control-L (served
as page breaker), Control-M (line breaker). How do I remove all of
them from the current buffer if I edit such a file in Emacs? I could,
in an awkward way, use "search" or "query-replace" function to find
and kill those characters one by one, but it's very slow (even though
I can define a little macro to improve the efficiency).  Can you offer
me any smarter way?

Thanks.
Technical Details
Message-ID: <1991May1.154743.25413@math.ufl.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!eng.ufl.edu!math.ufl.edu!math.ufl.edu!wang

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,b4ba32a2a7cb275e,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-05-02 05:05:31 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!eng.ufl.edu!math.ufl.edu!math.ufl.edu!wang
From: wang@math.ufl.edu
Newsgroups: gnu.emacs.help
Subject: Removal of non-printable characters
Message-ID: <1991May1.154743.25413@math.ufl.edu>
Date: 1 May 91 15:47:43 GMT
Sender: news@math.ufl.edu
Reply-To: wang@math.ufl.edu
Organization: Department of Mathematics, University of Florida
Lines: 12