Re: [PATCH 1/2] Add 'cat' subcommand
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 20 Apr 2010 11:13:36 +0000 (13:13 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:44 +0000 (09:36 -0800)
7e/3bf835052c489f387fcb2a44246a38a2f664f4 [new file with mode: 0644]

diff --git a/7e/3bf835052c489f387fcb2a44246a38a2f664f4 b/7e/3bf835052c489f387fcb2a44246a38a2f664f4
new file mode 100644 (file)
index 0000000..78e84bd
--- /dev/null
@@ -0,0 +1,80 @@
+Return-Path: <sojkam1@fel.cvut.cz>\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 D5DF24196F2\r
+       for <notmuch@notmuchmail.org>; Tue, 20 Apr 2010 04:13:39 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.9\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
+       tests=[BAYES_00=-1.9] autolearn=ham\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 3mre3V-UIK16 for <notmuch@notmuchmail.org>;\r
+       Tue, 20 Apr 2010 04:13:39 -0700 (PDT)\r
+Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1F11C431FC1\r
+       for <notmuch@notmuchmail.org>; Tue, 20 Apr 2010 04:13:39 -0700 (PDT)\r
+Received: from localhost (unknown [192.168.200.4])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id 85FB819F2F53;\r
+       Tue, 20 Apr 2010 13:13:38 +0200 (CEST)\r
+X-Virus-Scanned: IMAP AMAVIS\r
+Received: from max.feld.cvut.cz ([192.168.200.1])\r
+       by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
+       port 10044)\r
+       with ESMTP id eaKGHocoEABu; Tue, 20 Apr 2010 13:13:37 +0200 (CEST)\r
+Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id E9D6E19F32EA;\r
+       Tue, 20 Apr 2010 13:13:36 +0200 (CEST)\r
+Received: from steelpick.2x.cz (k335-30.felk.cvut.cz [147.32.86.30])\r
+       (Authenticated sender: sojkam1)\r
+       by imap.feld.cvut.cz (Postfix) with ESMTPSA id CFFE7FA003;\r
+       Tue, 20 Apr 2010 13:13:36 +0200 (CEST)\r
+Received: from wsh by steelpick.2x.cz with local (Exim 4.71)\r
+       (envelope-from <sojkam1@fel.cvut.cz>)\r
+       id 1O4BOa-0002gd-Mu; Tue, 20 Apr 2010 13:13:36 +0200\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: David Edmondson <dme@dme.org>, Sebastian Spaeth <Sebastian@SSpaeth.de>\r
+Subject: Re: [PATCH 1/2] Add 'cat' subcommand\r
+In-Reply-To: <87iq7m75tz.fsf@ut.hh.sledj.net>\r
+References: <1271747793-17507-1-git-send-email-sojkam1@fel.cvut.cz>\r
+       <87pr1u7fnu.fsf@ut.hh.sledj.net> <87fx2qmtok.fsf@SSpaeth.de>\r
+       <4BCD7EA0.3080505@fel.cvut.cz> <87iq7m75tz.fsf@ut.hh.sledj.net>\r
+Date: Tue, 20 Apr 2010 13:13:36 +0200\r
+Message-ID: <87y6ginzq7.fsf@steelpick.2x.cz>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Cc: notmuch@notmuchmail.org\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: Tue, 20 Apr 2010 11:13:40 -0000\r
+\r
+On Tue, 20 Apr 2010, David Edmondson wrote:\r
+> On Tue, 20 Apr 2010 12:14:56 +0200, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
+> >  > I'm puzzled why you chose to pass a filename as the argument to 'cat'\r
+> >  > rather than a message id (id:foo@bar.com)?\r
+> > \r
+> > The reason is that I want be able to distinguish between several\r
+> > messages with the same id.\r
+> \r
+> It strikes me that notmuch is not well suited to this in general. For\r
+> example, how would you find the filenames for the two messages with the\r
+> same message id?\r
+\r
+Currently, it is probably not possible but I can imagine that "notmuch\r
+show" will output all file names associated with the message id and user\r
+could select between them if he needs.\r
+\r
+M.\r