Notes: Add todo
This commit is contained in:
parent
28fce8b871
commit
a7d8018f64
1 changed files with 23 additions and 0 deletions
23
notes.org
23
notes.org
|
|
@ -4,6 +4,29 @@
|
|||
|
||||
** TODO Update commentary
|
||||
|
||||
** TODO [#B] Implied string literal regexp selector
|
||||
|
||||
As mentioned [[https://www.reddit.com/r/emacs/comments/c8e0zp/my_gnu_hyperbole_vision_quest_odyssey_two/esmtqow/][here]]:
|
||||
|
||||
#+BEGIN_QUOTE markdown
|
||||
> Third – The “StringFind” search tool seems to be busted currently, but it’s pretty killer when it works. Basically, it lets you do boolean searches through records, so entering:
|
||||
|
||||
> `(and sonnet italian (not petrarch))`
|
||||
|
||||
`helm-org-rifle` provides this, e.g. the equivalent query would be:
|
||||
|
||||
`sonnet italian !petrarch`
|
||||
|
||||
`org-ql` also provides a lispy way to do this, e.g.:
|
||||
|
||||
(org-ql "poetry.org"
|
||||
(and (regexp "sonnet")
|
||||
(regexp "italian")
|
||||
(not (regexp "petrarch"))))
|
||||
|
||||
It is more verbose because of the explicit `regexp` selector, but it would be easy to add an implied string literal selector. Putting that on the to-do list now... ;)
|
||||
#+END_QUOTE
|
||||
|
||||
** TODO [#A] Tools for saving queries and accessing them
|
||||
|
||||
*** TODO Save query from ql-agenda buffer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue