One feature that I miss from thunderbird is the ability to search on the Cc field as well as To/From/Subject or Tag. I've attached a small patch which makes this possible. I'm running with this on Solaris Express build snv_103. --- ../claws-cvs/claws/src/gtk/quicksearch.c Fri Aug 8 02:38:22 2008 +++ src/gtk/quicksearch.c Sun Dec 14 17:27:57 2008 @@ -584,7 +584,7 @@ G_CALLBACK(searchtype_changed), quicksearch); MENUITEM_ADD (search_type, menuitem, - _("From/To/Subject/Tag"), QUICK_SEARCH_MIXED); + _("From/To/Cc/Subject/Tag"), QUICK_SEARCH_MIXED); g_signal_connect(G_OBJECT(menuitem), "activate", G_CALLBACK(searchtype_changed), quicksearch); @@ -940,6 +940,8 @@ case QUICK_SEARCH_MIXED: if (msginfo->to) to = g_utf8_casefold(msginfo->to, -1); + if (msginfo->cc) + to = g_utf8_casefold(msginfo->cc, -1); if (msginfo->from) from = g_utf8_casefold(msginfo->from, -1); if (msginfo->subject)
Created attachment 651 [details] adds code to support search of Cc field in quicksearch Messaging (.po) files need updating to make this fix complete
Applicable to all OSen that claws-mail runs on.
The patch from 2008-12-14 no longer applies. I'll attach a patch against git head which works for me.
Created attachment 1457 [details] Updated patch against git head
Any chance you can land this?
You can do this in extended mode using c or C command followed by search text
Sure, but that's not very convenient is it? I'm not sure why you'd want to search To but not CC.
Changes related to this bug have been committed. Please check latest Git and update the bug accordingly. You can also get the patch from: http://git.claws-mail.org/ ++ ChangeLog 2015-01-05 11:00:02.622574471 +0100 http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=b88061ed501a9959b16fc18d2f2f32bfc2376624 Merge: 3720167 d4fa1c0 Author: Colin Leroy <colin@colino.net> Date: Mon Jan 5 11:00:02 2015 +0100 Merge branch 'master' of file:///home/git/claws http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=d4fa1c076942efbf17094123c14530d607fb6d09 Author: Ricardo Mones <ricardo@mones.org> Date: Mon Jan 5 10:55:52 2015 +0100 Fix bug #1797 “quicksearch could also search the Cc field” Updated patch by Barry Warsaw <barry@python.org>, thanks!