Re: [PATCH 1/2] Add 'cat' subcommand

Subject: Re: [PATCH 1/2] Add 'cat' subcommand

Date: Tue, 20 Apr 2010 08:21:25 +0100

To: Michal Sojka, notmuch@notmuchmail.org

Cc:

From: David Edmondson


On Tue, 20 Apr 2010 09:16:32 +0200, Michal Sojka <sojkam1@fel.cvut.cz> 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

Thread: