[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Whitespace and scheme
From: |
David Kastrup |
Subject: |
Re: Whitespace and scheme |
Date: |
Fri, 13 Jul 2012 12:37:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
"Phil Holmes" <address@hidden> writes:
> ----- Original Message -----
> From: "David Kastrup" <address@hidden>
> To: <address@hidden>
> Sent: Friday, July 13, 2012 11:18 AM
> Subject: Re: Whitespace and scheme
>
>
>> "Phil Holmes" <address@hidden> writes:
>>
>>> Would I be right in saying that in scheme files (a) (define lines
>>> should always be left-justified (no space before)
>>
>> No, just top level defines, like everything at top level. Top level is
>> when the preceding part of the file has matched opening and closing
>> parens. Roughly.
>>
>>> and (b) indents should always be 2 spaces and never tabs?
>>>
>>> I'm looking at music-functions.scm and it has tabs and non-left defines.
>>
>> I don't think we have a no-tab policy for Scheme files. What defines do
>> you have in mind?
>
> (define-public (set-mus-properties! m alist)
>
> has the additional leading space and a couple of tabs.
Sure, at least the leading space is wrong.
--
David Kastrup