branch: externals/denote commit ad4b9a380ab59b386d56ddfecb48d15f063f5ffb Author: Elias Storms <elias.sto...@gmail.com> Commit: Elias Storms <elias.sto...@gmail.com>
Add documentation on rx options for insert links dblock --- denote-org-dblock.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/denote-org-dblock.el b/denote-org-dblock.el index a55cdd783c..22ec86b11a 100644 --- a/denote-org-dblock.el +++ b/denote-org-dblock.el @@ -55,7 +55,9 @@ ;; ;; With point at the #+BEGIN: line, pressing 'C-c C-c' will replace the ;; contents of the block with links to notes matching the search -;; ':regexp'. See also the denote manual on 'denote-link-add-links'. +;; ':regexp'. The regular expression can be either a regexp string or +;; a sexp form (the latter is translated via rx). +;; See also the denote manual on 'denote-link-add-links'. ;; ;; Inserting a block can be done via the Org-mode entry point ;; 'org-dynamic-block-insert-dblock' and selecting 'denote-links' from @@ -64,7 +66,8 @@ ;; ;; Org Dynamic blocks of the denote-links type can have the follwoing ;; arguments (in any order): -;; 1. :regexp "string" -- the search input (required) +;; 1. :regexp input -- the search input (required), either as a +;; regexp string or a sexp (in rx notation) ;; 2. :missing-only t -- to only include missing links ;; 3. :reverse t -- reverse sort order (or don't, when nil) ;; 4. :block-name "n" -- to include a name for later processing