From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Xiaopeng Xiong" Newsgroups: gmane.emacs.help Subject: Please help: How to reformat existing c++ files using emacs Date: Tue, 29 Mar 2005 16:46:18 -0500 Organization: Purdue University Message-ID: Reply-To: Xiaopeng Xiong NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1112133062 21607 80.91.229.2 (29 Mar 2005 21:51:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2005 21:51:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 29 23:51:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DGObQ-0007uJ-JV for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Mar 2005 23:50:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGOrn-00045i-E4 for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Mar 2005 17:07:19 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.dfci.harvard.edu!news.harvard.edu!purdue!usenet Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: icds5.cs.purdue.edu X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original Original-Xref: shelby.stanford.edu gnu.emacs.help:129722 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25276 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25276 I have a bunch of files that look ugly (e.g., inappropriate indents). I just can not type TAB at each line. If there is any command for formatting all files under a directory, that would be best. But currently, formatting a single file is enough for me. If you know any command to do so, please help! Thanks a lot! -- Xiaopeng Xiong CS143, Computer Sciences Building Purdue University, West Lafayette, IN, 47907 Tel: (765)496-6038 URL: http://www.cs.purdue.edu/homes/xxiong