[PATCH 1/2] Add 'cat' subcommand
David Edmondson
dme at dme.org
Tue Apr 20 04:30:49 PDT 2010
On Tue, 20 Apr 2010 13:13:36 +0200, Michal Sojka <sojkam1 at fel.cvut.cz> wrote:
> 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.
If the filenames are really 'unique message identifiers' and may not
work when passed to open(2), then I don't have a problem.
dme.
--
David Edmondson, http://dme.org
More information about the notmuch
mailing list