]> rtime.felk.cvut.cz Git - notmuch.git/commit
Add 'cat' subcommand mailstore-abstraction-v4-part1
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 8 Apr 2010 14:32:48 +0000 (16:32 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 8 Apr 2010 14:32:48 +0000 (16:32 +0200)
commit00bfef8526a15a609420e3f9e1e3913015c4b51d
tree3685c747dde10fa9f3c0c9676117404eac91868a
parentc2d09c1a8429a301fdbfa3ac8861e010b6bd7056
Add 'cat' subcommand

This command dumps raw message identified by filename to standard
output. It uses mail store interface to get the message from the right
place.

notmuch.el was modified to use this command to access the raw message
content (view/save attachments, view raw message and pipe message to
command).

With this patch, it is straightforward to use notmuch emacs interface
remotely over SSH. To do this, it is sufficient to redefine
notmuch-command variable to contain the name of a script containing:

    ssh user@host notmuch "$@"

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
NEWS
emacs/notmuch-show.el
notmuch-client.h
notmuch-show.c
notmuch.c