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

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

Date: Tue, 20 Apr 2010 13:13:36 +0200

To: David Edmondson, Sebastian Spaeth

Cc: notmuch@notmuchmail.org

From: Michal Sojka


On Tue, 20 Apr 2010, David Edmondson wrote:
> On Tue, 20 Apr 2010 12:14:56 +0200, Michal Sojka <sojkam1@fel.cvut.cz> 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.

Thread: