all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sanford Selznick <see-message@for.real.address.com>
Subject: Re: M-x indent-region
Date: Mon, 05 May 2003 10:14:32 -0700	[thread overview]
Message-ID: <see-message-456731.10143205052003@corp.newsfeeds.com> (raw)
In-Reply-To: mailman.5568.1052122245.21513.help-gnu-emacs@gnu.org

In article <mailman.5568.1052122245.21513.help-gnu-emacs@gnu.org>,
 "Alfred M. Szmidt" <ams@kemisten.nu> 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! =-----

  parent reply	other threads:[~2003-05-05 17:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-05  0:36 M-x indent-region Sanford Selznick
2003-05-05  6:12 ` Kai Großjohann
2003-05-05  8:03 ` Alfred M. Szmidt
     [not found] ` <mailman.5568.1052122245.21513.help-gnu-emacs@gnu.org>
2003-05-05 17:14   ` Sanford Selznick [this message]
2003-05-05 18:49     ` Kai Großjohann
2003-05-05 22:38       ` Sanford Selznick
2003-05-06 16:45         ` Kai Großjohann
2003-05-07  3:47           ` Sanford Selznick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=see-message-456731.10143205052003@corp.newsfeeds.com \
    --to=see-message@for.real.address.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.