[sup-talk] Ignore killed messages in U screen

Edward Z. Yang ezyang at MIT.EDU
Thu Aug 27 11:36:28 EDT 2009


>From e01820e5914c4fb8deb5836473aa37553e5a6234 Mon Sep 17 00:00:00 2001
From: Edward Z. Yang <ezyang at mit.edu>
Date: Wed, 26 Aug 2009 10:45:26 -0400
Subject: [PATCH] Do not display killed messages in unread screen.

Signed-off-by: Edward Z. Yang <ezyang at mit.edu>
---
 bin/sup |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/sup b/bin/sup
index bbb6c17..645a9a1 100755
--- a/bin/sup
+++ b/bin/sup
@@ -263,7 +263,7 @@ begin
       next unless query && query !~ /^\s*$/
       SearchResultsMode.spawn_from_query query
     when :search_unread
-      SearchResultsMode.spawn_from_query "is:unread"
+      SearchResultsMode.spawn_from_query "is:unread !label:killed"
     when :list_labels
       labels = LabelManager.all_labels.map { |l| LabelManager.string_for l }
       user_label = bm.ask_with_completions :label, "Show threads with label (enter for listing): ", labels
-- 
1.6.4


More information about the sup-talk mailing list