help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x indent-region


From: Sanford Selznick
Subject: Re: M-x indent-region
Date: Mon, 05 May 2003 10:14:32 -0700
User-agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X)

In article <address@hidden>,
 "Alfred M. Szmidt" <address@hidden> 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! =-----


reply via email to

[Prev in Thread] Current Thread [Next in Thread]