diff --git a/ChangeLog b/ChangeLog index f03624991..06d2046a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -56,6 +56,8 @@ + Added a new 'task-faq' man page for common questions and answers. + Added a new 'task-color' man page detailing how to set up and use color in task. + + Added feature #176, which allows for configurable case-sensitivity for keyword + searches and substitutions (thanks to John Florian). + Fixed bug #316 which caused the timesheet report to display an oddly sorted list. + Fixed bug #317 which colored tasks in the 'completed' report according to diff --git a/NEWS b/NEWS index ee963da7c..fd29ff66f 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,10 @@ New Features in task 1.9 - Improved .taskrc validation - Improved calendar report with custom coloring and optional task details output - Holidays are now supported in the calendar report + - Ability to use multiple, similar filter terms, like: + task list project.not:foo project.not:bar + - Ability to do case-sensitive or case-insensitive search for keywords, and + substitutions in the description and annotations. Please refer to the ChangeLog file for full details. There are too many to list here. diff --git a/doc/man/task-faq.5 b/doc/man/task-faq.5 index 12c9d660c..6d55dae97 100644 --- a/doc/man/task-faq.5 +++ b/doc/man/task-faq.5 @@ -89,6 +89,24 @@ function that does the same thing: /usr/local/bin/task $* } +.TP +.B Q: Task searches in a case-sensitive fashion - can I change that? +You can. Just set the following value in your .taskrc file: + + search.case.sensitive=no + +This will affect searching for keywords: + + $ task list Document + +task will perform a caseless search in the description and any annotations for +the keyword 'Document'. It also affects description and annotation +substitutions: + + $ task 1 /teh/the/ + +The pattern on the left will now be a caseless search term. + .SH "CREDITS & COPYRIGHTS" task was written by P. Beckingham . .br diff --git a/doc/man/taskrc.5 b/doc/man/taskrc.5 index c6c1abb32..cf965bc49 100644 --- a/doc/man/taskrc.5 +++ b/doc/man/taskrc.5 @@ -150,6 +150,11 @@ project names you have used, or just the ones used in active tasks. May be yes or no, and determines whether the tab completion scripts consider all the tag names you have used, or just the ones used in active tasks. +.TP +.B search.case.sensitive=yes +May be yes or no, and determines whether keyword lookup and substitutions on the +description and annotations are done in a case sensitive way. Defaults to yes. + .SS DATES .TP