Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4134)

Issue 4896043: Add scripts/auxiliar/guileindent.scm

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by Carl
Modified:
12 years, 7 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Add scripts/auxiliar/guileindent.scm Also, run guileindent.scm on scm/music-functions.scm after first expanding all tabs to spaces.

Patch Set 1 #

Total comments: 13

Patch Set 2 : Adjusted input file syntax to solve some problemsw #

Patch Set 3 : Add driver script #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -87 lines) Patch
M scm/music-functions.scm View 1 2 21 chunks +87 lines, -87 lines 0 comments Download
A scripts/auxiliar/fix-scheme.sh View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A scripts/auxiliar/guileindent.scm View 1 chunk +236 lines, -0 lines 3 comments Download

Messages

Total messages: 8
Carl
Here's the latest version of guileindent.scm. It's been added to scripts/auxiliar. After doing a tab->space ...
12 years, 8 months ago (2011-08-14 03:15:33 UTC) #1
Trevor Daniels
L pretty GTM. It would look even better with a little manual adjustment first. http://codereview.appspot.com/4896043/diff/1/scm/music-functions.scm ...
12 years, 8 months ago (2011-08-14 07:48:48 UTC) #2
Carl
New comments, and the results of fixing some non-indent spacing issues in the source file. ...
12 years, 8 months ago (2011-08-14 21:45:23 UTC) #3
Neil Puttock
Hi Carl, This latest patch looks great. I'm not sold on the change to `else', ...
12 years, 8 months ago (2011-08-14 22:37:51 UTC) #4
Graham Percival
Looks awesome; I'm going to make this the next GOP-PROP issue. It should just be ...
12 years, 8 months ago (2011-08-15 09:06:00 UTC) #5
Carl
New patch set uploaded with driver script and ignoring detabify output. Neil, what behavior would ...
12 years, 8 months ago (2011-08-16 00:19:03 UTC) #6
Neil Puttock
http://codereview.appspot.com/4896043/diff/10002/scripts/auxiliar/guileindent.scm File scripts/auxiliar/guileindent.scm (right): http://codereview.appspot.com/4896043/diff/10002/scripts/auxiliar/guileindent.scm#newcode38 scripts/auxiliar/guileindent.scm:38: (define (assf test-proc search-list) move to lily-library.scm http://codereview.appspot.com/4896043/diff/10002/scripts/auxiliar/guileindent.scm#newcode65 scripts/auxiliar/guileindent.scm:65: ...
12 years, 7 months ago (2011-09-15 23:47:37 UTC) #7
Neil Puttock
12 years, 7 months ago (2011-09-15 23:51:21 UTC) #8
lambda* should have same indentation as lambda

comments are broken:

; (margin comment) should be indented (not sure how many spaces emacs does it
though)

;;; (top-level comment) shouldn't be indented even inside a form

There are a few files which use margin comments by mistake, so we should fix
them ideally (e.g., define-markup-commands.scm, slashed-digit-internal).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b