Automatic context detection

Script looks up for known contexts or displays all if no contexts are found.
Added by Denis Zhuravlyov about 5 years ago

By the moment the script can determine which context to display. It searches for the context display (may be defined as context.display in config file) and applies the context filter. If such context is not found, it tries to apply default context filter defined in rc.context (last active context user switched to). If no contexts are found at all, script switches to old behaviour and displays all pending tasks which are not blocked by other tasks.