* src/summaryview.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 14 Dec 2003 12:08:20 +0000 (12:08 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 14 Dec 2003 12:08:20 +0000 (12:08 +0000)
* src/common/utils.c
allow quick finding based on the result of passing
a message to an external command. E.g:

X "bogofilter < %F"

gets me all the spam in a folder.

ChangeLog.claws
configure.ac
src/common/utils.c
src/summaryview.c

index 17e7aee44b433a16dace99609074920c8a7e1d37..6d5f593ec47441f4fdec270584600ae23529c5b0 100644 (file)
@@ -1,3 +1,14 @@
+2003-12-14 [alfons]    0.9.7claws42
+
+       * src/summaryview.c
+       * src/common/utils.c
+               allow quick finding based on the result of passing
+               a message to an external command. E.g:
+
+                       X "bogofilter < %F" 
+               
+               gets me all the spam in a folder.
+               
 2003-12-14 [luke]      0.9.7claws41
        * src/textview.c
        * src/mimeview.c
index 7181b9e98ddd2eae7167d1f8de03110f5649ef78..32910ee434c02e950f3c5496a177e3f9645bffb6 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=7
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=41
+EXTRA_VERSION=42
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 6cb5dca20e3c7712ec31f0a5d19e35aa8048cd84..86f0892551bc6fc3b615b049a110ffd33c126751 100644 (file)
@@ -3483,6 +3483,7 @@ gchar *expand_search_string(const gchar *search_string)
                { "T",  "marked",                       0,      FALSE,  FALSE },
                { "U",  "unread",                       0,      FALSE,  FALSE },
                { "x",  "header \"References\"",        1,      TRUE,   TRUE  },
+               { "X",  "test",                         1,      FALSE,  FALSE }, 
                { "y",  "header \"X-Label\"",           1,      TRUE,   TRUE  },
                { "&",  "&",                            0,      FALSE,  FALSE },
                { "|",  "|",                            0,      FALSE,  FALSE },
index 3cce3380357ef37b17fc937e3fd8def8ab37b52f..a9bee286e46caad5c3f98d8227826acb1243c8a8 100644 (file)
@@ -506,6 +506,7 @@ static gchar *search_descr_strings[] = {
        "T",     N_("marked messages"),
        "U",     N_("unread messages"),
        "x S",   N_("messages which contain S in References header"),
+       "X cmd", N_("messages returning 0 when passed to command"),
        "y S",   N_("messages which contain S in X-Label header"),
         "",     "" ,
        "&",     N_("logical AND operator"),