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 38AFC431FD0 for ; Mon, 26 Dec 2011 03:10:45 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 DMchcx1QP98m for ; Mon, 26 Dec 2011 03:10:44 -0800 (PST) Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 6FD86431FB6 for ; Mon, 26 Dec 2011 03:10:44 -0800 (PST) Received: by lagr15 with SMTP id r15so5355697lag.26 for ; Mon, 26 Dec 2011 03:10:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=dKc63NQ7HR1IC5Wnq4+0Q+EQpXYIpPanVtoqad0eHY4=; b=G7gulMprDPNlWnngZqLlojslWc74lpb7uGj7P0yQ80lo3aTvTVxdloCpbGR0T0nX07 rkGS5VA11D0krJOaeQvvaLl7iNwAIPVTYnMqGei7JLEljvgt4K+1r/KBKocRQWeg1Gol xutFp+02xVizvZRwvuIqOGkFcCrjX1pdCBUPU= Received: by 10.152.133.70 with SMTP id pa6mr19474335lab.0.1324897842822; Mon, 26 Dec 2011 03:10:42 -0800 (PST) Received: from localhost ([194.186.188.211]) by mx.google.com with ESMTPS id mg13sm980411lab.5.2011.12.26.03.10.41 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 26 Dec 2011 03:10:42 -0800 (PST) From: Dmitry Kurochkin To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [RFC][PATCH v4] emacs: Re-implement advance/rewind functions of notmuch-show-mode. In-Reply-To: References: <1324665712-2419-1-git-send-email-dme@dme.org> <87ipl7kt82.fsf@gmail.com> User-Agent: Notmuch/0.10.2+135~gb811a3c (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Mon, 26 Dec 2011 15:09:55 +0400 Message-ID: <87fwg71tdo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 11:10:45 -0000 Hi David. 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. > > Why? (I mean, because the change is poor or just that it's unrelated or > because I didn't mention it) > Because it is unrelated. And can you please explain why `when' is better than `if' here? Then I will know which one to use the next time :) > > * Can we split this in two patches? One for rewind and another for > > advance. > > 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. > 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. Though, since you got two other reviews already, you can just ignore this. > > * Does this patch change the behavior of the functions or is it just > > meant to simplify the code? If it is the former, it would be really > > nice to have tests for it. > > I believe that it changes the behaviour. I'll write tests. Thanks. Regards, Dmitry