[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Frescobaldi: errors with 2.23.80
From: |
Knute Snortum |
Subject: |
Frescobaldi: errors with 2.23.80 |
Date: |
Tue, 1 Nov 2022 14:23:00 -0700 |
(I'm hoping this is the best place to post Frescobaldi issues.)
I have found that Frescobaldi emits errors when in the Layout Control
view with Display control points checked. The first error has to do
with the new way Guile 2 deals with the format function. This is my
proposed fix:
--- a/frescobaldi_app/layoutcontrol/debug-layout-options.ly
+++ b/frescobaldi_app/layoutcontrol/debug-layout-options.ly
@@ -50,8 +50,8 @@ debugLayoutOptions =
;; based on the current LilyPond version
(lambda (filename)
(if lily-version-new
- (ly:parser-include-string (format "\\include \"./~a\"" filename))
- (ly:parser-include-string parser (format "\\include
\"./~a\"" filename))))))
+ (ly:parser-include-string (format #f "\\include \"./~a\""
filename))
+ (ly:parser-include-string parser (format #f "\\include
\"./~a\"" filename))))))
;; include the optional custom file first.
;; This way it can for example define configuration variables.
(if (ly:get-option 'debug-custom-file)
The format function now has #f as the first argument. But this leads
to another error in Frescobaldi which I have attached.
Any 2.23.80 LilyPond source will cause the error in Frescobaldi, even:
\version "2.23.80"
{c' c' c' c'}
--
Knute Snortum
frescobaldi-error-in-layout-control.txt
Description: Text document
- Frescobaldi: errors with 2.23.80,
Knute Snortum <=