lilypond-devel
[Top][All Lists]
Advanced

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

Re: Markup module patch (Issue 2026)


From: Han-Wen Nienhuys
Subject: Re: Markup module patch (Issue 2026)
Date: Mon, 19 Dec 2011 00:52:59 -0200

On Fri, Dec 16, 2011 at 3:46 PM, Ian Hulin <address@hidden> wrote:


>> Why can't the validation procedure look in multiple places?
>>
>
> Because this means serious fiddling with the maoing markup code.  I
> really hope you didn't write it because I agree with David, it's a fetid
> pile of Dingo's kidneys to maintain, and I fear it'll take me a
> lo-o-o-ong time and much cursing and swearing to change it.

While I can appreciate your sentiment, can we cut the swearing? It was
written by Nicolas Sceaux who is much more fluent at writing Scheme
code than I have ever been. Have you tried contacting him?

> You mean:
> 1. do some icky stuff in the lilypond-file procedure to create a new
> lilypond scope, then make sure it (use-modules (lily)) before letting
> ly:parse-file loose in it?

This is already done by the parser.

> 2. have compile-markup-expression do a double lookup in
> (current-module), and if needed then look in (lily)?

yep.

-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen



reply via email to

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