From d4ae3e1d4943e8c75ab04fc14ff9c3def50bdf9d Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Mon, 13 Feb 2012 01:20:04 +0000 Subject: [PATCH] [RFC PATCH v3 00/11] notmuch-pick: an emacs threaded message view with split-pane --- 7f/be3bd99e2407a67f6f0c313a622578db66e913 | 110 ++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 7f/be3bd99e2407a67f6f0c313a622578db66e913 diff --git a/7f/be3bd99e2407a67f6f0c313a622578db66e913 b/7f/be3bd99e2407a67f6f0c313a622578db66e913 new file mode 100644 index 000000000..769df34cc --- /dev/null +++ b/7f/be3bd99e2407a67f6f0c313a622578db66e913 @@ -0,0 +1,110 @@ +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 B084A429E52 + for ; Sun, 12 Feb 2012 17:19:12 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.201 +X-Spam-Level: +X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=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 G5BSVHkQoGui for ; + Sun, 12 Feb 2012 17:19:12 -0800 (PST) +Received: from mail-we0-f181.google.com (mail-we0-f181.google.com + [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 185FF431FAE + for ; Sun, 12 Feb 2012 17:19:11 -0800 (PST) +Received: by werp13 with SMTP id p13so3669534wer.26 + for ; Sun, 12 Feb 2012 17:19:09 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; + h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; + bh=xvt1qTBpsBWfq43OniSI0kVpMh59mXOyyTd4U0R07AI=; + b=q/jbtMtnoK4Upq+9l5VJ4d3P4A/k6G/ynoyb6/IbSfFyhl8z1cU85qog8qL4cE+qiP + Ud1/291XjW1dOOMGMymr2muaBvDQcjL+sccMTCieEF8dGAh7vl29gq+4tMa2oMnZUEpl + b9G8jn1RHcPDVNQeDeANpG8ylcDs2nyXT63K0= +Received: by 10.216.135.193 with SMTP id u43mr5554362wei.34.1329095949410; + Sun, 12 Feb 2012 17:19:09 -0800 (PST) +Received: from localhost (94-192-233-223.zone6.bethere.co.uk. + [94.192.233.223]) by mx.google.com with ESMTPS id + q2sm18411340wiy.7.2012.02.12.17.19.07 (version=TLSv1/SSLv3 cipher=OTHER); + Sun, 12 Feb 2012 17:19:08 -0800 (PST) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [RFC PATCH v3 00/11] notmuch-pick: an emacs threaded message view + with split-pane +Date: Mon, 13 Feb 2012 01:20:04 +0000 +Message-Id: <1329096015-8078-1-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.2.3 +In-Reply-To: <1329072579-27340-1-git-send-email-markwalters1009@gmail.com> +References: <1329072579-27340-1-git-send-email-markwalters1009@gmail.com> +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, 13 Feb 2012 01:19:12 -0000 + +Here is a split up version of the patches with (I hope) reasonable +commit messages. (Magit is amazing.) + +I have not split up the new notmuch-pick file but the cli and other +emacs bits should be managable. (Note intermediate emacs points may +not compile as they add references to notmuch-pick in the existing +code.) + +I have included another bugfix from Daniel (entire-thread was used +uninitialised in notmuch-show.c) + +The only functional change is to add Daniel's notmuch-search-pick-thread +function to notmuch.el (bound to M-RET) which views the currently +selected thread in notmuch-pick. + +I also found one stale change which I removed. + +Best wishes + +Mark + + +Mark Walters (11): + cli: add --headers_only option to notmuch-show.c + cli: add sort options to notmuch-show.c + cli: add --thread= option to notmuch-show + emacs: add entry to notmuch-pick from notmuch-hello.el + emacs: add defcustom group for notmuch-pick + emacs: add extra parameters option to notmuch-query-get-threads + emacs: add entry to notmuch-pick from notmuch.el + emacs: add the entry to notmuch-pick to notmuch-show.el + emacs: make notmuch-show return its buffer + emacs: notmuch-show.el just show the actual matching messages + emacs: add notmuch-pick itself + + emacs/Makefile.local | 3 +- + emacs/notmuch-hello.el | 10 + + emacs/notmuch-lib.el | 4 + + emacs/notmuch-pick.el | 585 ++++++++++++++++++++++++++++++++++++++++++++++++ + emacs/notmuch-query.el | 4 +- + emacs/notmuch-show.el | 25 ++- + emacs/notmuch.el | 20 ++ + notmuch-client.h | 9 +- + notmuch-show.c | 73 ++++++- + 9 files changed, 723 insertions(+), 10 deletions(-) + create mode 100644 emacs/notmuch-pick.el + +-- +1.7.2.3 + -- 2.26.2