From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62427 Path: news.gmane.org!not-for-mail From: Andreas Seltenreich Newsgroups: gmane.emacs.gnus.general Subject: Re: hashcash: duplicate payments Date: Wed, 29 Mar 2006 06:16:25 +0200 Message-ID: <87odzp997q.fsf@gate450.dyndns.org> References: <87veu1hz2u.fsf@gate450.dyndns.org> <87r74p561l.fsf@gate450.dyndns.org> <87d5g88bpk.fsf@latte.josefsson.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1143606003 11569 80.91.229.2 (29 Mar 2006 04:20:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Mar 2006 04:20:03 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m10954@lists.math.uh.edu Wed Mar 29 06:19:59 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FOS9x-00060r-OD for ding-account@gmane.org; Wed, 29 Mar 2006 06:19:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FOS9t-0005Bw-00; Tue, 28 Mar 2006 22:19:49 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FOS6k-0005Bo-00 for ding@lists.math.uh.edu; Tue, 28 Mar 2006 22:16:34 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FOS6i-0004Wk-Lq for ding@lists.math.uh.edu; Tue, 28 Mar 2006 22:16:34 -0600 Original-Received: from smtp1.rz.uni-karlsruhe.de ([129.13.185.217]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FOS6d-0004yX-00 for ; Wed, 29 Mar 2006 06:16:27 +0200 Original-Received: from rzstud1.stud.uni-karlsruhe.de (rzstud1.stud.uni-karlsruhe.de [193.196.41.33]) by smtp1.rz.uni-karlsruhe.de with esmtp (Exim 4.50 #1) id 1FOS6d-0008Kw-32; Wed, 29 Mar 2006 06:16:27 +0200 Original-Received: from uwi7 by rzstud1.stud.uni-karlsruhe.de with local (Exim 3.36 #1) id 1FOS6f-0002BM-00; Wed, 29 Mar 2006 06:16:29 +0200 Original-To: Simon Josefsson X-PGP-Key: 0x2C006B340F8C8C1B X-Now-Playing: Death / Human X-Face: $:F<87a[gD1?#R6S3j21cr1&C&7bd63GHC.tSdskUb}hhwG(ci*=D5kJ<_N+p9q(7-,PnG. Et.Yh (Simon Josefsson's message of "Mon, 27 Mar 2006 11:43:19 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62427 Archived-At: Simon Josefsson schrob: > Andreas Seltenreich 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. regards, andreas