David Nalesnik <[email protected]> writes:

> On Mon, Jul 22, 2013 at 12:06 PM, David Kastrup <[email protected]> wrote:
>
>> So with (cons '() '()) you should be fine.
>>
>> IIRC, completize-grob-entry running on all-grob-descriptions also
>> commits this kind of sacrilege.
>
>
> Eek.  So that means that the variable all-grob-descriptions should be
> modified to some monstrosity using list and cons, or else the actions
> of completize-grob-entry and lines like
>
>  (set! all-grob-descriptions (sort all-grob-descriptions alist<?))
>
> at the bottom of define-grobs.scm
>
> ought to be done manually or else there could be problems in guilev2?

(set! all-grob-descriptions (sort all-grob-descriptions alist<?))

is perfectly fine since it does not touch the original list.  sort!
however would be a problem.

In a similar vein, completize-grob-entry would need to be rewritten to
work non-destructively, and then things would be fine.

-- 
David Kastrup

_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to