[Top][All Lists]

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

Re: string-match unbound

From: Colin Campbell
Subject: Re: string-match unbound
Date: Sat, 28 May 2011 09:34:09 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10

On 11-05-27 10:12 AM, Piers Titus wrote:
I'm not top posting.
% The function string-match is not available, while it is in GUILE.
% Lilypond gives error: Unbound variable: string-match
% This bug has been noticed before, see
% (this is just a test file, which doesn't have a meaning if there was no error,
the real problem is redefining the /clef command with code copied from
\version "2.12.3"

clef = #(define-music-function (parser location clef-name) (string?)
    (string-match "^(.*)([_^])([1-9][0-9]*)$" clef-name))
\relative c'' {
   \clef "treble_8"

bug-lilypond mailing list

Added as http://code.google.com/p/lilypond/issues/detail?id=1674

Thanks, Piers!

Colin Campbell
Bug Squad

The test of our progress is not whether we add more to the abundance
of those who have much, it is whether we provide enough for those who
have too little.
-Franklin D. Roosevelt, 32nd US President (1882-1945)

reply via email to

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