unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master f43914b4d0 2/3: Add X-Hashcash to the end of mail headers
       [not found] ` <20220922122134.79E0FC19855@vcs2.savannah.gnu.org>
@ 2022-09-22 17:21   ` Philip Kaludercic
  2022-09-22 19:37     ` Stefan Kangas
  0 siblings, 1 reply; 2+ messages in thread
From: Philip Kaludercic @ 2022-09-22 17:21 UTC (permalink / raw)
  To: emacs-devel; +Cc: Stefan Kangas

Stefan Kangas <stefankangas@gmail.com> writes:

> branch: master
> commit f43914b4d036ada1842e533cda34bc4379f47a26
> Author: Stefan Kangas <stefankangas@gmail.com>
> Commit: Stefan Kangas <stefankangas@gmail.com>
>
>     Add X-Hashcash to the end of mail headers

Is there a rationale for this change?  Anything that ought to be documented?

>     * lisp/mail/hashcash.el (mail-add-payment): Move headers to the end of
>     the headers.
> ---
>  lisp/mail/hashcash.el | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/lisp/mail/hashcash.el b/lisp/mail/hashcash.el
> index 626949b663..5136e11c89 100644
> --- a/lisp/mail/hashcash.el
> +++ b/lisp/mail/hashcash.el
> @@ -308,6 +308,7 @@ Set ASYNC to t to start asynchronous calculation.  (See
>      (save-excursion
>        (save-restriction
>  	(message-narrow-to-headers)
> +        (goto-char (point-max))
>  	(let ((to (hashcash-strip-quoted-names (mail-fetch-field "To" nil t)))
>  	      (cc (hashcash-strip-quoted-names (mail-fetch-field "Cc" nil t)))
>  	      (ng (hashcash-strip-quoted-names (mail-fetch-field "Newsgroups"



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

* Re: master f43914b4d0 2/3: Add X-Hashcash to the end of mail headers
  2022-09-22 17:21   ` master f43914b4d0 2/3: Add X-Hashcash to the end of mail headers Philip Kaludercic
@ 2022-09-22 19:37     ` Stefan Kangas
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Kangas @ 2022-09-22 19:37 UTC (permalink / raw)
  To: Philip Kaludercic, emacs-devel

Philip Kaludercic <philipk@posteo.net> writes:

>> branch: master
>> commit f43914b4d036ada1842e533cda34bc4379f47a26
>> Author: Stefan Kangas <stefankangas@gmail.com>
>> Commit: Stefan Kangas <stefankangas@gmail.com>
>>
>>     Add X-Hashcash to the end of mail headers
>
> Is there a rationale for this change?  Anything that ought to be documented?

It is purely cosmetic, as email headers can come in any order.  I just
didn't like seeing these "X-Hashcash" headers coming before "To:" and
"From:" in my outgoing email queue, as it made it harder for me to
review it at a glance.

(I'm honestly not sure how relevant hashcash is for fighting spam these
days.  The answer to that is probably: highly irrelevant.  Yet Emacs
seem to use it by default if the "hashcash" binary is available...)



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

end of thread, other threads:[~2022-09-22 19:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <166384929290.20279.18324703049178530382@vcs2.savannah.gnu.org>
     [not found] ` <20220922122134.79E0FC19855@vcs2.savannah.gnu.org>
2022-09-22 17:21   ` master f43914b4d0 2/3: Add X-Hashcash to the end of mail headers Philip Kaludercic
2022-09-22 19:37     ` Stefan Kangas

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