[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with constants in scheme-text-spanner.ly
From: |
David Kastrup |
Subject: |
Re: problem with constants in scheme-text-spanner.ly |
Date: |
Mon, 22 Jul 2013 21:02:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
David Nalesnik <address@hidden> writes:
> On Mon, Jul 22, 2013 at 12:06 PM, David Kastrup <address@hidden> 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