On 31/01/2023 22:33, Jean Abou Samra wrote: > Uh, why did I just write this already? The latter wouldn't > be a problem. assign_event_once uses "equal?" The former, > with procedures, is indeed a problem. > > Sorry for the noise.
Looking a bit more into define-markup-commands.scm, this will occur at least with \markup \score \markup \score-lines \markup \stencil \markup \on-the-fly \markup \with-string-transformer \markup \if \markup \unless e.g. << \new Staff { \mark \markup A c' } \new Staff { \mark \markup A c' } >> vs. << \new Staff { \mark \markup \score { c' } c' } \new Staff { \mark \markup \score { c' } c' } >> Also, allowing several text marks at the same moment is one of the root motivations for \textMark, so deduplicating based on markup equality would feel (IMHO) surprising.
OpenPGP_signature
Description: OpenPGP digital signature