unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "\"Juhani Viheräkoski\"" <moonshine@kapsi.fi>
To: guile-user@gnu.org
Subject: How can I tell guile to shut up? ;)
Date: Wed, 2 Mar 2011 10:22:16 +0200	[thread overview]
Message-ID: <99db88be1896528082d33a77ec4cadbe.squirrel@webmail.kapsi.fi> (raw)

It seems there is no option to disable these annoying messages in guile
2.0. I do scripts using guile and I would appreciate not getting these
messages that interfere with other output. It is possible to use
2>/dev/null but what would I do if my script would output error messages
(as it will probably do at some point)? I don't want to do precompilation
when scripting.

My suggestion is to add option --quiet to guile.

$ ./test-script
;;; note: source file /home/misty/moonshine/yarg/scripts/./race
;;;       newer than compiled
/home/misty/.cache/guile/ccache/2.0-LE-4-2.0/home/misty/moonshine/yarg/scripts/test-script.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/misty/moonshine/yarg/scripts/./test-script
;;; compiled
/home/misty/.cache/guile/ccache/2.0-LE-4-2.0/home/misty/moonshine/yarg/scripts/test-script.go


Best Regards,
-- 
Juhani Viheräkoski





             reply	other threads:[~2011-03-02  8:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-02  8:22 "Juhani Viheräkoski" [this message]
2011-03-31 11:11 ` How can I tell guile to shut up? ;) Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=99db88be1896528082d33a77ec4cadbe.squirrel@webmail.kapsi.fi \
    --to=moonshine@kapsi.fi \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).