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 178E84196F2 for ; Tue, 20 Apr 2010 04:30:53 -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 mX+++1U-9V79 for ; Tue, 20 Apr 2010 04:30:52 -0700 (PDT) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by olra.theworths.org (Postfix) with ESMTP id 434E5431FC1 for ; Tue, 20 Apr 2010 04:30:52 -0700 (PDT) Received: by wwb28 with SMTP id 28so659370wwb.26 for ; Tue, 20 Apr 2010 04:30:51 -0700 (PDT) Received: by 10.216.181.13 with SMTP id k13mr1814768wem.118.1271763051466; Tue, 20 Apr 2010 04:30:51 -0700 (PDT) Received: from ut.hh.sledj.net (gmp-ea-fw-1.sun.com [192.18.1.36]) by mx.google.com with ESMTPS id x14sm57063334wbs.18.2010.04.20.04.30.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 Apr 2010 04:30:50 -0700 (PDT) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id E121B594163; Tue, 20 Apr 2010 12:30:49 +0100 (BST) To: Michal Sojka , Sebastian Spaeth Subject: Re: [PATCH 1/2] Add 'cat' subcommand In-Reply-To: <87y6ginzq7.fsf@steelpick.2x.cz> 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> <87y6ginzq7.fsf@steelpick.2x.cz> User-Agent: Notmuch/0.2-20-g89ec2c1 (http://notmuchmail.org) Emacs/23.1.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Tue, 20 Apr 2010 12:30:49 +0100 Message-ID: <87d3xu7446.fsf@ut.hh.sledj.net> 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:30:53 -0000 On Tue, 20 Apr 2010 13:13:36 +0200, Michal Sojka wrote: > 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. If the filenames are really 'unique message identifiers' and may not work when passed to open(2), then I don't have a problem. dme. -- David Edmondson, http://dme.org