Comment #10 on issue 2376 by d...@gnu.org: Automatic footnotes on \null markups causes unexpected results
http://code.google.com/p/lilypond/issues/detail?id=2376

To quote from stencil.hh:

    * Do not create Stencil objects on the heap. That includes passing
    around Stencil* which are produced by unsmob_stencil(). Either
    copy Stencil objects, or use SCM references.

It turns out that unsmob_stencil objects _are_ at several places in the LilyPond source (mostly in the page layout stuff) modified instead of copied. This is not intended usage. As simple smobs, they are intended to be entities like numbers: if you want to add to them, create a copy.

Your patch tries to change that design. I don't consider that the correct fix.


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

Reply via email to