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 17A1E431FB6 for ; Sat, 28 Jan 2012 14:49:24 -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 tTG+WEhRcTK0 for ; Sat, 28 Jan 2012 14:49:23 -0800 (PST) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 4CD93431FAE for ; Sat, 28 Jan 2012 14:49:23 -0800 (PST) Received: by bke11 with SMTP id 11so313138bke.26 for ; Sat, 28 Jan 2012 14:49:21 -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=USwfWTuF3WvwyKDMIdj4yl2xbuXWN/nC0yCw2VLYIl0=; b=jDz7JT7ZfEx2wVh2MGRvO/BGxW57n7BbCeLohf1tpZTWlUYfsCqw8+k8CvzpDM3+xE 8YRMs8bBH/424iCFVThBlDQH2BaNKPRJX71XPXtsErcbLaVFsNvWl1iARtYqh/PNKuNw FOWxlMA4lioKy90lx+nCRDRyQswQcnZSdqcK4= Received: by 10.205.130.12 with SMTP id hk12mr5654469bkc.56.1327790961812; Sat, 28 Jan 2012 14:49:21 -0800 (PST) Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id bw9sm26076852bkb.8.2012.01.28.14.49.20 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 Jan 2012 14:49:21 -0800 (PST) From: Dmitry Kurochkin To: Daniel Schoepe , notmuch@notmuchmail.org Subject: Re: [PATCH v7 2/2] emacs: Tests for user-defined sections In-Reply-To: <87ehujqzu6.fsf@schoepe.localhost> References: <87d3ac8ta9.fsf@schoepe.localhost> <1327193689-6011-1-git-send-email-daniel@schoepe.org> <1327193689-6011-2-git-send-email-daniel@schoepe.org> <87y5sym31d.fsf@gmail.com> <87ehujqzu6.fsf@schoepe.localhost> User-Agent: Notmuch/0.11+134~g7ddba9d (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Sun, 29 Jan 2012 02:48:12 +0400 Message-ID: <87ipjv8mvn.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: Sat, 28 Jan 2012 22:49:24 -0000 Hi Daniel. On Sat, 28 Jan 2012 22:30:57 +0100, Daniel Schoepe wrote: > Hi Dmitry, > > On Tue, 24 Jan 2012 03:07, Dmitry Kurochkin wrote: > > There are some trailing whitespaces in the tests. > > those are also produced by the various notmuch-hello functions, and are > also in the existing tests. If someone is bothered by this, it should be > fixed in a separate patch. > I only meant trailing whitespaces in test/emacs file in the lines added by the patch. Trailing whitespaces in expected results are obviously fine. > > > > Also, please consider moving the hello sections tests to a separate file > > (emacs-hello-sections, perhaps?). I am worried that test/emacs file > > becomes too big. And we will probably add more notmuch-hello > > section-related tests in the future. > > I think it's better to split it up into more than just > emacs-hello-sections and emacs, as there are also quite a few tests > relating solely to, e.g., -show or -search. > I think splitting emacs tests based on -hello, -show and -search views is a good idea. Splitting existing tests is out of scope of this patch. But I think it may be a good opportunity to add a new file with -hello tests. > Anyhow, I'll send another rebased version fixing conflicts with the > search-interface changes. > Thanks, I will try to review it soon. Regards, Dmitry > Cheers, > Daniel