lilypond-devel
[Top][All Lists]

## Re: Where to put new Scheme engravers?

 From: David Kastrup Subject: Re: Where to put new Scheme engravers? Date: Sun, 28 Sep 2014 11:57:22 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

James <address@hidden> writes:

> On 28/09/14 10:44, David Kastrup wrote:
>>
>>> Hi devs,
>>>
>>> sorry for the uninformed question, but I don't seem to be able to find
>>> an answer in the CG or in the source directory.
>>>
>>> If I have a new Scheme engraver that I'd like to suggest to be added,
>>> where would I look for a place to add it to?
>>> Is there a file (or a set of files grouped by topic) where I should
>>> insert it or can I add a dedicated file (in which folder)?
>>
>> There is no really good place and part of the reason is that Scheme
>> engravers are second class citizens not traced in the Internals Guide.
>> Scheme engravers would need to get additional information, like the
>> _name_ of the engraver and its read, written and modified properties in
>> order to have that.
>
> So what, conceptually, is the difference between a 'Scheme Engraver' and
> a 'Snippet' or perhaps a 'command' (the ones that are like \tweak or
> \partial etc.) that appear in the *.scm file and a 'Scheme Engraver'?

Well, as a second-class citizen, a Scheme Engraver' does not really
have much of a concept right now.  So the difference is that I don't
know how to answer this question with regard to a Scheme Engraver?

--
David Kastrup

`