From 83ecdcb9e56b314202978cf85efd5e65d1219a4f Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Tue, 3 Apr 2012 01:20:47 +1700 Subject: [PATCH] improvements to some emacs search tagging functions --- 13/1b2c72fb73112a1d4514759d190f6446bedeb5 | 76 +++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 13/1b2c72fb73112a1d4514759d190f6446bedeb5 diff --git a/13/1b2c72fb73112a1d4514759d190f6446bedeb5 b/13/1b2c72fb73112a1d4514759d190f6446bedeb5 new file mode 100644 index 000000000..d15c6f54b --- /dev/null +++ b/13/1b2c72fb73112a1d4514759d190f6446bedeb5 @@ -0,0 +1,76 @@ +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 74AC0431FC0 + for ; Mon, 2 Apr 2012 01:20:59 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] 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 zxaYhJKjQpE2 for ; + Mon, 2 Apr 2012 01:20:59 -0700 (PDT) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id DE9EB431FC2 + for ; Mon, 2 Apr 2012 01:20:58 -0700 (PDT) +Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by fire-doxen-postvirus (Postfix) with ESMTP id 95DD22E50D74 + for ; Mon, 2 Apr 2012 01:20:58 -0700 (PDT) +X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new +Received: from finestructure.net (unknown [76.89.193.65]) + (Authenticated sender: jrollins) + by fire-doxen-submit (Postfix) with ESMTP id DF7BB2E509DC + for ; Mon, 2 Apr 2012 01:20:56 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id 8C2ED89A; Mon, 2 Apr 2012 01:20:56 -0700 (PDT) +From: Jameson Graef Rollins +To: Notmuch Mail +Subject: improvements to some emacs search tagging functions +Date: Mon, 2 Apr 2012 01:20:47 -0700 +Message-Id: <1333354853-25729-1-git-send-email-jrollins@finestructure.net> +X-Mailer: git-send-email 1.7.9.1 +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, 02 Apr 2012 08:20:59 -0000 + +This series fixes a couple of minor annoyances/bugs with tagging in +search-mode: + +* The old search-tag-thread function would not tag regions, and the + main search-tag function could not just take whole tagging + operations as input. This series fixes that so that all tagging + operations, by thread or by region, are now handled with the main + search-tag function. Tags can be specified as a sting or a list, or + the user can be prompted (with tab completion) if no tag is + specifically specified. + +* Tag tab completion was often incomplete or would throw errors. Tag + tab completion is now more full-featured. + +The last patch, which fix tag tab completion for excluded tags, needs +Mark Walters new exclude fixes [0] to work. + +The series removes one public-facing function +(notmuch-search-tag-thread), and renames another +(notmuch-search-archive-thread --> notmuch-search-archive). But I +think it's worth it since it makes for a much cleaner interface. + +jamie. + +[0] id:"1333234442-28616-1-git-send-email-markwalters1009@gmail.com" + -- 2.26.2