[uim-commit] r2758 - branches/r5rs/sigscheme/doc
yamaken at freedesktop.org
yamaken at freedesktop.org
Tue Jan 3 04:02:43 PST 2006
Author: yamaken
Date: 2006-01-03 04:02:34 -0800 (Tue, 03 Jan 2006)
New Revision: 2758
Modified:
branches/r5rs/sigscheme/doc/style
Log:
* sigscheme/doc/style
- Add "Cosmetic style" section
Modified: branches/r5rs/sigscheme/doc/style
===================================================================
--- branches/r5rs/sigscheme/doc/style 2006-01-03 11:34:34 UTC (rev 2757)
+++ branches/r5rs/sigscheme/doc/style 2006-01-03 12:02:34 UTC (rev 2758)
@@ -1,5 +1,30 @@
Coding style
+* Cosmetic style
+
+ C:
+ indent-tabs-mode: nil
+ fill-column: 79
+ c-basic-offset: 4
+ substatement-open: 0
+ c-backslash-column: 77
+
+ Scheme:
+ (put 'and-let* 'scheme-indent-function 1)
+ (put 'receive 'scheme-indent-function 2)
+ (put 'with-exception-handler 'scheme-indent-function 1)
+ (put 'guard 'scheme-indent-function 1)
+
+ The value 77 for c-backslash-column is selected to maximize writable space,
+ eliminate jagged end of lines and prevent overflow of lines on diffs posted
+ to the uim-commit list.
+
+ Avoid placing a character at column 80 even if your editor displays it
+ without overflow in 80-column window. Many editor displays it as continuance
+ mark or folding mark. i.e. Treat column 79 as end-of-line, especially for
+ decorations for comments.
+
+
* Macro definition
Any argument should be wrapped into () or [] if no exceptional reason exist,
More information about the uim-commit
mailing list