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 9E42D4196F2 for ; Tue, 20 Apr 2010 00:21:30 -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 Cas+enwjSKTF for ; Tue, 20 Apr 2010 00:21:30 -0700 (PDT) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by olra.theworths.org (Postfix) with ESMTP id C1E39431FC1 for ; Tue, 20 Apr 2010 00:21:29 -0700 (PDT) Received: by wyj26 with SMTP id 26so3216912wyj.26 for ; Tue, 20 Apr 2010 00:21:29 -0700 (PDT) Received: by 10.216.180.202 with SMTP id j52mr1961625wem.214.1271748088331; Tue, 20 Apr 2010 00:21:28 -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 z3sm55506084wbs.10.2010.04.20.00.21.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 Apr 2010 00:21:26 -0700 (PDT) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id 6BEB3594163; Tue, 20 Apr 2010 08:21:25 +0100 (BST) To: Michal Sojka , notmuch@notmuchmail.org Subject: Re: [PATCH 1/2] Add 'cat' subcommand In-Reply-To: <1271747793-17507-1-git-send-email-sojkam1@fel.cvut.cz> References: <1271747793-17507-1-git-send-email-sojkam1@fel.cvut.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 08:21:25 +0100 Message-ID: <87pr1u7fnu.fsf@ut.hh.sledj.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 07:21:30 -0000 On Tue, 20 Apr 2010 09:16:32 +0200, Michal Sojka wrote: > This command dumps a raw message identified by a filename to the > standard output. It allows MUAs to access the messages for piping, > attachment manipulation, etc. in the same way as it is done in > notmuch-show-mode (through notmuch show subcommand). This will simplify > the MUAs when they need to operate with a remote database. I'm puzzled why you chose to pass a filename as the argument to 'cat' rather than a message id (id:foo@bar.com)? Removing knowledge of filenames (or that anything is stored as a file) from the UI seems like a good idea. dme. -- David Edmondson, http://dme.org