Date: Fri, 18 Oct 2002 13:36:00 +0200
From: Andreas Bernauer <andreas.bernauer@gmx.de>
To: scsh-news@zurich.ai.mit.edu
Subject: Re: emacs scheme-indent-function
Hi,
I only know the one of the following scheme
(put <name> 'scheme-indent-function <number>)
with <name> being the name of the "keyword" like `let-syntax' or
`receive' and <number> being an integer. I don't exactly know for what
this number is good, but it changes the kind of the indentation of the
arguments in some way.
Here's an excerpt of my settings:
(put 'syntax-rules 'scheme-indent-function 1)
(put 'let-syntax 'scheme-indent-function 1)
(put 'let-thread-fluid 'scheme-indent-function 1)
(put 'opt-lambda 'scheme-indent-function 1)
(put 'let-optionals 'scheme-indent-function 2)
(put 'with-handlers 'scheme-indent-function 1)
(put 'syntax-case 'scheme-indent-function 2)
(put 'with-syntax 'scheme-indent-function 1)
(put 'receive 'scheme-indent-function 2)
(put 'with-tag 'scheme-indent-function 3)
...
located in my init.el of Xemacs.
I hope, this is a bit helpful for you.
On Thu, Oct 17, 2002 at 08:11:50PM -0400, Narang wrote:
> Can anyone provide the settings for scsh specific macros/ functions
> for indentation in emacs.
--
Andreas. Up
|