[Top][All Lists]

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

Re: [PATCH] Alphabetize music-function list.

From: Patrick McCarty
Subject: Re: [PATCH] Alphabetize music-function list.
Date: Wed, 19 Aug 2009 23:07:53 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

On 2009-08-19, Mark Polesky wrote:
> Graham Percival wrote:
> > Neil Puttock wrote:
> > > Since it's a .ly file it shouldn't have hard tabs.
> > 
> > Silly Mark, try to keep up here.  :P   .cc and .scm files should
> > have "whatever emacs does", for a certain version number of emacs,
> > unless there's any special exemptions that might be known to a few
> > people.  .ly files should use two-space indents, with no
> > particular specification as to when to indent (other than
> > "generally when you have a {").  All this information is clearly
> > not really specified in the 63-page Contributor Guide, so it
> > should be simple to realize what to do!
> Well, the music-functions pose an interesting dilemma. They're
> in an .ly file but are mostly written in scheme. To me, it makes
> more sense to specify indentation-style based on the programming
> language being used at any moment, not based on the *file-type*.
> What do you think?

IMO, indenting in the Scheme style for LY files that are mostly
written in Scheme is okay.  But there are relatively few LY files in
the source code that are like this ( being

This would also mesh well with my (unannounced) plans to merge
LilyPond's syntax highlighting and indent files for Vim with the
default Scheme highlighting/indent files; this way, the Scheme
sections of an LY file will always be indented in the "Scheme" style.


reply via email to

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