From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21519 invoked from network); 25 Feb 1999 15:32:46 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 25 Feb 1999 15:32:46 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA19293 for ; Thu, 25 Feb 1999 10:31:52 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id IAA09589 for axp-list@redhat.com; Thu, 25 Feb 1999 08:31:49 -0700 From: Michal Jaegermann Message-Id: <199902251531.IAA09589@ellpspace.math.ualberta.ca> Subject: Re: pretty To: axp-list@redhat.com Date: Thu, 25 Feb 1999 08:31:49 -0700 (MST) In-Reply-To: <3.0.6.32.19990225123103.00c8cec0@proxy.px.uk.com> from "Dr . David Alan Gilbert" at Feb 25, 99 12:31:03 pm Content-Type: text Dr . David Alan Gilbert wrote: > > At 07:19 AM 2/25/99 -0500, you wrote: > >wasn't there a utility that made "C" programs pretty ( in their own image ) > >by aligning up/fitting in/& tabbing correctly. > >I thought it was called pretty, but doesn't appear to be on this redhat > >installation ;( > >gat > > GNU indent ?? Don't forget also about emacs. When in c-mode (it goes into it normally by itself upon loading a file with a suffix like '.c' or '.h') you can type 'M-x indent-buffer' and it will do that. Emacs offers few predefined indent styles and you can also define your own. Michal