You may use this technique

M-x mark-whole-buffer RET M-x indent-region RET
or
C-x h RET C-M-\ RET

On Fri, Jun 3, 2011 at 7:00 AM, Mario Domenech Goulart <
[email protected]> wrote:

> Hi John,
>
> On Thu, 2 Jun 2011 23:40:48 -0700 John Magolske <[email protected]> wrote:
>
> > I'm looking for an auto-formatter, something like INDENT [1] or
> > Artistic Style [2] that can handle scheme code. Does anyone know
> > of such a tool? Maybe beautifier [3] ?
> >
> > [1] http://linux.die.net/man/1/indent
> > [2] http://astyle.sourceforge.net/
> > [3] http://freshmeat.net/projects/beautifier/
> >
> > Thanks for any suggestions,
>
> Probably not exactly what you want, but you can use emacs for
> indentation.  Here's an example:
>
>  $ emacs -Q --batch --file your-scheme-file.scm \
>  --eval '(progn (indent-region (point-min) (point-max)) (save-buffer))'
>
> Best wishes.
> Mario
> --
> http://parenteses.org/mario
>
> _______________________________________________
> Chicken-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/chicken-users
>
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to