Re: [PATCH 2/2] add edit function to resume postponed emails

Subject: Re: [PATCH 2/2] add edit function to resume postponed emails

Date: Thu, 21 Jul 2011 20:00:45 -0400

To: Jameson Graef Rollins, Xavier Maillard, Austin Clements

Cc: notmuch@notmuchmail.org

From: Antoine Beaupré


On Thu, 21 Jul 2011 14:58:22 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
> On Thu, 21 Jul 2011 23:32:58 +0200, Xavier Maillard <xavier@maillard.im> wrote:
> > Maybe I misunderstood original goal but what I had in mind reading this
> > is certainly not editing a priviously received message in order to
> > (re)send it again but sending a postponed/draft message which, I guess,
> > means no full header(s) (no received header and such and probably
> > partially filled header, if any).
> 
> Hey, Xavier.  I was just responding to Antoine's comment that he had
> "trouble making message-mode digest an existing buffer".
> 
> As for resuming postponed messages, I have defined the following key
> binding, which I use on draft messages that have been indexed by
> notmuch:
> 
> (define-key notmuch-show-mode-map "R"
>   (lambda ()
>     "Resume a postponed message."
>     (interactive)
>     (notmuch-show-view-raw-message)
>     (message-mode)))

Now that's a pretty good start!

It will not work to edit sent mails (which are QP-encoded, for example),
but it should work for postponed messages..

How about we patch that in? Seems like a major feature missing...

A.

-- 
L'art n'est pas un bureau d'anthropométrie.
                        - Léo Ferré, "Préface"
part-000.sig (application/pgp-signature)

Thread: