[PATCH 1/2] Add 'cat' subcommand
David Edmondson
dme at dme.org
Tue Apr 20 00:21:25 PDT 2010
On Tue, 20 Apr 2010 09:16:32 +0200, Michal Sojka <sojkam1 at 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 at 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
More information about the notmuch
mailing list