Change/Fix: (src) predicate
Use keyword args, fix non-sexp syntax and searching.
This commit is contained in:
parent
af0ef304e1
commit
6b2004e678
3 changed files with 60 additions and 37 deletions
41
org-ql.info
41
org-ql.info
|
|
@ -329,7 +329,7 @@ default, when multiple predicates are used, they are combined with
|
|||
boolean and.
|
||||
|
||||
Sexp syntax Non-sexp syntax
|
||||
------------------------------------------------------------------------------------------------
|
||||
-------------------------------------------------------------------------------------------------------
|
||||
‘(todo)’ ‘todo:’
|
||||
‘(todo "SOMEDAY")’ ‘todo:SOMEDAY’
|
||||
‘(todo "SOMEDAY" "WAITING")’ ‘todo:SOMEDAY,WAITING’
|
||||
|
|
@ -338,6 +338,7 @@ Sexp syntax Non-sexp syntax
|
|||
‘(clocked :on -1)’ ‘clocked:on=-1’
|
||||
‘(heading "quoted phrase" "word")’ ‘heading:"quoted phrase",word’
|
||||
‘(and (tags "book" "books") (priority "A"))’ ‘tags:book,books priority:A’
|
||||
‘(src :lang "elisp" :regexps ("defun"))’ ‘src:defun,lang=elisp’ or ‘src:lang=elisp,defun’
|
||||
‘(priority >= B)’ ‘priority:A,B’
|
||||
|
||||
Note that the priority predicate does not support comparators in the
|
||||
|
|
@ -411,7 +412,7 @@ Arguments are listed next to predicate names, where applicable.
|
|||
Return non-nil if current entry matches all of ‘REGEXPS’ (regexp
|
||||
strings). Matches against entire entry, from beginning of its
|
||||
heading to the next heading.
|
||||
‘‘src (&optional lang regexps)’’
|
||||
‘‘src (&key lang regexps)’’
|
||||
Return non-nil if current entry contains an Org Babel source block.
|
||||
If ‘LANG’ is non-nil, match blocks of that language. If ‘REGEXPS’
|
||||
is non-nil, require that block’s contents match all regexps.
|
||||
|
|
@ -979,24 +980,24 @@ Node: org-ql-view-recent-items6452
|
|||
Node: org-ql-sparse-tree6936
|
||||
Node: Queries7736
|
||||
Node: Non-sexp query syntax8578
|
||||
Node: Predicates10078
|
||||
Node: Date/time predicates15197
|
||||
Node: Functions / Macros17832
|
||||
Node: Agenda-like views18019
|
||||
Node: Listing / acting-on results19424
|
||||
Node: Changelog24026
|
||||
Node: 04-pre24548
|
||||
Node: 03125492
|
||||
Node: 0325690
|
||||
Node: 02328663
|
||||
Node: 02228889
|
||||
Node: 02129155
|
||||
Node: 0229352
|
||||
Node: 0133385
|
||||
Node: Notes33484
|
||||
Node: Comparison with Org Agenda searches33646
|
||||
Node: org-sidebar34517
|
||||
Node: License34796
|
||||
Node: Predicates10198
|
||||
Node: Date/time predicates15312
|
||||
Node: Functions / Macros17947
|
||||
Node: Agenda-like views18134
|
||||
Node: Listing / acting-on results19539
|
||||
Node: Changelog24141
|
||||
Node: 04-pre24663
|
||||
Node: 03125607
|
||||
Node: 0325805
|
||||
Node: 02328778
|
||||
Node: 02229004
|
||||
Node: 02129270
|
||||
Node: 0229467
|
||||
Node: 0133500
|
||||
Node: Notes33599
|
||||
Node: Comparison with Org Agenda searches33761
|
||||
Node: org-sidebar34632
|
||||
Node: License34911
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue