GNU bug report logs - #73685
[patch] to silence diagnostic compile messages and welcome message (was GUILE_QUIET)

Previous Next

Package: guile;

Reported by: Matt Wette <matt.wette <at> gmail.com>

Date: Tue, 8 Oct 2024 00:58:02 UTC

Severity: normal

Tags: patch

Done: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73685 in the body.
You can then email your comments to 73685 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#73685; Package guile. (Tue, 08 Oct 2024 00:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matt Wette <matt.wette <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Tue, 08 Oct 2024 00:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Matt Wette <matt.wette <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: [patch] to silence diagnostic compile messages and welcome message
 (was GUILE_QUIET)
Date: Mon, 7 Oct 2024 17:56:44 -0700
[Message part 1 (text/plain, inline)]
The attached three patches provide modifications to Guile to provide 
users the ability
to silence compile and loading messages that occur when using Guile 
interactively. In
addition, there is a separate capability added to allow users to silence 
the welcome
message.     The first is performed by using the `-I' command line 
argument, or setting
the (new)  current-info-port to a void-port:
    > (current-info-port (%make-void-port "w"))
The second is performed by, for example, adding the following code to 
the ~/.guile file:
    ((@ (system repl repl) %inhibit-welcome-message) #t)

The three patches are
0001) fix a minor typo in load.c, associated with the procedure 
set-current-output-port
0002) make changes to add and use current-info-port, and the associated 
`-I' command arg
0003) make changes to add and implement the %inhibit-welcome-message 
parameter.

Please consider for merge into the main branch.

Many thanks to Arne Babenhauserhiede for engaging discussions on this 
subject.

Thanks,
Matt
[0003-Create-procedure-to-enable-silencing-the-Guile-welco.patch (text/x-patch, attachment)]
[0002-Redirect-diagnostice-output-messages-e.g.-auto-compi.patch (text/x-patch, attachment)]
[0001-Fix-typo-in-naming-function-set-current-output-port.patch (text/x-patch, attachment)]

Information forwarded to bug-guile <at> gnu.org:
bug#73685; Package guile. (Sat, 12 Oct 2024 12:11:01 GMT) Full text and rfc822 format available.

Message #8 received at 73685 <at> debbugs.gnu.org (full text, mbox):

From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: Matt Wette <matt.wette <at> gmail.com>
Cc: 73685 <at> debbugs.gnu.org
Subject: Re: bug#73685: [patch] to silence diagnostic compile messages and
 welcome message (was GUILE_QUIET)
Date: Sat, 12 Oct 2024 14:10:00 +0200
[Message part 1 (text/plain, inline)]
Matt Wette <matt.wette <at> gmail.com> writes:

> The attached three patches provide modifications to Guile to provide
> users the ability to silence compile and loading messages that occur
> when using Guile interactively. In addition, there is a separate
> capability added to allow users to silence the welcome message.    

Since I did not get any veto after asking and this fixes a long-standing
annoyance, I now pushed the patches.

Thank you very much!

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 73685 <at> debbugs.gnu.org and Matt Wette <matt.wette <at> gmail.com> Request was from "Dr. Arne Babenhauserheide" <arne_bab <at> web.de> to control <at> debbugs.gnu.org. (Sat, 12 Oct 2024 12:26:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 10 Nov 2024 12:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 278 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.