Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id E8156429E26 for ; Thu, 21 Jul 2011 17:00:47 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2H+ZeNIjeOzT for ; Thu, 21 Jul 2011 17:00:47 -0700 (PDT) Received: from marcos.anarcat.ath.cx (H144.C72.B0.tor.eicat.ca [72.0.72.144]) by olra.theworths.org (Postfix) with ESMTP id 0DE3F431FD0 for ; Thu, 21 Jul 2011 17:00:47 -0700 (PDT) Received: by marcos.anarcat.ath.cx (Postfix, from userid 1000) id 5C641761D1; Thu, 21 Jul 2011 20:00:46 -0400 (EDT) From: Antoine =?utf-8?Q?Beaupr=C3=A9?= To: Jameson Graef Rollins , Xavier Maillard , Austin Clements Subject: Re: [PATCH 2/2] add edit function to resume postponed emails In-Reply-To: <87y5zrwb29.fsf@servo.factory.finestructure.net> References: <1310807540-29960-1-git-send-email-anarcat@koumbit.org> <1310841685-29167-1-git-send-email-anarcat@koumbit.org> <874o2gskgk.fsf@marcos.anarcat.ath.cx> <871uxk1vhf.fsf@servo.factory.finestructure.net> <87y5zrwb29.fsf@servo.factory.finestructure.net> User-Agent: Notmuch/0.6+nmu1 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Thu, 21 Jul 2011 20:00:45 -0400 Message-ID: <87k4bbjiaa.fsf@marcos.anarcat.ath.cx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2011 00:00:48 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, 21 Jul 2011 14:58:22 -0700, Jameson Graef Rollins wrote: > On Thu, 21 Jul 2011 23:32:58 +0200, Xavier Maillard = 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). >=20 > Hey, Xavier. I was just responding to Antoine's comment that he had > "trouble making message-mode digest an existing buffer". >=20 > As for resuming postponed messages, I have defined the following key > binding, which I use on draft messages that have been indexed by > notmuch: >=20 > (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. =2D-=20 L'art n'est pas un bureau d'anthropom=C3=A9trie. - L=C3=A9o Ferr=C3=A9, "Pr=C3=A9face" --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJOKL2uAAoJEHkhUlJ7dZIeC6QP/3VB24ZA0Oz85EUtxEQQg102 7kDJespoz+kAVT3A3krK2ip5xlBR4+9+Sk0+yLzBy2QgVsfhzsc1fX7t0hUgz0Z2 kZgEYDwYDJUWf7ZF6/B6A1Ygq8fy2ie1hppy5MaRSrD85nwutqcwK76DYvqGfzuk jr4F3VOxGqvmyyQTi1XKTO83bkBIJTAu+W8fxe1/vRX4WTU8QziFCyRBwlcRMa6y 8GybIMhmkdQV2BUR2j5uhzMRDQaaPwTALIxyolgj1NtEZEaQv1+VoYuPHfnnHhR4 wfaLohWBg4ZTRbrJsFYXf/kPdMoVdQdM8fLwLRs/gY8487DpFfWHT+5nLHXbrkTM AMO4jwELqgTccIzn5bH+PNSXKEs7amba1fKso98nsKdHPL9vcIGk2NtH0qZAEOzV LXAAOJj5Ek+vzq9tafJqKdZciz8Wep4xNCyHA1DI/J4YwF8yC5Yg3sp5X6PuB2n7 EC0Qlwu6Hf1Hmbtrye9026WzeCCbwdi+/lFEoEsIy2R5KprEvDiVRpysLP559NCE bRN//Sw7nrbkMw+kTJtNE3pCQ/im4zyn7H3o6hyMP3QY3YrPm9O6/o9q2Ruq2iBI fzlPOoPSsTJcRp3evg9vOyRn6PjwSSLdJlA2pFLirlPt+aATsgdWhQKFXxGQsdMT IdhE63tdc5JGSHPLmVtA =UFcr -----END PGP SIGNATURE----- --=-=-=--