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

Issue 6814080: Applies scheme indentation according to the GNU guidelines (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by marc
Modified:
11 years, 5 months ago
Reviewers:
Graham Percival, janek, dak
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Applies scheme indentation according to the GNU guidelines This is the result of scripts/auxiliar/fixscm.sh scm/* with some manual tweaking in clip-region.scm where ';:' instead of ';;' was used as a comment sign.

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+14768 lines, -14768 lines) Patch
M scm/auto-beam.scm View 4 chunks +14 lines, -14 lines 0 comments Download
M scm/autochange.scm View 1 chunk +32 lines, -32 lines 0 comments Download
M scm/backend-library.scm View 10 chunks +120 lines, -120 lines 0 comments Download
M scm/bar-line.scm View 25 chunks +442 lines, -442 lines 0 comments Download
M scm/bezier-tools.scm View 2 chunks +44 lines, -44 lines 0 comments Download
M scm/c++.scm View 1 chunk +2 lines, -2 lines 0 comments Download
M scm/chord-entry.scm View 5 chunks +112 lines, -112 lines 1 comment Download
M scm/chord-generic-names.scm View 7 chunks +163 lines, -163 lines 0 comments Download
M scm/chord-name.scm View 6 chunks +47 lines, -47 lines 0 comments Download
M scm/clip-region.scm View 2 chunks +60 lines, -60 lines 0 comments Download
M scm/coverage.scm View 4 chunks +45 lines, -45 lines 0 comments Download
M scm/define-context-properties.scm View 5 chunks +11 lines, -11 lines 0 comments Download
M scm/define-event-classes.scm View 6 chunks +53 lines, -53 lines 1 comment Download
M scm/define-grob-interfaces.scm View 4 chunks +8 lines, -8 lines 1 comment Download
M scm/define-grob-properties.scm View 20 chunks +57 lines, -57 lines 1 comment Download
M scm/define-grobs.scm View 9 chunks +2169 lines, -2169 lines 0 comments Download
M scm/define-markup-commands.scm View 73 chunks +440 lines, -440 lines 0 comments Download
M scm/define-music-callbacks.scm View 5 chunks +67 lines, -67 lines 0 comments Download
M scm/define-music-display-methods.scm View 23 chunks +661 lines, -661 lines 1 comment Download
M scm/define-music-properties.scm View 5 chunks +8 lines, -8 lines 0 comments Download
M scm/define-music-types.scm View 14 chunks +310 lines, -310 lines 1 comment Download
M scm/define-note-names.scm View 11 chunks +727 lines, -727 lines 0 comments Download
M scm/define-stencil-commands.scm View 1 chunk +2 lines, -2 lines 0 comments Download
M scm/define-woodwind-diagrams.scm View 23 chunks +681 lines, -681 lines 0 comments Download
M scm/display-lily.scm View 7 chunks +124 lines, -124 lines 0 comments Download
M scm/display-woodwind-diagrams.scm View 10 chunks +1583 lines, -1583 lines 0 comments Download
M scm/document-backend.scm View 7 chunks +88 lines, -88 lines 0 comments Download
M scm/document-context-mods.scm View 1 chunk +2 lines, -2 lines 0 comments Download
M scm/document-functions.scm View 2 chunks +10 lines, -10 lines 0 comments Download
M scm/document-identifiers.scm View 2 chunks +28 lines, -28 lines 0 comments Download
M scm/document-markup.scm View 3 chunks +15 lines, -15 lines 0 comments Download
M scm/document-music.scm View 3 chunks +60 lines, -60 lines 0 comments Download
M scm/document-translation.scm View 6 chunks +139 lines, -139 lines 0 comments Download
M scm/documentation-generate.scm View 3 chunks +12 lines, -12 lines 0 comments Download
M scm/documentation-lib.scm View 5 chunks +45 lines, -45 lines 0 comments Download
M scm/editor.scm View 3 chunks +20 lines, -20 lines 0 comments Download
M scm/encoding.scm View 2 chunks +43 lines, -43 lines 0 comments Download
M scm/file-cache.scm View 1 chunk +3 lines, -3 lines 0 comments Download
M scm/flag-styles.scm View 7 chunks +49 lines, -49 lines 0 comments Download
M scm/font.scm View 7 chunks +63 lines, -63 lines 0 comments Download
M scm/framework-eps.scm View 4 chunks +66 lines, -66 lines 0 comments Download
M scm/framework-null.scm View 1 chunk +7 lines, -7 lines 0 comments Download
M scm/framework-ps.scm View 17 chunks +337 lines, -337 lines 0 comments Download
M scm/framework-scm.scm View 1 chunk +17 lines, -17 lines 0 comments Download
M scm/framework-socket.scm View 1 chunk +53 lines, -53 lines 0 comments Download
M scm/framework-svg.scm View 5 chunks +85 lines, -85 lines 0 comments Download
M scm/fret-diagrams.scm View 19 chunks +522 lines, -522 lines 0 comments Download
M scm/graphviz.scm View 3 chunks +20 lines, -20 lines 0 comments Download
M scm/guile-debugger.scm View 1 chunk +22 lines, -22 lines 0 comments Download
M scm/harp-pedals.scm View 5 chunks +32 lines, -32 lines 0 comments Download
M scm/layout-beam.scm View 1 chunk +37 lines, -37 lines 0 comments Download
M scm/layout-slur.scm View 1 chunk +2 lines, -2 lines 0 comments Download
M scm/lily.scm View 13 chunks +84 lines, -84 lines 0 comments Download
M scm/lily-library.scm View 35 chunks +288 lines, -288 lines 0 comments Download
M scm/lily-sort.scm View 1 chunk +3 lines, -3 lines 0 comments Download
M scm/ly-syntax-constructors.scm View 6 chunks +111 lines, -111 lines 0 comments Download
M scm/markup.scm View 1 chunk +69 lines, -69 lines 0 comments Download
M scm/markup-macros.scm View 4 chunks +9 lines, -9 lines 0 comments Download
M scm/memory-trace.scm View 5 chunks +66 lines, -66 lines 0 comments Download
M scm/midi.scm View 5 chunks +221 lines, -221 lines 0 comments Download
M scm/modal-transforms.scm View 6 chunks +22 lines, -22 lines 0 comments Download
M scm/music-functions.scm View 58 chunks +782 lines, -782 lines 0 comments Download
M scm/output-lib.scm View 37 chunks +413 lines, -413 lines 0 comments Download
M scm/output-ps.scm View 9 chunks +136 lines, -136 lines 0 comments Download
M scm/output-socket.scm View 3 chunks +36 lines, -36 lines 0 comments Download
M scm/output-svg.scm View 15 chunks +322 lines, -322 lines 0 comments Download
M scm/page.scm View 8 chunks +150 lines, -150 lines 0 comments Download
M scm/paper.scm View 8 chunks +95 lines, -95 lines 0 comments Download
M scm/paper-system.scm View 4 chunks +181 lines, -181 lines 0 comments Download
M scm/parser-clef.scm View 3 chunks +64 lines, -64 lines 0 comments Download
M scm/parser-ly-from-scheme.scm View 1 chunk +49 lines, -49 lines 0 comments Download
M scm/part-combiner.scm View 8 chunks +339 lines, -339 lines 0 comments Download
M scm/predefined-fretboards.scm View 1 chunk +26 lines, -26 lines 0 comments Download
M scm/ps-to-png.scm View 4 chunks +63 lines, -63 lines 0 comments Download
M scm/safe-utility-defs.scm View 1 chunk +5 lines, -5 lines 0 comments Download
M scm/script.scm View 1 chunk +214 lines, -214 lines 0 comments Download
M scm/song.scm View 24 chunks +198 lines, -198 lines 0 comments Download
M scm/song-util.scm View 3 chunks +9 lines, -9 lines 0 comments Download
M scm/standalone.scm View 1 chunk +11 lines, -11 lines 0 comments Download
M scm/stencil.scm View 23 chunks +448 lines, -448 lines 0 comments Download
M scm/tablature.scm View 9 chunks +81 lines, -81 lines 0 comments Download
M scm/text.scm View 1 chunk +1 line, -1 line 0 comments Download
M scm/time-signature-settings.scm View 17 chunks +76 lines, -76 lines 0 comments Download
M scm/titling.scm View 3 chunks +49 lines, -49 lines 0 comments Download
M scm/to-xml.scm View 9 chunks +31 lines, -31 lines 0 comments Download
M scm/translation-functions.scm View 20 chunks +331 lines, -331 lines 0 comments Download
M scm/x11-color.scm View 2 chunks +26 lines, -26 lines 0 comments Download

Messages

Total messages: 5
janek
I've looked a bit at one random file. Looks mostly good to me. http://codereview.appspot.com/6814080/diff/1/scm/define-music-display-methods.scm File ...
11 years, 5 months ago (2012-11-10 13:59:23 UTC) #1
dak
Marc Hohl <marc@hohlart.de> writes: > Am 10.11.2012 14:59, schrieb janek.lilypond@gmail.com: >> I've looked a bit ...
11 years, 5 months ago (2012-11-11 08:40:09 UTC) #2
Graham Percival
Some people (notably Jan) were quite vocal about wanting to use "whatever emacs does" literally, ...
11 years, 5 months ago (2012-11-11 12:45:31 UTC) #3
Graham Percival
On Sun, Nov 11, 2012 at 02:22:30PM +0100, Marc Hohl wrote: > Am 11.11.2012 13:45, ...
11 years, 5 months ago (2012-11-11 22:32:17 UTC) #4
marc
11 years, 5 months ago (2012-11-12 20:50:52 UTC) #5
Looking a little closer through the bunch of lines,
this is far from being pushed.

(1) There are single ';' comments spread throughout
    various scheme files, and emacs doesn't like them.
    The best way to eliminate them is to manually replace
    them (I don't trust a script here) before running
    fixscm.sh

(2) Lists seem to be formatted as if the first entry were
    a function; is there a way to convince emacs to
    do this differently?

http://codereview.appspot.com/6814080/diff/1/scm/chord-entry.scm
File scm/chord-entry.scm (left):

http://codereview.appspot.com/6814080/diff/1/scm/chord-entry.scm#oldcode18
scm/chord-entry.scm:18: ; for define-safe-public when byte-compiling using Guile
V2
there are *a lot* of comments starting with just
a single ';' instead of ';;'.

I think a separate commit for just this issue should
be created? This means a lot of manual search&replace :-(

http://codereview.appspot.com/6814080/diff/1/scm/define-event-classes.scm
File scm/define-event-classes.scm (right):

http://codereview.appspot.com/6814080/diff/1/scm/define-event-classes.scm#new...
scm/define-event-classes.scm:29: arpeggio-event breathing-event extender-event
span-event
This is just ugly; how can I prevent emacs from doing this?

http://codereview.appspot.com/6814080/diff/1/scm/define-grob-interfaces.scm
File scm/define-grob-interfaces.scm (left):

http://codereview.appspot.com/6814080/diff/1/scm/define-grob-interfaces.scm#o...
scm/define-grob-interfaces.scm:114: thickness))
This indentation is not correct IMHO.
How can emacs format a list accordingly?

http://codereview.appspot.com/6814080/diff/1/scm/define-grob-properties.scm
File scm/define-grob-properties.scm (right):

http://codereview.appspot.com/6814080/diff/1/scm/define-grob-properties.scm#n...
scm/define-grob-properties.scm:34: ;;
well, there is probably no easy way to convince
emacs not to indent this, but it looks not too bad, either...

http://codereview.appspot.com/6814080/diff/1/scm/define-music-types.scm
File scm/define-music-types.scm (left):

http://codereview.appspot.com/6814080/diff/1/scm/define-music-types.scm#oldco...
scm/define-music-types.scm:19: ; for define-safe-public when byte-compiling
using Guile V2
... and some more spurious single ';' comments
malformatted.
Sign in to reply to this message.

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