David Nalesnik-2 wrote > Hi, > > > On Tue, Feb 11, 2014 at 3:35 PM, Phil Holmes <
> mail@ > > wrote: > >> OK - so this "tiny" example is 107 lines of code. >> >> >> >> ----- Original Message ----- >> *From:* MING TSANG < > tsang94@ > > >> *To:* -Eluze < > eluzew@ > > ; lilypond-user mailinglist< > lilypond-user@ > > >> *Sent:* Tuesday, February 11, 2014 9:07 PM >> *Subject:* Re: consolidate code >> >> *From*: Eluze *Subject*: Re: consolidate code *Date*: Tue, 11 Feb 2014 >> 11:57:54 -0800 (PST) >> ------------------------------ >> >> MING TSANG wrote >> >* I hope the attached .ly file qualifies as tiny snippet.* >> >> >>certainly not - please reduce it to one or two notes to show the >> >>unexpected >> >>behavior, and define clearly what you'd expect! >> >> In this case, I think that there might be a misunderstanding. Cutting >> the > example down further wouldn't convey one of the problems the OP is having, > I think. Namely, that the .ly file contains a function which he has had > to > repeat several times for the sake of tiny modifications. He's wondering > if > it can be expressed more simply as a function that takes arguments to cut > down on the repetition. > > Unfortunately, I'm not at a machine where I can help at the moment. > > Best, > David > > P.S. @Ming: I found the source of your code very rapidly with a simple > search: http://www.mail-archive.com/ > lilypond-user@ > /msg73062.html I think that's not an answer to what I asked for, namely /please reduce it to one or two notes to show the problem.../ nothing against functions in the background - but it doesn't make sense to include functions which are not used in the incriminated code - otherwise you could include the whole LilyPond code for each report... Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/consolidate-code-tp159125p159132.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user