lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make Grid take an edit id


From: Dan Eble
Subject: Re: Make Grid take an edit id
Date: Sun, 2 Jan 2022 18:37:35 -0500

On Jan 2, 2022, at 17:59, Valentin Petzel <valentin@petzel.at> wrote:
> 
> Is there a good reason why we limit the scheme handles for find_context to 
> finding above and only by context name (and not id)? If not I’d revise this, 
> as 
> the context id based approach would require such functionality.

The answer is usually (and I believe in this case) that nobody wanted to use in 
in Scheme badly enough to expose it.  See context-scheme.cc:

> /* FIXME: todo: should support translator IDs, and creation? */
> LY_DEFINE (ly_context_find, "ly:context-find",
> ...

If you are seeking encouragement to expose IDs, find_context_below() or 
find_context_near() to Scheme, be encouraged.
— 
Dan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]