🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #3427

Reformatting C files w/ emacs...

#3427
From: Jeffrey Vetter
Date: Fri, 31 May 1991 22:47
18 lines
1200 bytes
Are there any scripts/functions available to reformat C files when you
bring them into emacs? 

I already use the electric-C functions, but I know of no command that
will reformat a file using my personal electric-C variable settings.
For instance, I am now editing someone else's C code that uses
drastically different styles than I. I just want to pull their file
into emacs, type a key, and "presto," I have a perfectly formatted C
file.

Did I miss something??

Thanks.
Jeffrey S. Vetter               jsv@cc.gatech.edu                 (404)875-8859
      MS student, College of Computing, Georgia Tech, Atlanta, GA, 30332 
                28428 Georgia Tech Station, Atlanta, GA, 30332
-------------------------------------------------------------------------------
Technical Details
Message-ID: <1485@mephisto.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ncar!gatech!dusk!jsv

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ncar!gatech!dusk!jsv
From: jsv@dusk.gatech.edu (Jeffrey Vetter)
Newsgroups: comp.emacs
Subject: Reformatting C files w/ emacs...
Message-ID: <1485@mephisto.edu>
Date: 31 May 91 22:47:20 GMT
Sender: news@gatech.edu
Organization: Georgia Tech, College of Computing
Lines: 18