Add: tags-all, tags&
This commit is contained in:
parent
dcad551760
commit
f55aae782c
3 changed files with 15 additions and 1 deletions
|
|
@ -221,6 +221,8 @@ Arguments are listed next to predicate names, where applicable.
|
|||
- Aliases: =inherited-tags=, =tags-i=, =itags=.
|
||||
+ =tags-local (&optional tags)= :: Return non-nil if current heading's local tags include one or more of =TAGS= (a list of strings). If TAGS is nil, return non-nil if heading has any local tags.
|
||||
- Aliases: =local-tags=, =tags-l=, =ltags=.
|
||||
+ =tags-all (tags)= :: Return non-nil if current heading includes all of =TAGS=. Tests both inherited and local tags.
|
||||
- Aliases: =tags&=.
|
||||
+ ~todo (&optional keywords)~ :: Return non-nil if current heading is a ~TODO~ item. With ~KEYWORDS~, return non-nil if its keyword is one of ~KEYWORDS~ (a list of strings). When called without arguments, only matches non-done tasks (i.e. does not match keywords in ~org-done-keywords~).
|
||||
|
||||
*** Date/time predicates
|
||||
|
|
@ -461,6 +463,7 @@ Expands into a call to ~org-ql-select~ with the same arguments. For convenience
|
|||
+ More tags-related predicates and aliases:
|
||||
- For inherited tags: =tags-inherited=, =inherited-tags=, =tags-i=, =itags=.
|
||||
- For heading-local tags: =tags-local=, =local-tags=, =tags-l=, =ltags=.
|
||||
- =tags-all=, =tags&=: Matches all given tags using boolean =AND= (rather than boolean =OR=, which the =tags= predicate uses).
|
||||
|
||||
** 0.2
|
||||
:PROPERTIES:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue