From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58632 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: hashcash Date: Tue, 28 Sep 2004 16:49:04 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87d609jbd9.fsf@koldfront.dk> <87mzzcu4pk.fsf@koldfront.dk> <87oejrn52o.fsf@koldfront.dk> <4nmzza32rd.fsf@lifelogs.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096383031 11127 80.91.229.6 (28 Sep 2004 14:50:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Sep 2004 14:50:31 +0000 (UTC) Original-X-From: ding-owner+M7170@lists.math.uh.edu Tue Sep 28 16:50:15 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 1CCJJ1-00036V-00 for ; Tue, 28 Sep 2004 16:50:15 +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 1CCJIZ-0004De-00; Tue, 28 Sep 2004 09:49:47 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CCJIV-0004DZ-00 for ding@lists.math.uh.edu; Tue, 28 Sep 2004 09:49:43 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CCJIS-00037s-Gv for ding@lists.math.uh.edu; Tue, 28 Sep 2004 09:49:40 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by justine.libertine.org (Postfix) with ESMTP id 0877B3A0026 for ; Tue, 28 Sep 2004 09:49:37 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CCJIM-0001PR-00 for ; Tue, 28 Sep 2004 16:49:34 +0200 Original-Received: from c494102a.s-bi.bostream.se ([217.215.27.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Sep 2004 16:49:34 +0200 Original-Received: from jas by c494102a.s-bi.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Sep 2004 16:49:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 19 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c494102a.s-bi.bostream.se User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:PjeygV9RtxkU1gABo3zAsmEhiZM= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58632 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58632 "Ted Zlatanov" writes: > I modified hashcash.el to fail gracefully (with a message) if the > hashcash-path is nil. I didn't use gnus-error because I got the > impression no one wants to make hashcash.el dependent on Gnus, so > instead it's a (message) and then (sleep-for 1). I changed it to use `error' instead. The code isn't used unless the user specifically asked for it, and it that case it might as well stop if the user made an error. Feel free to revert or change again. Oh. But maybe that's bad for verification? Yes. I reverted it partially, so now hashcash-generate-payment will throw an error if the binary doesn't exist, while hashcash-check-payment will display a message and sleep. Feel free to revert or change again.