{
snprintf(buf2, sizeof(buf2), "!~R!~D~s%s",
Context->pattern ? Context->pattern : ".*");
- OptHideRead = true;
}
else
{
mutt_str_strfcpy(buf2, Context->pattern + 8, sizeof(buf2));
if (!*buf2 || (strncmp(buf2, ".*", 2) == 0))
snprintf(buf2, sizeof(buf2), "~A");
- OptHideRead = false;
}
FREE(&Context->pattern);
Context->pattern = mutt_str_strdup(buf2);
+ mutt_pattern_func(MUTT_LIMIT, NULL);
}
if (((op == OP_LIMIT_CURRENT_THREAD) && mutt_limit_current_thread(CURHDR)) ||
+ (op == OP_TOGGLE_READ) ||
((op == OP_MAIN_LIMIT) &&
(mutt_pattern_func(MUTT_LIMIT,
_("Limit to messages matching: ")) == 0)))
WHERE bool OptAuxSort; /**< (pseudo) using auxiliary sort function */
WHERE bool OptDontHandlePgpKeys; /**< (pseudo) used to extract PGP keys */
WHERE bool OptForceRefresh; /**< (pseudo) refresh even during macros */
-WHERE bool OptHideRead; /**< (pseudo) whether or not hide read messages */
WHERE bool OptIgnoreMacroEvents; /**< (pseudo) don't process macro/push/exec events while set */
WHERE bool OptKeepQuiet; /**< (pseudo) shut up the message and refresh functions while we are executing an external program. */
WHERE bool OptMenuCaller; /**< (pseudo) tell menu to give caller a take */