[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Engraver_group with parent context type?
From: |
David Kastrup |
Subject: |
Re: Engraver_group with parent context type? |
Date: |
Mon, 01 Nov 2021 21:08:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lukas-Fabian Moser <lfm@gmx.de> writes:
> Folks,
>
> while trying to tidy up ly/engraver-init.ly a bit (which seems to have
> experienced some rank growth over the years) I stumbled upon:
>
> \context {
> \Staff
> \type "Engraver_group"
> \name "DrumStaff"
> \alias "Staff"
>
> % (etc.)
>
> }
>
> That's the only instance of a context definition that contains _both_
> a parent context type (\Staff) _and_ \type "Engraver_group".
>
> Is that correct? I don't know enough about the inner workings to judge
> reliably.
It's redundant. Not incorrect, at worst slightly inconsistent/ugly.
--
David Kastrup