[PATCH 1/2] Add 'cat' subcommand

Michal Sojka sojkam1 at fel.cvut.cz
Tue Apr 20 04:13:36 PDT 2010


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


More information about the notmuch mailing list