emacs tagging cleanup
authorJameson Graef Rollins <jrollins@finestructure.net>
Sun, 8 Apr 2012 00:35:30 +0000 (17:35 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:07 +0000 (09:46 -0800)
60/8e019601e4376ef42ec1124dca08d2527322e1 [new file with mode: 0644]

diff --git a/60/8e019601e4376ef42ec1124dca08d2527322e1 b/60/8e019601e4376ef42ec1124dca08d2527322e1
new file mode 100644 (file)
index 0000000..711f19e
--- /dev/null
@@ -0,0 +1,86 @@
+Return-Path: <jrollins@finestructure.net>\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 9DD66431FDA\r
+       for <notmuch@notmuchmail.org>; Sat,  7 Apr 2012 17:35:51 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] 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 zKBrW+pJEgBY for <notmuch@notmuchmail.org>;\r
+       Sat,  7 Apr 2012 17:35:50 -0700 (PDT)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id BA7A1431FD2\r
+       for <notmuch@notmuchmail.org>; Sat,  7 Apr 2012 17:35:47 -0700 (PDT)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id 49E3966E00DB\r
+       for <notmuch@notmuchmail.org>; Sat,  7 Apr 2012 17:35:45 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (unknown [76.89.193.65])\r
+       (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id 6A86766E00E1\r
+       for <notmuch@notmuchmail.org>; Sat,  7 Apr 2012 17:35:43 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id EC9424EF; Sat,  7 Apr 2012 17:35:42 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: emacs tagging cleanup\r
+Date: Sat,  7 Apr 2012 17:35:30 -0700\r
+Message-Id: <1333845338-22960-1-git-send-email-jrollins@finestructure.net>\r
+X-Mailer: git-send-email 1.7.9.1\r
+In-Reply-To: <1333354853-25729-1-git-send-email-jrollins@finestructure.net>\r
+References: <1333354853-25729-1-git-send-email-jrollins@finestructure.net>\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: Sun, 08 Apr 2012 00:35:52 -0000\r
+\r
+This is a rework of the series [0].  It addresses some of the comments\r
+from Dmitry, and extends the scope to clean up the tagging interface\r
+in both search and show mode.\r
+\r
+[0] id:"1333354853-25729-1-git-send-email-jrollins@finestructure.net"\r
+\r
+The goal here is to present a cleaner tagging interface to the user.\r
+We want things to be simple, not confusing or redundant.  To that end\r
+I have extended the notmuch-tag function to handle prompting if\r
+needed.  The main user-facing functions are now:\r
+\r
+  notmuch-search-tag      tag thread or region\r
+  notmuch-search-tag-all  tag all thread in search buffer\r
+  notmuch-show-tag        tag message\r
+  notmuch-show-tag-all    tag all message in show buffer\r
+\r
+I think this provides a much cleaner interface that is more useful to\r
+users.  In particular, this improves the ability to tag regions in\r
+search mode.\r
+\r
+I have eliminated two user-facing functions (notmuch-search-tag-thread\r
+and notmuch-show-tag-message) since they are now redundant.  This\r
+might cause a slight hiccup for those using those functions, but I\r
+think it's better in the long run.\r
+\r
+Unfortunately something in the last patch (last two patches, I guess)\r
+is now causing a two of our more esoteric tests to fail.  After\r
+spending half the day trying to figure out why I'm at a loss.  And I\r
+don't want all this work to be wasted so I'm submitting it anyway.\r
+Hopefully someone (maybe the creator of those tests?) can figure out\r
+what's going on.\r
+\r
+jamie.\r
+\r