[Top][All Lists]

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

GOP-PROP 10: scheme indentation (probable decision)

From: Graham Percival
Subject: GOP-PROP 10: scheme indentation (probable decision)
Date: Wed, 24 Aug 2011 14:26:45 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

No complaints from last time, with the possible exception of Neil
wanting a different behavior for (else...)

** Proposal summary

Speaking academically, scheme code style is a “solved problem”.
Let’s pick one of the existing solutions, and let a computer deal
with this. Humans should not waste their time, energy, and
creativity manually adding tabs or spaces to source code.

The script will be scripts/auxiliar/

** Rationale

New contributors sometimes struggle to follow our indentation and
code style – this is especially difficult when parts of our
existing source code doesn’t have a consistent style. This is
problematic... we want new contributors to be struggling with the
lilypond architecture, not playing games in their text editors!

** Proposal details


I will auto-indent all ‘.scm’ files in the git tree on 2011 Sep

** Implementation notes

The C++ change went quite well, and we have far fewer outstanding
patches for scheme code. No problems anticipated.

We will not manually specify what the scheme files should look
like as part of this proposal; just run that script on your files.
Interested parties may add an unofficial description of the scheme
indentation to the CG if they are interested. 

- Graham

reply via email to

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