Le jeudi 16 février 2023 à 06:30 +0000, Werner LEMBERG a écrit :
> ```
> 
> >> As can be seen, the acciaccatura neither has a slash nor a slur if
> >> quoted.  [...]
> > 
> > This looks like a real bug, please file an issue.
> 
> [https://gitlab.com/lilypond/lilypond/-/issues/6531](https://gitlab.com/lilypond/lilypond/-/issues/6531)
> 
> > AFAICS, this works:
> > 
> > ```
> > \version "2.25.2"
> > 
> > \layout {
> >   \context {
> >     \Score
> >     quotedCueEventTypes = #'(
> >       note-event
> >       rest-event
> >       tie-event
> >       beam-event
> >       tuplet-span-event
> >       tremolo-event
> >       Override)
> >   }
> > }
> 
> Thanks.  You are a magician!  'Override' is of course undocumented,
> and even after doing a grep over the git repository, which leads me to
> `property-iterator.cc`, it's not really clear to me what's going on...


Well, you can find it in `define-event-classes.scm`. It's the event class for 
events created by `\override`s.

```
\version "2.25.2"

\new Voice \with {
  \consists
    #(lambda (context)
       (make-engraver
        (listeners
         ((StreamEvent engraver event)
          (ly:message "~s" (ly:event-property event 'class))))))
}
{
  \override Flag.stroke-style = "grace"
  c'
}
```

⇒

```
(Revert StreamEvent)
(Override StreamEvent)
(note-event melodic-event rhythmic-event music-event StreamEvent)
```

> BTW, this source code file also mentions a 'Revert' event type –
> shouldn't this be added, too (in general, I mean, not for this
> specific situation)?

Probably. There are also `SetProperty` and `UnsetProperty`.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to