summaryrefslogtreecommitdiffstats
path: root/test5.hs
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-01-31 14:49:25 +0100
committertv <tv@shackspace.de>2015-01-31 15:13:00 +0100
commit39e76d0c83515a98f84f06b1c3b430d1e67cd1cd (patch)
tree928ddf6f729fe18c9e78858c340056c86dd855eb /test5.hs
parentc2c06d1d436df298cc60e3af37684de056eb2fc9 (diff)
Notmuch: "id:" and "thread:" are part of ID
Diffstat (limited to 'test5.hs')
-rw-r--r--test5.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/test5.hs b/test5.hs
index 0c3dbf2..b9ca124 100644
--- a/test5.hs
+++ b/test5.hs
@@ -448,7 +448,7 @@ replyToAll q@State{..} = case getMessage (Z.label cursor) of
(_, _, _, procH) <-
withFile "/dev/null" ReadMode $ \nullH ->
createProcess
- (proc "notmuch" [ "reply" , "id:" ++ msgId ])
+ (proc "notmuch" [ "reply" , msgId ])
{ std_in = UseHandle nullH
, std_out = UseHandle draftH
}
@@ -496,7 +496,7 @@ viewSource q@State{..} = case getMessage (Z.label cursor) of
(_, _, _, procH) <-
withFile "/dev/null" ReadMode $ \nullH ->
createProcess
- (proc "notmuch" [ "show", "--format=raw", "id:" ++ msgId ])
+ (proc "notmuch" [ "show", "--format=raw", msgId ])
{ std_in = UseHandle nullH
, std_out = UseHandle draftH
}
@@ -516,7 +516,7 @@ editTags q@State{..} = case Z.label cursor of
TVSearchResult sr -> do
edit
(Notmuch.searchTags sr)
- ("thread:" <> (Notmuch.unThreadID $ Notmuch.searchThread sr))
+ (Notmuch.unThreadID $ Notmuch.searchThread sr)
(\tagOps loc ->
Z.modifyTree (patchTreeTags tagOps) loc
)
@@ -524,7 +524,7 @@ editTags q@State{..} = case Z.label cursor of
TVMessage m -> do
edit
(Notmuch.messageTags m)
- ("id:" <> (Notmuch.unMessageID $ Notmuch.messageId m)) -- TODO describe war besser
+ (Notmuch.unMessageID $ Notmuch.messageId m) -- TODO describe war besser
(\tagOps mloc ->
-- TODO this needs test cases
let