[Top][All Lists]

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

Directs to stderr (issue 5905052)

From: PhilEHolmes
Subject: Directs to stderr (issue 5905052)
Date: Sun, 25 Mar 2012 13:59:32 +0000

Reviewers: dak, Graham Percival, Julien Rioux,

Please review

This is effectively a proof-of-concept patch to send the output from the
above snippet to stderr rather than stdout as at present.  As ever, it's
to reduce make doc clutter.  This patch should apply and work.  A real
patch will involve editing snippets/new and running makelsr.  I know
very little about Guile/scheme, so if there is a better way of doing
this I'd be happy to be told.

Please review this at

Affected files:
  M Documentation/snippets/

Index: Documentation/snippets/
diff --git a/Documentation/snippets/ b/Documentation/snippets/ index 3a20732484400e6096b21c79fcf5bc399a3c15c6..7523a965bb2a3c4b610a2843858a8b2cf28facea 100644
--- a/Documentation/snippets/
+++ b/Documentation/snippets/
@@ -195,7 +195,7 @@ NoteHead X,Y: NoteColumn
     (format #f "~&")))

 #(define (display-ancestry grob)
-   (display
+   (format (current-error-port) "~a"
      (format #f "~3&~a~2%" (make-string 36 #\-))
      (format-ancestry (get-ancestry grob) 0)

reply via email to

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