From cfba2db43f8543f79619f8193d787ec38f7d46cb Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Fri, 13 Jul 2012 20:45:12 +2000 Subject: [PATCH] [PATCH 0/7] emacs: JSON-based search cleanups --- 21/6ec98f8d65da09ad5e29c947613d7c6e1b95c0 | 81 +++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 21/6ec98f8d65da09ad5e29c947613d7c6e1b95c0 diff --git a/21/6ec98f8d65da09ad5e29c947613d7c6e1b95c0 b/21/6ec98f8d65da09ad5e29c947613d7c6e1b95c0 new file mode 100644 index 000000000..ababaf0b5 --- /dev/null +++ b/21/6ec98f8d65da09ad5e29c947613d7c6e1b95c0 @@ -0,0 +1,81 @@ +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 8B1DE41ED72 + for ; Thu, 12 Jul 2012 17:45:29 -0700 (PDT) +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 vIHf-9+2SqJl for ; + Thu, 12 Jul 2012 17:45:28 -0700 (PDT) +Received: from dmz-mailsec-scanner-8.mit.edu (DMZ-MAILSEC-SCANNER-8.MIT.EDU + [18.7.68.37]) + by olra.theworths.org (Postfix) with ESMTP id AF8D242119A + for ; Thu, 12 Jul 2012 17:45:26 -0700 (PDT) +X-AuditID: 12074425-b7f9b6d0000008c4-e7-4fff6fa61bd9 +Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) + by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP + id 78.08.02244.6AF6FFF4; Thu, 12 Jul 2012 20:45:26 -0400 (EDT) +Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) + by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id q6D0jPtX023480 + for ; Thu, 12 Jul 2012 20:45:26 -0400 +Received: from drake.dyndns.org + (209-6-116-242.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com + [209.6.116.242]) (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q6D0jN54010661 + (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) + for ; Thu, 12 Jul 2012 20:45:25 -0400 (EDT) +Received: from amthrax by drake.dyndns.org with local (Exim 4.77) + (envelope-from ) id 1SpU0Z-0005Rs-Dj + for notmuch@notmuchmail.org; Thu, 12 Jul 2012 20:45:23 -0400 +From: Austin Clements +To: notmuch@notmuchmail.org +Subject: [PATCH 0/7] emacs: JSON-based search cleanups +Date: Thu, 12 Jul 2012 20:45:12 -0400 +Message-Id: <1342140319-19859-1-git-send-email-amdragon@mit.edu> +X-Mailer: git-send-email 1.7.10 +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFupjkeLIzCtJLcpLzFFi42IR4hRV1l2W/9/fYN8/AYvrN2cyOzB6PFt1 + izmAMYrLJiU1J7MstUjfLoEro3/LX8aCqywV9+8vYmlgfM3cxcjJISFgIvGh7xI7hC0mceHe + ejYQW0hgH6PEmv7CLkYuIPsco8TmyY+ZIZwGZomn50+zQTi7GSXunj4G1sImoCGxbf9yRhBb + REBaYufd2awgtrCAmURnzyogm4ODRUBV4tXzdJAwr4CDxKW+BVBXyEs8vd/HNoGRZwEjwypG + 2ZTcKt3cxMyc4tRk3eLkxLy81CJdC73czBK91JTSTYwgb7O7qO5gnHBI6RCjAAejEg/vr9j/ + /kKsiWXFlbmHGCU5mJREeV2ygUJ8SfkplRmJxRnxRaU5qcWHGCU4mJVEeNfZA+V4UxIrq1KL + 8mFS0hwsSuK8N1Ju+gsJpCeWpGanphakFsFkZTg4lCR4OYFBLSRYlJqeWpGWmVOCkGbi4AQZ + zgM0fFseyPDigsTc4sx0iPwpRkUpcd4LIAkBkERGaR5cLywaXzGKA70izLsTpIoHGMlw3a+A + BjMBDZ718x/I4JJEhJRUA6OpmJi6R2fktZy1Qec6uzfKHdjtWSq9LLPjwhHHLytqopild9ws + neN1fIbS0nXVW/12sqj8kM1U59txLKav4OUSUat7R3cH/V+1x7OmuHDihEff+YLaAvoCjue+ + ZZPtOFMfVK7WU+Pwgbl1xir/S5x/Gu0qD0RJKp5Qv839ybZ7c9PcrZO2KiixFGckGmoxFxUn + AgCqlb7zoQIAAA== +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: Fri, 13 Jul 2012 00:45:29 -0000 + +This series builds on the JSON-based search series [0] to clean up +several other aspects of search-mode. It removes constraints on the +formatting of tags in the result line (you can even leave them out +entirely), it recolors lines when tags change, it adds supports for +multi-line result formats, and rendering big search buffers should be +less quadratic (it might even be linear). Much of this derives from +having a single object representation of a result (the JSON plist) and +a simple method for rendering it to the buffer. + +[0] 1341870162-17782-1-git-send-email-amdragon@mit.edu + -- 2.26.2