On Fri, Dec 16, 2011 at 3:46 PM, Ian Hulin <i...@hulin.org.uk> 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 - han...@xs4all.nl - http://www.xs4all.nl/~hanwen

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to