talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit ff4c2884e57ce8edb5634db9cf61d76c2198247f
parent 92c7a4301377ba64de781d41e08127e5b8d3a778
Author: Olivier Brunel <jjk@jjacky.com>
Date:   Wed,  2 Aug 2017 20:48:58 +0200

Speed-up searches in References via "x"

Since commit 5c9f9e47 (in 2001!) the header "References" is actually
cached in MsgInfo, so searching it can be substantially faster if "x"
expands to 'references' instead of 'header "References"', much like with
'i' (messageid) or 'I' (inreplyto).

Diffstat:
Msrc/advsearch.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/advsearch.c b/src/advsearch.c @@ -186,7 +186,7 @@ gchar *advsearch_expand_search_string(const gchar *search_string) { "tg", "tag", 1, TRUE, TRUE }, { "T", "marked", 0, FALSE, FALSE }, { "U", "unread", 0, FALSE, FALSE }, - { "x", "header \"References\"", 1, TRUE, TRUE }, + { "x", "references", 1, TRUE, TRUE }, { "X", "test", 1, FALSE, FALSE }, { "y", "header \"X-Label\"", 1, TRUE, TRUE }, { "&", "&", 0, FALSE, FALSE },