Re: [notmuch] [PATCH 2/2] notmuch list: A new command to produce various lists.
authorBart Trojanowski <bart@jukie.net>
Sun, 22 Nov 2009 03:45:30 +0000 (22:45 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:39 +0000 (09:35 -0800)
a8/f96b6ad8a9290cb0928487993ea2ff0b81343d [new file with mode: 0644]

diff --git a/a8/f96b6ad8a9290cb0928487993ea2ff0b81343d b/a8/f96b6ad8a9290cb0928487993ea2ff0b81343d
new file mode 100644 (file)
index 0000000..286255e
--- /dev/null
@@ -0,0 +1,69 @@
+Return-Path: <bart@jukie.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 9867C431FBF\r
+       for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 19:45:31 -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 f+WHFLIFL+4t for <notmuch@notmuchmail.org>;\r
+       Sat, 21 Nov 2009 19:45:31 -0800 (PST)\r
+Received: from tau.jukie.net (tau.jukie.net [216.239.93.128])\r
+       by olra.theworths.org (Postfix) with ESMTP id CC44B431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 19:45:30 -0800 (PST)\r
+Received: by tau.jukie.net (Postfix, from userid 1000)\r
+       id 43B93C05611; Sat, 21 Nov 2009 22:45:30 -0500 (EST)\r
+Date: Sat, 21 Nov 2009 22:45:30 -0500\r
+From: Bart Trojanowski <bart@jukie.net>\r
+To: Carl Worth <cworth@cworth.org>\r
+Message-ID: <20091122034530.GD17268@jukie.net>\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
+       <f35dbb950911211307t1cd8e039xca754828c75b26f6@mail.gmail.com>\r
+       <87my2f329e.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <87my2f329e.fsf@yoom.home.cworth.org>\r
+User-Agent: Mutt/1.5.18 (2008-05-17)\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: [notmuch] [PATCH 2/2] notmuch list: A new command to\r
+       produce 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: Sun, 22 Nov 2009 03:45:31 -0000\r
+\r
+* Carl Worth <cworth@cworth.org> [091121 18:08]:\r
+> Another option would be to just call this "notmuch search" and have an\r
+> option to control what is output:\r
+> \r
+>        notmuch search        # for threads, as currently\r
+>        notmuch search --output=tags\r
+>        notmuch search --output=messages\r
+> \r
+> Actually, I kind of like that. For one thing, it makes it easy to\r
+> eliminate the redundancy I made with the option-parsing in both\r
+> notmuch-search.c and notmuch-search-message.c.\r
+\r
+I too prefer this option.  It keeps the interface and code simpler.\r
+\r
+Moreover, it might also eliminate the need for 'notmuch count'. Simply\r
+pass --count-only to the search command.\r
+\r
+-Bart\r
+\r
+-- \r
+                               WebSig: http://www.jukie.net/~bart/sig/\r