|
From: | Federico Bruni |
Subject: | Re: Omitting the destination on a call to format is deprecated. Pass #f as the destination, before the format string. |
Date: | Sat, 29 Oct 2022 17:16:38 +0200 |
If we omit this destination argument format will handle it as #f but pass thiswarning. Now these messages you get should either come from A) The score itself using format B) The score using a function that uses formatI’ve grepped through the current git master sources and all occurances of format do specify a port. This means that most likely you are using some custom scheme functions or libraries that use format. To fix these warnings replace all occurrances of (format string ...) by (format #f string ...) insuch files.
Thanks for the detailed explanation! Here's the culprit: diff --git a/ly/myStyle.ly b/ly/myStyle.ly index af18062..2defb00 100644 --- a/ly/myStyle.ly +++ b/ly/myStyle.ly @@ -14,7 +14,7 @@ A=\rightHandFinger #4 tenutoFingeringMark = \markup { \text \fontsize #2 \bold "t" } t = #(define-event-function (n) (index?)- #{ \finger \markup \concat { #(format "~d" n) \tenutoFingeringMark } #}) + #{ \finger \markup \concat { #(format #f "~d" n) \tenutoFingeringMark } #})
[Prev in Thread] | Current Thread | [Next in Thread] |