From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#51335: 29.0.50; Use warnings facility for reporting Gnus errors Date: Sun, 07 Nov 2021 14:40:12 +0100 Message-ID: <87k0hkjd8j.fsf@gnus.org> References: <87sfwtxa6w.fsf@ericabrahamsen.net> <87zgqh2dce.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7633"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51335@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 07 14:41:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjiQ2-0001kS-TB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 14:41:11 +0100 Original-Received: from localhost ([::1]:59670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjiQ1-00064J-Pl for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 08:41:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjiPu-00063J-8Z for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 08:41:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjiPu-0007Yx-09 for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 08:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mjiPt-0001UM-V1 for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 08:41:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Nov 2021 13:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51335 X-GNU-PR-Package: emacs Original-Received: via spool by 51335-submit@debbugs.gnu.org id=B51335.16362924255668 (code B ref 51335); Sun, 07 Nov 2021 13:41:01 +0000 Original-Received: (at 51335) by debbugs.gnu.org; 7 Nov 2021 13:40:25 +0000 Original-Received: from localhost ([127.0.0.1]:52082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjiPJ-0001TL-5I for submit@debbugs.gnu.org; Sun, 07 Nov 2021 08:40:25 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:35134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjiPG-0001T6-Oh for 51335@debbugs.gnu.org; Sun, 07 Nov 2021 08:40:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=XMmQBYJscNuwlCSm3oMpU2Tx9pbT+ZUbIgLO+3iJTcs=; b=lPh7+S2LwvPqzqOo1puuDIhsOf Cgfs+NBQFabmOtRjVtistDjdtHAI5OqJGdzT8S2MXuAQOb540gjUMi3WThVt1tW19RHZ4GdXd0Ymd smrGslVwuFsXN4dGB6KXBmyoy5Ukx5L9C11K8U/HXUd0Gd2Ty9hPQbxdxfSqghRZHk0Q=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjiP8-0000jl-DZ; Sun, 07 Nov 2021 14:40:16 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEVXTlJKO0SjoVHZ 1tSfSk8oJCj///8ZqJQYAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+ULBw0DATSo2T8AAAGxSURBVDjL ddPNcuMgDAdwcMgdteaeEvfeifcBTEa92zur93+V/sWHBzJdDrHDb4SEwMb8b/j6JPsy08DY8man eHsNyuOyruutn7BE+bnq+CXlJcPjZR1mXstgNjRKhQVA/UrT414A9VNPl68JGWpElrIL1+BPhTw8 7LmWpQbQFac+eQ+uws30gMptWWl12wCg9zz/heBtFLq3XqENaYjB/IcvwEPIYXK2DkSOvg4F3vQ4 xioU2qkP8wDbXt2wV0a9JqM3qQso4JI34fBpti+ArmvQMqe2kgNYcrzNKC0sfELeh/FbAuCuVdA2 G4LYZAEpZKjXwtCsBYcTyqVxelB4PeSEOl9O0MsJuk92XIECIBFg87WgCtdjRiLBR+LNVWRnfpal LM1bOQlvBeNfjPlU9DcFyaDzQTL4iG9Iz2nXVuv0Vd4A7qkQgoifIn8D8P43mpkzIKVC/BSha5A9 IhrwYSwO3FRAxFEB+zrQgZghBNtgAWj3AN9y2EAFOC56a72upMnPHHqxUvukw1lVBjRviqZeOxEr U4FECrfaT4w9NqA3JKYzZKqAv5f1EVOTHXX8AJ7ugDtRRlTiAAAAJXRFWHRkYXRlOmNyZWF0ZQAy MDIxLTExLTA3VDEzOjAzOjAxKzAwOjAwOU18VgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMS0w N1QxMzowMzowMSswMDowMEgQxOoAAAAASUVORK5CYII= X-Now-Playing: Moon-Drenched's _Moon-Drenched_: "Spoofing" In-Reply-To: <87zgqh2dce.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sat, 06 Nov 2021 14:17:37 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:219243 Archived-At: Eric Abrahamsen writes: > Well that's mostly because I've turned `gnus-verbose' up to 10, and also > introduced an option `gnus-log-all-messages' which doubles > `gnus-message' output to the logging buffer. That is nil by default, but > I've set it to t here, so this is absolutely as loud as the logging > could possibly be. =F0=9F=99=80 > If we adopt something like this, I think it would be worth doing a bit > of shuffling regarding which messages are sent through `gnus-error' and > which through `gnus-message'. Probably I'd introduce a `gnus-log' > function, have `gnus-error' call that, and replace some `gnus-message' > calls with `gnus-log'. > > Ideally there would be no reason to have the option > `gnus-log-all-messages' at all, and the "Sorting threads..." messages > would only ever be messages. This reminds me -- I've been wondering whether we should basically drop all of those ... very verbose messaging thingies and use `with-delayed-message' instead everywhere. That is, even with my low verbosity message, this is what I'm getting when I hit `g': Checking new news... nnimap quimby.gnus.org splitting mail...done nnimap read 0k from quimby.gnus.org Reading active file from mltest via nnml... Reading incoming mail from file... [2 times] nnml: Reading incoming mail (no new mail)...done Reading active file from mltest via nnml...done Reading active file from archive via nnfolder...done Reading active file from archive via nnfolder...done Reading active file via nndraft...done Reading active file via nnmbox...done Checking new news...done Except the nnimap one, all the rest are instantaneous and just flash past me. But we output them because we don't know whether a backend is slow or not. With `with-delayed-message' we could avoid all the "Reading active" messages altogether in a normal setup, but they would appear if the backend was slow. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no