From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sanford Selznick Newsgroups: gmane.emacs.help Subject: Re: M-x indent-region Date: Mon, 05 May 2003 10:14:32 -0700 Organization: Newsfeeds.com http://www.newsfeeds.com 100,000+ UNCENSORED Newsgroups. Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1052155548 19082 80.91.224.249 (5 May 2003 17:25:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 5 May 2003 17:25:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon May 05 19:25:43 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19CjaI-0003ho-00 for ; Mon, 05 May 2003 19:17:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19CjZO-0007P9-06 for gnu-help-gnu-emacs@m.gmane.org; Mon, 05 May 2003 13:16:06 -0400 Original-Newsgroups: gnu.emacs.help User-Agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X) Original-NNTP-Posting-Host: 69.9.24.242 Original-X-Trace: corp.newsgroups.com 1052155109 69.9.24.242 (5 May 2003 12:18:29 -0500) Original-Lines: 22 X-Comments: This message was posted through Newsfeeds.com X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings. X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!! X-Report: Please report illegal or inappropriate use to X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!logbridge.uoregon.edu!xmission!local-out2.newsfeeds.com!corp.newsgroups.com!see-message Original-Xref: shelby.stanford.edu gnu.emacs.help:112794 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9289 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9289 In article , "Alfred M. Szmidt" wrote: > In emacs, 'M-x indent-region' is the best indent I've ever seen. > > How can I trigger this action from the command-line and have emacs > indent an individual file? > > Whats wrong with just using GNU indent? They should do the same > thing. Well, for starters, it doesn't indent C++. ;-) Beyond that, it's more of a reformatter than a pure indenter, like emacs. The emacs indent doesn't change the line number of any given token... all it does is change the indent of a given line. Best, Sanford -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =-----