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