Re: [PATCH v1 1/3] search: Seperately report matching and non-matching authors.
authorDavid Edmondson <dme@dme.org>
Fri, 24 Oct 2014 10:21:54 +0000 (11:21 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:05:36 +0000 (10:05 -0800)
8f/eb20cadd4f53c3381bd3703703cad42e5f8b0d [new file with mode: 0644]

diff --git a/8f/eb20cadd4f53c3381bd3703703cad42e5f8b0d b/8f/eb20cadd4f53c3381bd3703703cad42e5f8b0d
new file mode 100644 (file)
index 0000000..412fada
--- /dev/null
@@ -0,0 +1,94 @@
+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 D7EE4431FD4\r
+       for <notmuch@notmuchmail.org>; Fri, 24 Oct 2014 03:27:42 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.699\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001]\r
+       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 COsJIk2ROvo4 for <notmuch@notmuchmail.org>;\r
+       Fri, 24 Oct 2014 03:27:38 -0700 (PDT)\r
+Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com\r
+       [209.85.212.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id E71D0431FBD\r
+       for <notmuch@notmuchmail.org>; Fri, 24 Oct 2014 03:27:37 -0700 (PDT)\r
+Received: by mail-wi0-f169.google.com with SMTP id q5so799644wiv.0\r
+       for <notmuch@notmuchmail.org>; Fri, 24 Oct 2014 03:27:36 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:to:subject:in-reply-to:references:user-agent\r
+       :from:date:message-id:mime-version:content-type;\r
+       bh=CvPxfAyZwUOCMAD9ZAk4xH0difA4Ide/JbnEl5m0WIo=;\r
+       b=bzUktifxjK1fI8tofHlUtCBPsZhBRvUWtdTkP3ERgEsqovvVYgtssiYLsovWPgzM6C\r
+       bCSFqFsm8T13DlYjCFZGMXJJTY3ugU0Np1PmdWEbHvqbMhcpbkFflKsRMODhZX6EWT8c\r
+       lkYH9l4Uj/O95xhapj7ew4gFKCJZmVql3Hu7QRH275hu1L+EO9M0lV6okJzrVQzt0rK5\r
+       laIKsb/P+vqyFU8yeI1UPuOW77JvyWsgIPkpH4WzR28WXOOWNBr6ae3ljPk/QpwUgQPG\r
+       yEr0VaIDsrvQFvoLnzeOUhP/Kq05g3LTjnmgraDhs0ggz13PvlXjLmYDMlL0dwPipjhs\r
+       hV3A==\r
+X-Gm-Message-State:\r
+ ALoCoQnJzJXImGbgZ3zuK8t4mwM4EPp0giiJHThgchALLn9sqEbfZnvADwEKBGOdDdmropKX3GUy\r
+X-Received: by 10.194.205.103 with SMTP id lf7mr1159214wjc.134.1414146117159; \r
+       Fri, 24 Oct 2014 03:21:57 -0700 (PDT)\r
+Received: from disaster-area.hh.sledj.net\r
+       ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
+       by mx.google.com with ESMTPSA id q10sm5114251wjq.35.2014.10.24.03.21.55\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Fri, 24 Oct 2014 03:21:56 -0700 (PDT)\r
+Received: from localhost (30000@localhost [local]);\r
+       by localhost (OpenSMTPD) with ESMTPA id 235a0763;\r
+       Fri, 24 Oct 2014 10:21:54 +0000 (UTC)\r
+To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v1 1/3] search: Seperately report matching and\r
+       non-matching    authors.\r
+In-Reply-To: <87y4s5vn12.fsf@qmul.ac.uk>\r
+References: <1414140488-29978-1-git-send-email-dme@dme.org>\r
+       <1414140488-29978-2-git-send-email-dme@dme.org>\r
+       <87y4s5vn12.fsf@qmul.ac.uk>\r
+User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-apple-darwin14.0.0)\r
+From: David Edmondson <dme@dme.org>\r
+Date: Fri, 24 Oct 2014 11:21:54 +0100\r
+Message-ID: <m24mut4vjx.fsf@heart-of-gold.hh.sledj.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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: Fri, 24 Oct 2014 10:27:43 -0000\r
+\r
+On Fri, Oct 24 2014, Mark Walters wrote:\r
+> What about having both authors_matched and authors_not_matched as lists\r
+> of authors (ie one string for each author)?\r
+\r
+That's a sensible idea. I will look into it.\r
+\r
+> Then emacs, for example, wouldn't try and parse the string back into\r
+> authors before splitting.\r
+\r
+It doesn't really do that other than to decide where to truncate the\r
+visible string. That whole chunk of code is horrible.\r
+\r
+>>     first_non_matched_author = 0;\r
+>\r
+> I think I would prefer to make this look like the matched case and drop\r
+> the first_non_matched_author stuff.\r
+\r
+Agreed, will do.\r