Re: [PATCH] emacs: More DWIM when editing messages
authorCarl Worth <cworth@cworth.org>
Mon, 26 Apr 2010 23:39:44 +0000 (16:39 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:57 +0000 (09:36 -0800)
4b/6a77598a84cfd3e2b8eada63e5bc0df54a2f1f [new file with mode: 0644]

diff --git a/4b/6a77598a84cfd3e2b8eada63e5bc0df54a2f1f b/4b/6a77598a84cfd3e2b8eada63e5bc0df54a2f1f
new file mode 100644 (file)
index 0000000..7df5d5c
--- /dev/null
@@ -0,0 +1,85 @@
+Return-Path: <cworth@cworth.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id D3C3F4196F0\r
+       for <notmuch@notmuchmail.org>; Mon, 26 Apr 2010 16:39:45 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.89\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
+       tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
+       autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 3cbcQ5CaHAAl; Mon, 26 Apr 2010 16:39:45 -0700 (PDT)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1F615431FC1;\r
+       Mon, 26 Apr 2010 16:39:45 -0700 (PDT)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id 9094055006B; Mon, 26 Apr 2010 16:39:44 -0700 (PDT)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Dirk Hohndel <hohndel@infradead.org>, David Edmondson <dme@dme.org>,\r
+       notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: More DWIM when editing messages\r
+In-Reply-To: <m3bpd5onm5.fsf@x200.gr8dns.org>\r
+References: <1272290485-14217-1-git-send-email-dme@dme.org>\r
+       <m3vdbejhu2.fsf@x200.gr8dns.org>\r
+       <87d3xmdsxq.fsf@yoom.home.cworth.org>\r
+       <m3bpd5onm5.fsf@x200.gr8dns.org>\r
+User-Agent: Notmuch/0.2-218-g932e1c1 (http://notmuchmail.org) Emacs/23.1.1\r
+       (i486-pc-linux-gnu)\r
+Date: Mon, 26 Apr 2010 16:39:44 -0700\r
+Message-ID: <87tyqxlr5r.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 26 Apr 2010 23:39:46 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Mon, 26 Apr 2010 15:28:02 -0700, Dirk Hohndel <hohndel@infradead.org> wr=\r
+ote:\r
+> This appears not to have gone out??? Must be that weird MUA that I'm\r
+> using...\r
+\r
+Strange. I couldn't find it earlier, and now I have both versions\r
+here. So blame me, (or the weird MUA that I'm using...).\r
+\r
+> The existing code inserts the signature before inserting the message\r
+> body (which it puts at the very end of the buffer - therefore AFTER\r
+> the signature). This little snippet makes us search backwards and\r
+> insert the message body before a signature, if it exists.\r
+\r
+Works great. This is pushed.\r
+\r
+=2DCarl\r
+\r
+=2D-=20\r
+carl.d.worth@intel.com\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFL1iRA6JDdNq8qSWgRAtdSAJ9COxYgo57Ju5bil0JhlU2kycg7GgCfYbMu\r
+SaRBlUOXp/5qRirB+Z2w5Bs=\r
+=N7mK\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r