From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74630: 31.0.50; emacs-mail-verify Date: Fri, 20 Dec 2024 09:45:03 +0200 Message-ID: <86frmikdc0.fsf@gnu.org> References: <868qsz5ztx.fsf@gnu.org> <864j3j1sw8.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2725"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74630@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 20 08:46:42 2024 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 1tOXib-0000Zk-56 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Dec 2024 08:46:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOXiS-0003wT-Oo; Fri, 20 Dec 2024 02:46:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOXi3-0003vW-E5 for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 02:46:23 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tOXhy-00062u-DY for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 02:46:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=oiW+BcaZMZFBvpfNVCvApR3rgg1dv0K2PIVFKd6J6E8=; b=l11CB3DAuX4GeVJ3VDMSnKlT/WGO0NWbGZ4nepobGl/pdn7rmwr3jXZrNquDU3s9XV0axzox4aOxsfZYUtqftvacdkuIVpXe29oPSKUcpy606EZGt0BnLr9CkGYu9pD28ZDYouPdjd65BBYXFuTJxN0EFVO2wl7IL4CM1bZh6U/6FG+yyy38Tv2caDFqhMtXNfhfRD33+hWZXy3o1GMVRCxjVj6UVbYfABzMiRlgTIjDN4kbHGU5aLTyxw1csT3COpZ4uk7n/VFgzlaP/AvSSbYe+WfD+dOqDHr/OKYkZxWKIZdQyrJvi7X0pcOjjsAt/aBF+W1Rzkd3eWy0QlQSYg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOXhy-00015E-8j for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 02:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Dec 2024 07:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74630 X-GNU-PR-Package: emacs Original-Received: via spool by 74630-submit@debbugs.gnu.org id=B74630.17346807184093 (code B ref 74630); Fri, 20 Dec 2024 07:46:02 +0000 Original-Received: (at 74630) by debbugs.gnu.org; 20 Dec 2024 07:45:18 +0000 Original-Received: from localhost ([127.0.0.1]:41495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOXhG-00013x-G9 for submit@debbugs.gnu.org; Fri, 20 Dec 2024 02:45:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOXhE-00013h-Hx for 74630@debbugs.gnu.org; Fri, 20 Dec 2024 02:45:17 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOXh8-0005yQ-Ue for 74630@debbugs.gnu.org; Fri, 20 Dec 2024 02:45:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=oiW+BcaZMZFBvpfNVCvApR3rgg1dv0K2PIVFKd6J6E8=; b=SG4sntpbEUWs JzfE6Dv9WYRsZHAUgEQFo1B3mdSSCBT5z3rIkQ39UMWVoD7nToeR1juvIOrCRFf2AY4o2WIEhOf6o 31NWd50M7AKbU3nJwhuDTzXaXPPuADJhgzK/2XYbQFc/ecXV5Y8McGllpg/wlYeFyNe0a+n0KK3d/ qdwJxJ6iT5RPgQ0orTC6bg90VB9dN8VnCtgdudbvmF9o0/UlPUbLvwT7CohL8UECREBQEbXZOo+2r oFECIQ/Xv0d4yY2SrfIpzDLdFhxGZstOir6gWNgBjCyReruCmrpkHuji2l4NIUyDSZZPpVKmTwib3 p23/bGpZqGU8pKlWUHKLGg==; In-Reply-To: (message from Richard Stallman on Fri, 20 Dec 2024 00:23:00 -0500) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297434 Archived-At: > From: Richard Stallman > Cc: 74630@debbugs.gnu.org > Date: Fri, 20 Dec 2024 00:23:00 -0500 > > > > Do some people run this function from a hook for every message and > > > want to see output only in case of failure? > > > See above: it displays a message in case of success as well. > > I agree, that should be enough. > (I didn't know it did that.) > > Perhaps document that in the doc string: > > On successful verification, displays ""Verifying...done" in echo area. That sounds redundant, as the message seems to speak for itself? > Perhaps it should return t if it succeeds in verifying, and nil otherwise. I thought about it, but the functions it calls don't have their return value documented, so doing that seems to require a serious surgery of the code with which I'm not familiar.