heading predicate will search bare strings instead of regexps.
This commit is contained in:
parent
486778e9fa
commit
1464d150d6
1 changed files with 2 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ Arguments are listed next to predicate names, where applicable.
|
||||||
+ =descendants (&optional query)= :: Return non-nil if current heading has descendant headings. If ~QUERY~, test it against descendant headings. This selector may be nested (if you can grok the nesting!).
|
+ =descendants (&optional query)= :: Return non-nil if current heading has descendant headings. If ~QUERY~, test it against descendant headings. This selector may be nested (if you can grok the nesting!).
|
||||||
+ =done= :: Return non-nil if entry's ~TODO~ keyword is in ~org-done-keywords~.
|
+ =done= :: Return non-nil if entry's ~TODO~ keyword is in ~org-done-keywords~.
|
||||||
+ =habit= :: Return non-nil if entry is a habit.
|
+ =habit= :: Return non-nil if entry is a habit.
|
||||||
+ =heading (&rest regexps)= :: Return non-nil if current entry's heading matches all ~REGEXPS~ (regexp strings).
|
+ =heading (&rest strings)= :: Return non-nil if current entry's heading matches all ~STRINGS~.
|
||||||
- Aliases: =h=.
|
- Aliases: =h=.
|
||||||
+ =heading-regexp (&rest regexps)= :: Return non-nil if current entry's heading matches all ~REGEXPS~ (regexp strings).
|
+ =heading-regexp (&rest regexps)= :: Return non-nil if current entry's heading matches all ~REGEXPS~ (regexp strings).
|
||||||
+ =level (level-or-comparator &optional level)= :: Return non-nil if current heading's outline level matches arguments. The following forms are accepted: ~(level NUMBER)~: Matches if heading level is ~NUMBER~. ~(level NUMBER NUMBER)~: Matches if heading level is equal to or between NUMBERs. ~(level COMPARATOR NUMBER)~: Matches if heading level compares to ~NUMBER~ with ~COMPARATOR~. ~COMPARATOR~ may be ~<~, ~<=~, ~>~, or ~>=~.
|
+ =level (level-or-comparator &optional level)= :: Return non-nil if current heading's outline level matches arguments. The following forms are accepted: ~(level NUMBER)~: Matches if heading level is ~NUMBER~. ~(level NUMBER NUMBER)~: Matches if heading level is equal to or between NUMBERs. ~(level COMPARATOR NUMBER)~: Matches if heading level compares to ~NUMBER~ with ~COMPARATOR~. ~COMPARATOR~ may be ~<~, ~<=~, ~>~, or ~>=~.
|
||||||
|
|
@ -387,6 +387,7 @@ Expands into a call to ~org-ql-select~ with the same arguments. For convenience
|
||||||
+ *Queries*
|
+ *Queries*
|
||||||
- Negation of terms in plain queries using ~!~. For example, ~tags:space !moon~ to exclude entries which contain ~moon~.
|
- Negation of terms in plain queries using ~!~. For example, ~tags:space !moon~ to exclude entries which contain ~moon~.
|
||||||
- Predicates =outline-path= (alias =olp=) and =outline-path-segment= (alias =olps=).
|
- Predicates =outline-path= (alias =olp=) and =outline-path-segment= (alias =olps=).
|
||||||
|
- Predicate ~heading~ search bare strings instead of regexps.
|
||||||
- Predicate ~heading-regexp~, which matchs heading with regexps.
|
- Predicate ~heading-regexp~, which matchs heading with regexps.
|
||||||
- Predicate ~src~, which matches Org Babel source blocks.
|
- Predicate ~src~, which matches Org Babel source blocks.
|
||||||
- Alias =h= for =heading= predicate.
|
- Alias =h= for =heading= predicate.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue