On 09/16/2016 09:43 AM, Paul wrote:

  % is \procE a string or a procedure?  No way to tell in convert-ly
  % and calling a string as if it were a procedure doesn't work
  % \override NoteHead.id = #(lambda (grob `((id . ,(procE grob)))))


On second thought, I guess the following rewrite would work for this issue, but I'm not sure it's doing users much of a favor...

  \override NoteHead.id =
  #(lambda (grob)
     `((id . ,(if (procedure? procE)
                              (procE grob)
                              procE))))

and there's still the issue of how to regex a lambda expression...

Carl's plan makes sense to me, so I'll go with that.

-Paul

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

Reply via email to