Re: [RFC][PATCH v4] emacs: Re-implement advance/rewind functions of notmuch-show...
authorDavid Edmondson <dme@dme.org>
Wed, 28 Dec 2011 15:22:45 +0000 (15:22 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:41:22 +0000 (09:41 -0800)
75/19a31ebbb79456aeee042af03df9a7af7f3f5f [new file with mode: 0644]

diff --git a/75/19a31ebbb79456aeee042af03df9a7af7f3f5f b/75/19a31ebbb79456aeee042af03df9a7af7f3f5f
new file mode 100644 (file)
index 0000000..f70ad86
--- /dev/null
@@ -0,0 +1,104 @@
+Return-Path: <dme@dme.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 620AA431FD0\r
+       for <notmuch@notmuchmail.org>; Wed, 28 Dec 2011 07:22:54 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 CUMLpZaVOsAO for <notmuch@notmuchmail.org>;\r
+       Wed, 28 Dec 2011 07:22:54 -0800 (PST)\r
+Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
+       [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id BF7C1431FB6\r
+       for <notmuch@notmuchmail.org>; Wed, 28 Dec 2011 07:22:53 -0800 (PST)\r
+Received: by wibhq2 with SMTP id hq2so6830609wib.26\r
+       for <notmuch@notmuchmail.org>; Wed, 28 Dec 2011 07:22:52 -0800 (PST)\r
+Received: by 10.181.13.162 with SMTP id ez2mr71158296wid.17.1325085772583;\r
+       Wed, 28 Dec 2011 07:22:52 -0800 (PST)\r
+Received: from hotblack-desiato.hh.sledj.net\r
+       (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
+       by mx.google.com with ESMTPS id k5sm75293015wiz.9.2011.12.28.07.22.50\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 28 Dec 2011 07:22:51 -0800 (PST)\r
+Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
+       id 698A4A04BC; Wed, 28 Dec 2011 15:22:49 +0000 (GMT)\r
+To: Austin Clements <amdragon@MIT.EDU>, Aaron Ecay <aaronecay@gmail.com>\r
+Subject: Re: [RFC][PATCH v4] emacs: Re-implement advance/rewind functions of\r
+       notmuch-show-mode.\r
+In-Reply-To: <cunlipztxo5.fsf@hotblack-desiato.hh.sledj.net>\r
+References: <id:"1324553312-10972-1-git-send-email-dme@dme.org">\r
+       <1324665712-2419-1-git-send-email-dme@dme.org>\r
+       <20111225010635.GG1927@mit.edu>\r
+       <cunlipztxo5.fsf@hotblack-desiato.hh.sledj.net>\r
+User-Agent: Notmuch/0.10.2+107~ga2d0215 (http://notmuchmail.org)\r
+       Emacs/24.0.92.1 (x86_64-pc-linux-gnu)\r
+From: David Edmondson <dme@dme.org>\r
+X-Now-Playing: Eurythmics: Paint a Rumour (Touch)\r
+Date: Wed, 28 Dec 2011 15:22:45 +0000\r
+Message-ID: <cun1urosou2.fsf@hotblack-desiato.hh.sledj.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Cc: notmuch@notmuchmail.org\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: Wed, 28 Dec 2011 15:22:54 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Mon, 26 Dec 2011 10:49:46 +0000, David Edmondson <dme@dme.org> wrote:\r
+> > > +     ((=3D start-of-message (point))\r
+> > > +      ;; The cursor is at the start of the current message - move to\r
+> > > +      ;; the previous open message.\r
+> > > +      (notmuch-show-previous-open-message))\r
+> >=20\r
+> > This will jump to the beginning of the previous message if I'm at the\r
+> > beginning of a message.  I would expect rewind to show me the end of\r
+> > the previous message in this case.\r
+>=20\r
+> That would definitely more closely be the inverse of how advance works,\r
+> but is it the most useful behaviour?\r
+\r
+I thought about this a bit more (mostly because I don't want to write\r
+tests for one behaviour and then have to change them - writing tests for\r
+emacs with the current test suite is painful).\r
+\r
+If you want to go back a page you can use M-v. The whole point of\r
+binding DEL to something in `notmuch-show-mode' is that it implement\r
+something other than the vanilla behaviour. Simply showing the previous\r
+page (the equivalent of M-v) adds no value.\r
+\r
+Hence, I'd like to keep the (jump back a full message) behaviour in the\r
+patch.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iEYEARECAAYFAk77NEUACgkQaezQq/BJZRZ+FACeJxY+jvCfUyRiTBhbmwY8vtoy\r
+MpQAniN9NMVmOEJdgevq2/HRFazuOp+a\r
+=WWNR\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r