On Mon, Oct 14, 2024 at 3:35 AM Kieren MacMillan <
[email protected]> wrote:

> Hi Knute,
>
> > Any ideas on how to suppress these error messages without suppressing
> all messages?
>
> Function: ly:expect-warning str rest
> A Scheme callable function to register a warning to be expected and
> subsequently suppressed. If the warning is not encountered, a warning about
> the missing warning is shown. The message should be translated with (_ ...)
> and changing parameters given after the format string.
>

I've tried using that function, but I get a warning that the warning wasn't
found.  I put this in my input file:

#(ly:expect-warning "calculation-in-progress")

And this is part of the output I get:

Parsing...

Interpreting music...

MIDI output to `polonaise-op40-no1.midi'...

Interpreting music...[8][16][24][32][40]

Preprocessing graphical objects...

programming error: cyclic dependency: calculation-in-progress encountered
for VerticalAxisGroup.adjacent-pure-heights

continuing, cross fingers

[..]

Finding the ideal number of pages...

Fitting music on 3 or 4 pages...

Drawing systems...

Converting to `polonaise-op40-no1-individual.pdf'...

warning: 1 expected warning(s) not encountered:

calculation-in-progress

Success: compilation successfully complete


--
Knute Snortum

Reply via email to