lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] music-functions-init.ly: Alphabetize music-function list.


From: Graham Percival
Subject: Re: [PATCH] music-functions-init.ly: Alphabetize music-function list.
Date: Sat, 22 Aug 2009 04:15:51 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, Aug 19, 2009 at 11:07:53PM -0700, Patrick McCarty wrote:
> On 2009-08-19, Mark Polesky wrote:
> > 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*.
> 
> 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 (music-functions-init.ly being
> one).

Yes -- indent the scheme parts of .ly files like scheme.

> 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.

Sounds good, although I'd still like an editor-independent python
script that would do that indentation.  Somebody added a link to
such a script in the tracker issue about this, but I still haven't
had a chance to look at it.

Cheers,
- Graham




reply via email to

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