mutt_cache_index_colors (ctx);
for (i = 0; ctx && i < ctx->msgcount; i++) ctx->hdrs[i]->pair = 0;
void mutt_check_rescore (CONTEXT *ctx){  int i;  if (option (OPTNEEDRESCORE))  {    if ((Sort & SORT_MASK) == SORT_SCORE ||	(SortAux & SORT_MASK) == SORT_SCORE)    {      set_option (OPTNEEDRESORT);      if ((Sort & SORT_MASK) == SORT_THREADS)	set_option (OPTSORTSUBTHREADS);    }    /* must redraw the index since the user might have %N in it */    set_option (OPTFORCEREDRAWINDEX);    set_option (OPTFORCEREDRAWPAGER);    for (i = 0; i < ctx->msgcount; i++)      mutt_score_message (ctx->hdrs[i]);    mutt_cache_index_colors (ctx);    unset_option (OPTNEEDRESCORE);  }}