Re: [notmuch] [PATCH 2/2] notmuch list: A new command to produce various lists.
authorJan Janak <jan@ryngle.com>
Sat, 21 Nov 2009 21:07:14 +0000 (22:07 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:38 +0000 (09:35 -0800)
cc/351b07de7e695b4d9827e786e01447afec9ac4 [new file with mode: 0644]

diff --git a/cc/351b07de7e695b4d9827e786e01447afec9ac4 b/cc/351b07de7e695b4d9827e786e01447afec9ac4
new file mode 100644 (file)
index 0000000..88b21ba
--- /dev/null
@@ -0,0 +1,100 @@
+Return-Path: <jan@ryngle.com>\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 A4B78431FBF\r
+       for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 13:07:16 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\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 1IZPDTBCVieZ for <notmuch@notmuchmail.org>;\r
+       Sat, 21 Nov 2009 13:07:16 -0800 (PST)\r
+Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com\r
+       [209.85.218.224])\r
+       by olra.theworths.org (Postfix) with ESMTP id CE0EA431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 13:07:15 -0800 (PST)\r
+Received: by bwz24 with SMTP id 24so3130271bwz.30\r
+       for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 13:07:15 -0800 (PST)\r
+MIME-Version: 1.0\r
+Received: by 10.204.2.199 with SMTP id 7mr2887039bkk.160.1258837634942; Sat, \r
+       21 Nov 2009 13:07:14 -0800 (PST)\r
+In-Reply-To: <87lji2bmrb.fsf@yoom.home.cworth.org>\r
+References: <1258630481-5133-1-git-send-email-jan@ryngle.com>\r
+       <1258630481-5133-2-git-send-email-jan@ryngle.com>\r
+       <f35dbb950911190352q2dcd041fr83a2f722f3231f44@mail.gmail.com>\r
+       <87lji2bmrb.fsf@yoom.home.cworth.org>\r
+Date: Sat, 21 Nov 2009 22:07:14 +0100\r
+Message-ID: <f35dbb950911211307t1cd8e039xca754828c75b26f6@mail.gmail.com>\r
+From: Jan Janak <jan@ryngle.com>\r
+To: Carl Worth <cworth@cworth.org>\r
+Content-Type: text/plain; charset=UTF-8\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: [notmuch] [PATCH 2/2] notmuch list: A new command to produce\r
+       various lists.\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\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: Sat, 21 Nov 2009 21:07:16 -0000\r
+\r
+On Thu, Nov 19, 2009 at 3:41 PM, Carl Worth <cworth@cworth.org> wrote:\r
+> On Thu, 19 Nov 2009 12:52:49 +0100, Jan Janak <jan@ryngle.com> wrote:\r
+>> I implemented a new notmuch command that can be used to list all tags\r
+>> present in the database:\r
+>\r
+> Ah, very very interesting! I'd been planning on doing something like\r
+> this soon. And I was just thinking of "notmuch tags" as the command\r
+> line. What other ideas do you have in mind for "notmuch list" ?\r
+>\r
+> One way we could possibly do "notmuch tags" is to have it accept search\r
+> terms and then return the list of all tags from the matched messages.\r
+> Then of course we'd need a syntax for a search term to match all\r
+> messages, (which we want in any case).\r
+>\r
+>> The main reason why I implemented this is because I am also working on\r
+>> adding the tag completion feature to the Emacs mode. This is very\r
+>> useful if you have a large collection of tags--it can save you some\r
+>> typing and, perhaps more importantly, it minimizes the risk of having\r
+>> typos in tag names. I'll send a patch for that later too.\r
+>\r
+> That will be a very nice feature to have, yes.\r
+>\r
+> The other reason I've wanted this is have something like a "folder view"\r
+> that would show a list of tags and a number of messages with each tag,\r
+> (or a number of messages with that tag and the inbox tag).\r
+>\r
+> I know that Keith said he'd prefer to use a view like that as his\r
+> primary way of reading mail.\r
+>\r
+> Actual review of the patch later.\r
+\r
+Carl and others,\r
+\r
+My patch no longer works and I have been thinking about updating it to\r
+current HEAD. But before I do that, I wanted to check with you to see\r
+if you would prefer to use a different name for the command, here are\r
+some options:\r
+\r
+  1) notmuch tags\r
+  2) notmuch list tags\r
+  3) notmuch list-tag\r
+\r
+Any opinions?\r
+\r
+I also plan to add support for search-terms later so that we can\r
+produce tag lists for a set of messages, as you mentioned in one of\r
+your previous emails.\r
+\r
+A quick description for those who joined later: This command produces\r
+a list of all tags defined in the database. The emacs interface uses\r
+it to implement tag name completion.\r
+\r
+  -- Jan\r