(define (translator-property-description symbol type? description)
(if (not (equal? #f (object-property symbol 'translation-doc)))
(begin
- (ly:warn "Redefining ~S " (symbol->string symbol)))
+ (ly:warn "Redefining ~S " symbol)
(exit 2)
))
(define (define-grob-property symbol type? description)
(if (not (equal? (object-property symbol 'backend-doc) #f))
(begin
- (ly:warn-append "Redefining ~S" (symbol->string symbol))
+ (ly:warn-append "Redefining ~S" symbol)
(exit 2)
))
(define (music-property-description symbol type? description)
(if (not (equal? #f (object-property symbol 'music-doc)))
(begin
- (ly:warn "Redefining ~S" (symbol->string symbol))
+ (ly:warn "Redefining ~S" symbol)
(exit 2)
))
(set-object-property! symbol 'music-type? type?)
(music-name (if (pair? handle)
(cdr handle)
(begin
- (ly:warn (string-append "Unknown repeat type `" name
- "'\nSee music-types.scm for supported repeats"))
+ (ly:warn "Unknown repeat type `~S'\nSee music-types.scm for supported repeats" name)
'VoltaRepeatedMusic))))
(make-music music-name)))
'()
context))
(else
- (ly:warn (string-append "Unknown accidental style: " (symbol->string style)))
+ (ly:warn "Unknown accidental style: ~S" (symbol->string style))
(make-sequential-music '()))))))
)))
(if (equal? result #f)
- (ly:warn (string-append "Unknown bar glyph: `" glyph "'"))
+ (ly:warn "Unknown bar glyph: `~S'" glyph)
(index-cell (cdr result) dir))
) )
(display (object-type (car name-mag-pair)))
(display (object-type (caaar font-name-alist)))
- (ly:warn (string-append
- "Programming error: No such font known "
- (car name-mag-pair) " "
+ (ly:warn "Programming error: No such font known ~S ~S"
+ (car name-mag-pair)
(ly:number->string (cdr name-mag-pair))
- ))
+ )
"") ; issue no command
(string-append "\\" (cddr c)))
(cond
((not is-bookpaper?)
- (ly:warning "This is not a \\paper {} object:")
- (display module))
+ (ly:warning "This is not a \\paper {} object, ~S"
+ module))
((pair? entry)
(set! entry (eval (cdr entry) module))
(set-paper-dimensions module (car entry) (cdr entry))
(/ val scale))
;; spurious warnings, eg. for hsize, vsize.
-; (ly:warn (format "not a number, ~S = ~S " v val))
+; (ly:warn "not a number, ~S = ~S " v val)
))
dim-vars)