From: Austin Clements Date: Tue, 22 Oct 2013 19:50:49 +0000 (+2000) Subject: [PATCH 0/8] Improve tag change completion X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ac7183700b07bdc24e683a06175472b6e7496703;p=notmuch-archives.git [PATCH 0/8] Improve tag change completion --- diff --git a/4e/5e589ab816fd53df2523b6a159f50a4e9c25bc b/4e/5e589ab816fd53df2523b6a159f50a4e9c25bc new file mode 100644 index 000000000..b5f668073 --- /dev/null +++ b/4e/5e589ab816fd53df2523b6a159f50a4e9c25bc @@ -0,0 +1,96 @@ +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 9190B431FBC + for ; Tue, 22 Oct 2013 12:51:13 -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 x7c-y-bNc1qh for ; + Tue, 22 Oct 2013 12:51:07 -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 458E8431FD7 + for ; Tue, 22 Oct 2013 12:51:07 -0700 (PDT) +X-AuditID: 12074425-b7f1c8e0000009c7-88-5266d7288e9c +Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) + by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP + id CF.B5.02503.827D6625; Tue, 22 Oct 2013 15:51:04 -0400 (EDT) +Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) + by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id r9MJp3vw015067 + for ; Tue, 22 Oct 2013 15:51:04 -0400 +Received: from drake.dyndns.org (31-33-57.wireless.csail.mit.edu + [128.31.33.57]) (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r9MJp0fl005184 + (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) + for ; Tue, 22 Oct 2013 15:51:03 -0400 +Received: from amthrax by drake.dyndns.org with local (Exim 4.77) + (envelope-from ) id 1VYhym-0006yb-Gv + for notmuch@notmuchmail.org; Tue, 22 Oct 2013 15:51:00 -0400 +From: Austin Clements +To: notmuch@notmuchmail.org +Subject: [PATCH 0/8] Improve tag change completion +Date: Tue, 22 Oct 2013 15:50:49 -0400 +Message-Id: <1382471457-26056-1-git-send-email-amdragon@mit.edu> +X-Mailer: git-send-email 1.8.4.rc3 +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFupnkeLIzCtJLcpLzFFi42IR4hRV1tW4nhZkcOiLpcX1mzOZHRg9nq26 + xRzAGMVlk5Kak1mWWqRvl8CVsfXmRJaCyVwVFzcfYGxgXM3RxcjJISFgIvG7czM7hC0mceHe + erYuRi4OIYF9jBIfF/1khHDOM0r8WP0CrEpI4AmTRMMfGYjEbkaJJZPPsoAk2AQ0JLbtX84I + YosISEvsvDubFcQWFjCS+Lx3D1gzi4CqxJefS5hBbF4BB4lNd5axQqxWklh4ahvrBEaeBYwM + qxhlU3KrdHMTM3OKU5N1i5MT8/JSi3Qt9HIzS/RSU0o3MYL8ze6iuoNxwiGlQ4wCHIxKPLwP + WtKChFgTy4orcw8xSnIwKYnyRlwFCvEl5adUZiQWZ8QXleakFh9ilOBgVhLhbfYFyvGmJFZW + pRblw6SkOViUxHlvcdgHCQmkJ5akZqemFqQWwWRlODiUJHiFrgE1ChalpqdWpGXmlCCkmTg4 + QYbzAA0/BrKYt7ggMbc4Mx0if4pRUUqcVxikWQAkkVGaB9cLi8dXjOJArwjzcoJU8QBjGa77 + FdBgJqDBU5aADS5JREhJNTAme4Y+/8GTselZ79Ov5eKZDe9mHt5za1v752O+id9+z5Pcdrfk + YM2UK9zJfbYLtZS0l9yqvNtt2iAnsOr05+AagQoOLe0UteCrS9fYrdiZet5Tvfypj9S1y+/v + VnvH3Gy9+FFxSfkicynll/v+yq8vPXLH5ub16gN3vBaFKmxW6M2dv0b02tVkJZbijERDLeai + 4kQAFlZD+KICAAA= +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: Tue, 22 Oct 2013 19:51:13 -0000 + +This series improves tag change completion in various ways for +commands like +, -, and *. + +>From a user perspective, this provides command-specific prompts like +"Tag message" and "Tag all" instead of the generic "Tag" prompt, and +bases tag removal completions on the tags that are in the buffer, +rather than the current tags in the database, providing a more +predicable experience. + +>From an implementation perspective, this new tag removal completion +behavior improves efficiency and eliminates a road block to fixing the +tagging race bug (which otherwise results in massive queries just to +compute removal completions). The new code is also more "Elispy" and +predictable because all tag change prompting now occurs at the +interactive entry points, rather than buried under several layers of +non-interactive calls. + +This is a spiritual successor to +id:1354263691-19715-1-git-send-email-markwalters1009@gmail.com, though +it takes a very different approach. This is also a prerequisite to +the tag race fix in +id:1381185201-25197-1-git-send-email-amdragon@mit.edu and I plan to +send an updated version of that series when this one is accepted. + +Patches 1, 5, and 6 could be pushed on their own. They fix bugs or +sort of bugs that get in the way of the rest of the series. +