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 0F7FA431FD0 for ; Mon, 26 Dec 2011 14:00:38 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 avEQwzTP3L3R for ; Mon, 26 Dec 2011 14:00:37 -0800 (PST) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 60B5F431FB6 for ; Mon, 26 Dec 2011 14:00:37 -0800 (PST) Received: by wibhq2 with SMTP id hq2so5603442wib.26 for ; Mon, 26 Dec 2011 14:00:34 -0800 (PST) Received: by 10.180.88.10 with SMTP id bc10mr56912818wib.13.1324936834722; Mon, 26 Dec 2011 14:00:34 -0800 (PST) Received: from hotblack-desiato.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25]) by mx.google.com with ESMTPS id f19sm5031768wbo.13.2011.12.26.14.00.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 26 Dec 2011 14:00:33 -0800 (PST) Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) id 35389A0765; Mon, 26 Dec 2011 22:00:31 +0000 (GMT) To: Dmitry Kurochkin , notmuch@notmuchmail.org Subject: Re: [RFC][PATCH v4] emacs: Re-implement advance/rewind functions of notmuch-show-mode. In-Reply-To: <87fwg71tdo.fsf@gmail.com> References: <1324665712-2419-1-git-send-email-dme@dme.org> <87ipl7kt82.fsf@gmail.com> <87fwg71tdo.fsf@gmail.com> User-Agent: Notmuch/0.10.2+107~ga2d0215 (http://notmuchmail.org) Emacs/24.0.92.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Mon, 26 Dec 2011 22:00:21 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Mon, 26 Dec 2011 22:00:38 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 26 Dec 2011 15:09:55 +0400, Dmitry Kurochkin wrote: > Hi David. >=20 > On Mon, 26 Dec 2011 10:46:13 +0000, David Edmondson wrote: > > On Fri, 23 Dec 2011 23:01:33 +0400, Dmitry Kurochkin wrote: > > > * Revert changes to notmuch-show-advance-and-archive. > >=20 > > Why? (I mean, because the change is poor or just that it's unrelated or > > because I didn't mention it) > >=20 >=20 > Because it is unrelated. Understood. For me this fell inside the 'trivial other change' boundary. > And can you please explain why `when' is better than `if' here? Then I > will know which one to use the next time :) `if' allows only a single statement for `then', which results in code like: (if foo (progn (this) (that) (theother))) so if there is no `else' clause I've been preferring: (when foo (this) (that) (theother)) but that's obviously personal and not important in this specific case. > > > * Can we split this in two patches? One for rewind and another for > > > advance. > >=20 > > I'll think about that. Is there a specific reason? I'm not particularly > > in favour of splitting things just for the sake of it. > >=20 >=20 > Because they are independent and can be split. And it is easier to > review (and work in general, I suppose) with two smaller patches than > with a single bigger one. Your git-fu is obviously much stronger than mine. :-) Rebasing (groups of) patches takes more of my time and is more error prone than I'd like. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk747nUACgkQaezQq/BJZRbDewCcC6/vNUum8qX21V0qeITYB8y8 ak8AniJxv2eQBywX9ztZF6atZqG0IY9p =utdM -----END PGP SIGNATURE----- --=-=-=--