The corresponding section in the TaskPaper User’s Guide says followings:
These are the shortcut forms and what they expand to:
project
expands to@type = project and
task
expands to@type = task and
note
expands to@type = note and
However, there are different edge cases, where the expansion behavior is not so clear:
project
at the end of the search string expands to@type = project
(and
is omitted)project task
seems to expand to@type = project and task
(task
is not expanded)project or task
expands to something, what never yields any results.- etc.
So the question is, actually, how these and other edge cases are handled by the shortcut expansion algorithm.