Path: 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 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 -------------------------------------------------------------------------------