Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: hashcash: duplicate payments
Date: Wed, 29 Mar 2006 09:49:03 +0200	[thread overview]
Message-ID: <87ek0lu1w0.fsf@latte.josefsson.org> (raw)
In-Reply-To: <87odzp997q.fsf@gate450.dyndns.org> (Andreas Seltenreich's message of "Wed, 29 Mar 2006 06:16:25 +0200")

Andreas Seltenreich <andreas+ding@gate450.dyndns.org> writes:

> Simon Josefsson schrob:
>
>> Andreas Seltenreich <andreas+ding@gate450.dyndns.org> writes:
>>
>>> Apparently, the hashcash code is also run on temporary buffers during
>>> resending. Is binding message-generate-hashcash at those places an
>>> acceptable solution?
>>
>> It seems slightly out of place, but I can't think of a better
>> solution, so I installed it.
>
> Yeah, I had an uneasy feeling when I first saw that the hashcash stuff
> was hardcoded into message.el, too.  And it went even uneasier now
> that I realised that the draft code also uses scratch message buffers.
>
> It does bind the message hooks to nil when it does this, as does the
> resend code.  So I'm wondering if it wouldn't be more appropriate to
> resort to using hooks for hashcash.el, which would IMHO result in a
> more deterministic behaviour.

That seems better, yes.  Would you like to work on it?



  reply	other threads:[~2006-03-29  7:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-26 17:53 Andreas Seltenreich
2006-03-26 20:01 ` Andreas Seltenreich
2006-03-27  9:43   ` Simon Josefsson
2006-03-29  4:16     ` Andreas Seltenreich
2006-03-29  7:49       ` Simon Josefsson [this message]
2006-03-27  9:40 ` Simon Josefsson

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

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

  git send-email \
    --in-reply-to=87ek0lu1w0.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    --cc=ding@gnus.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.
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 NNTP newsgroup(s).