On Sun, Jan 18, 2026, 1:36 PM Yoshiaki Onishi <[email protected]> wrote:
> Dear LilyPonders, > > A while ago I stumbled upon a question of displaying LilyPond code in the > LilyPond Log for certain commands. > <Snip> > > The question is if there is a way to show the “corrected” LilyPond code as > processed by Completion_heads_engraver and Completion_rest_engraver, just > like in the first example where LilyPond Log can display a retrograded > passage. The answer, unfortunately, is not at this time. LilyPond processes input in a two step pattern. In the first step, it converts LilyPond input into Scheme music expressions. In the second step, the appropriate engravers process the Scheme music expressions into grobs on the page. Music functions (like \retrograde) return music. And \displayLilyMusic creates a LilyPond input expression that matches a piece of Scheme music (which is input to the engravers). I don't believe there is any way to turn the output of the engracera back into Scheme music, which would be the appropriate input for \displayLilyMusic. Sorry for the bad news. Carl > > >
