From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59153 Path: main.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: Asynchronous hashcash.el Date: Sun, 14 Nov 2004 22:26:01 -0500 Message-ID: <874qjr94ja.fsf@uwo.ca> References: <871xexqkno.fsf@uwo.ca> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100489369 31299 80.91.229.6 (15 Nov 2004 03:29:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Nov 2004 03:29:29 +0000 (UTC) Original-X-From: ding-owner+M7693@lists.math.uh.edu Mon Nov 15 04:29:14 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CTXYI-0005xT-00 for ; Mon, 15 Nov 2004 04:29:14 +0100 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 1CTXVW-0004m2-00; Sun, 14 Nov 2004 21:26:22 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CTXVO-0004lu-00 for ding@lists.math.uh.edu; Sun, 14 Nov 2004 21:26:14 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CTXVL-0001D0-Ts for ding@lists.math.uh.edu; Sun, 14 Nov 2004 21:26:11 -0600 Original-Received: from pony.its.uwo.ca (pony.its.uwo.ca [129.100.2.63]) by justine.libertine.org (Postfix) with ESMTP id 422FB3A00B1 for ; Sun, 14 Nov 2004 21:26:10 -0600 (CST) Original-Received: from spork.its.uwo.ca (ride.its.uwo.ca [10.10.10.10]) by pony.its.uwo.ca (8.12.10/8.12.10) with ESMTP id iAF3Q8eL021721 for ; Sun, 14 Nov 2004 22:26:08 -0500 (EST) Original-Received: from localhost (jdc.math.uwo.ca [129.100.75.77]) by spork.its.uwo.ca (8.12.10/8.12.10) with ESMTP id iAF3Q1mA012802 for ; Sun, 14 Nov 2004 22:26:01 -0500 Original-Received: from jdc by localhost with local (Exim 3.36 #1 (Debian)) id 1CTXVB-0004Nn-00; Sun, 14 Nov 2004 22:26:01 -0500 Original-To: ding@gnus.org In-Reply-To: (Magnus Henoch's message of "Sun, 14 Nov 2004 14:59:58 +0100") Mail-Copies-To: nobody X-Hashcash: 1:22:041115:mange@freemail.hu::63418e09a0e47fa7:4ccc2 X-Hashcash: 1:22:041115:ding@gnus.org::0538ea768e0c97b8:12e1c3 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) X-Scanned-By: MIMEDefang 2.39 Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59153 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59153 Thanks a lot for implementing this. It makes hashcash much more usable. I have a few comments/questions: 1) If I call mail-add-payment-async while a previous async payment is being calculated, I end up with redundant hashcash headers and wasted cpu time. Could this function keep a list of calculations in progress, and not start redundant calculations (same # of bits and same key)? 2) Could a key binding ("C-c C-h"?) and menu item be created for mail-add-payment-async? 3) I'd like async payments to be calculated even for recipients I add to the To/Cc lists, without manually having to call mail-add-payment-async. Any suggestions on how best to do this? 4) I think the documentation could say a bit more about how this works. E.g. the section: If you wish to generate hashcash for each message you send, you can customize `message-generate-hashcash' (*note Mail Headers: (message)Mail Headers.), as in: (setq message-generate-hashcash t) You will need to set up some additional variables as well: could instead read: If you wish to generate hashcash ..., as in: [no change here] (setq message-generate-hashcash t) This will cause Gnus to start asynchronously calculating hashcash payments for addresses that it put in the To and Cc lines while you compose your message. If you add other addresses manually, a payment will be generated for them when you send the message. If you wish to have payments generated asynchronously for these messages, you can manually invoke mail-add-payment-async (keystroke/menu...) [New paragraph.] You may wish to set up some additional variables as well: [Note change to this phrasing.] Thanks again! Dan