unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: 74630@debbugs.gnu.org
Subject: bug#74630: 31.0.50; emacs-mail-verify
Date: Fri, 20 Dec 2024 09:45:03 +0200	[thread overview]
Message-ID: <86frmikdc0.fsf@gnu.org> (raw)
In-Reply-To: <E1tOVTY-0001KC-95@fencepost.gnu.org> (message from Richard Stallman on Fri, 20 Dec 2024 00:23:00 -0500)

> From: Richard Stallman <rms@gnu.org>
> 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.





      reply	other threads:[~2024-12-20  7:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-01  5:39 bug#74630: 31.0.50; emacs-mail-verify Richard Stallman
2024-12-01 12:53 ` Eli Zaretskii
2024-12-04  6:09   ` Richard Stallman
2024-12-04 13:26     ` Eli Zaretskii
2024-12-20  5:23       ` Richard Stallman
2024-12-20  7:45         ` Eli Zaretskii [this message]

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/emacs/

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

  git send-email \
    --in-reply-to=86frmikdc0.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=74630@debbugs.gnu.org \
    --cc=rms@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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