chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Auto-formatter for scheme?


From: Joe Python
Subject: Re: [Chicken-users] Auto-formatter for scheme?
Date: Sun, 5 Jun 2011 01:50:59 -0400

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 <address@hidden> wrote:
Hi John,

On Thu, 2 Jun 2011 23:40:48 -0700 John Magolske <address@hidden> 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
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-users


reply via email to

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