[PRL] scheme indent?
Doug Orleans
dougo at ccs.neu.edu
Mon Oct 27 10:11:02 EST 2003
Jeffrey Palm writes:
> Does anyone know the emacs variable to set so that:
>
> (something (frog)
> (toad) ... )
>
> will indent, rather, as:
>
> (something (frog)
> (toad) ... )
> ^^
(put 'something 'scheme-indent-function 1)
The third argument is the number of arguments that usually go on the
first line, or otherwise shouldn't be backdented; for example:
(put 'syntax-case 'scheme-indent-function 2)
(put 'syntax-case* 'scheme-indent-function 3)
--Doug
P.S. I use cmuscheme.el; it might be different with other scheme
modes.
More information about the PRL
mailing list