unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Suppressing auto-compilation comments
@ 2013-04-08  1:21 Reuben Thomas
  2013-04-08 18:34 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Reuben Thomas @ 2013-04-08  1:21 UTC (permalink / raw)
  To: Guile User

[-- Attachment #1: Type: text/plain, Size: 736 bytes --]

How can I retain auto-compile, but stop guile outputting messages like:

$ guile ./syms.scm
;;; note: source file /home/rrt/Software/syms/./syms.scm
;;;       newer than compiled
/home/rrt/.cache/guile/ccache/2.0-LE-8-2.0/home/rrt/Software/syms/syms.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/rrt/Software/syms/./syms.scm
;;; compiled
/home/rrt/.cache/guile/ccache/2.0-LE-8-2.0/home/rrt/Software/syms/syms.scm.go

so that when I run a script that hasn't been installed with pre-compilation
I'm not bothered by compilation messages? I suppose I do want to see the
messages if there's a problem, though.

-- 
http://rrt.sc3d.org

[-- Attachment #2: Type: text/html, Size: 897 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Suppressing auto-compilation comments
  2013-04-08  1:21 Suppressing auto-compilation comments Reuben Thomas
@ 2013-04-08 18:34 ` Andy Wingo
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2013-04-08 18:34 UTC (permalink / raw)
  To: Reuben Thomas; +Cc: Guile User

On Mon 08 Apr 2013 03:21, Reuben Thomas <rrt@sc3d.org> writes:

> How can I retain auto-compile, but stop guile outputting messages like:
>
> $ guile ./syms.scm 
> ;;; note: source file /home/rrt/Software/syms/./syms.scm
> ;;;       newer than compiled
> /home/rrt/.cache/guile/ccache/2.0-LE-8-2.0/home/rrt/Software/syms/syms.scm.
> go
> ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
> ;;;       or pass the --no-auto-compile argument to disable.
> ;;; compiling /home/rrt/Software/syms/./syms.scm
> ;;; compiled
> /home/rrt/.cache/guile/ccache/2.0-LE-8-2.0/home/rrt/Software/syms/syms.scm.
> go
>
> so that when I run a script that hasn't been installed with
> pre-compilation I'm not bothered by compilation messages? I suppose I do
> want to see the messages if there's a problem, though.

There's no command-line argument yet.  But you can:

  guile -e '(current-warning-port (%make-void-port "w"))' syms.scm

Unfortunately it's not working at the moment; some things are still
writing to current-error-port.  Hummmmm.

Andy
-- 
http://wingolog.org/



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-08 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08  1:21 Suppressing auto-compilation comments Reuben Thomas
2013-04-08 18:34 ` Andy Wingo

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).