Gnus development mailing list
 help / color / mirror / Atom feed
From: gdt@work.lexort.com
Subject: Re: hashcash - buffer modification
Date: Wed, 15 Nov 2006 09:22:03 -0500	[thread overview]
Message-ID: <smu3b8kbxis.fsf@linuxpal.mit.edu> (raw)
In-Reply-To: <b4mbqn9uwvx.fsf@jpl.org> (Katsumi Yamaoka's message of "Wed\, 15 Nov 2006 14\:00\:50 +0900")

Katsumi Yamaoka <yamaoka@jpl.org> writes:

>>>>>> In <quack.20061114T1548.lthmz6tmvyk@roar.cs.berkeley.edu>
>>>>>>	Karl Chen wrote:
>
>> Hi, I'm glad hashcash is now integrated and on by default.
>
>> One thing that bothers me about the asynchronous payment
>> insertion, which is otherwise awesome, is that it sets the message
>> buffer modification bit.

This could result in saving a draft and then having hashcash appear,
and then the +hashcash draft will not necessarily be saved.  It's
arguable what the right behavior is.

Given timestamps in hashcash, one could argue that hashcash stamps
shouldn't necessarily be saved in draft mode, but generated fresh
nearer to sending.

> BTW, how do you add hashcash headers when you write a mail from
> scratch (i.e., the case where To and Cc have not been filled yet)?
> I use `mail-add-payment', not `mail-add-payment-async'.

I think both work, but the former makes you wait.

It would be nice to have a keybinding for mail-add-payment-async in
Message mode.  Perhaps C-c C-f C-h (for hashcash header), or just C-c
C-h.

It would also be nice to have a hook that runs when the cursor leaves
an address fields and remains outside it for 5 seconds and that
invokes mail-add-payment-async.  I don't know how to do that.

-- 
    Greg Troxel <gdt@work.lexort.com>



  parent reply	other threads:[~2006-11-15 14:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-14 23:48 Karl Chen
2006-11-15  5:00 ` Katsumi Yamaoka
2006-11-15  8:37   ` Karl Chen
2006-11-15 14:22   ` gdt [this message]
2006-11-16  2:16     ` Katsumi Yamaoka

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=smu3b8kbxis.fsf@linuxpal.mit.edu \
    --to=gdt@work.lexort.com \
    /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).