chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Re: module indentation.


From: Alex Shinn
Subject: [Chicken-users] Re: module indentation.
Date: Fri, 08 May 2009 22:01:05 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin)

Anthony Carrico <address@hidden> writes:

> Jim Ursetto wrote:
>> 2009/5/4 Anthony Carrico <address@hidden>:
>>> I didn't indent the module (this will make it easier to check my work
>>> with svn diff).
>> 
>> It seems that it is useful not to indent the module body, as
>> definitions aligned at left works better with emacs and
>> scheme-complete.  So that is perfectly fine.
>
> Except that in emacs it is nice to use indent-sexp to indent the whole
> module.

(defun scheme-module-indent (state indent-point normal-indent) 0)
(put 'module 'scheme-indent-function 'scheme-module-indent)

-- 
Alex




reply via email to

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