https://codereview.appspot.com/118950043/diff/100001/lily/self-alignment-interface.cc File lily/self-alignment-interface.cc (right):
https://codereview.appspot.com/118950043/diff/100001/lily/self-alignment-interface.cc#newcode139 lily/self-alignment-interface.cc:139: if (robust_scm2string(par_align, "") == "same-as-self-alignment") That's too ugly to live. Shouldn't you be able to use a callback here? Look at grob::inherit-parent-property for inspiration, that's basically what you need here apart from looking up the parent. https://codereview.appspot.com/118950043/ _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel