emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote fba0bb2650 7/9: Document the :not-regexp paramet


From: ELPA Syncer
Subject: [elpa] externals/denote fba0bb2650 7/9: Document the :not-regexp parameter of the Org dynamic blocks
Date: Wed, 4 Dec 2024 09:58:05 -0500 (EST)

branch: externals/denote
commit fba0bb2650c318ba273352742869d9d1bdfe8e59
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Document the :not-regexp parameter of the Org dynamic blocks
---
 README.org | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/README.org b/README.org
index 2603b8c787..f199a84772 100644
--- a/README.org
+++ b/README.org
@@ -3679,7 +3679,7 @@ The =denote-links= block can be inserted at point with 
the command
 ~denote-org-extras-dblock-insert-links~ or by manually including the
 following in an Org file:
 
-: #+BEGIN: denote-links :regexp "YOUR REGEXP HERE" :excluded-dirs-regexp nil 
:sort-by-component nil :reverse-sort nil :id-only nil :include-date nil
+: #+BEGIN: denote-links :regexp "YOUR REGEXP HERE" :not-regexp 
:excluded-dirs-regexp nil :sort-by-component nil :reverse-sort nil :id-only nil 
:include-date nil
 :
 : #+END:
 
@@ -3703,6 +3703,10 @@ line to update the block.
   meaningful results: even something like =_journal= will work to
   include all files that have a =journal= keyword.
 
+- The =:not-regexp= parameter is optional. It is a regular expression
+  that applies after =:regexp= to filter out the matching files. [
+  Part of {{{development-version}}}. ]
+
 - The =:excluded-dirs-regexp= is a string that contains a word or
   regular expression that matches against directory files names
   to-be-excluded from the results. This has the same meaning as
@@ -3835,7 +3839,7 @@ or manually write the following block in an Org file and 
then type
  =C-c C-x C-u= (~org-dblock-update~) on the =#+BEGIN= line to run it
 (do it again to recalculate the block):
 
-: #+BEGIN: denote-files :regexp "YOUR REGEXP HERE" :sort-by-component nil 
:reverse-sort nil :no-front-matter nil :file-separator nil :add-links nil
+: #+BEGIN: denote-files :regexp "YOUR REGEXP HERE" :not-regexp nil 
:sort-by-component nil :reverse-sort nil :no-front-matter nil :file-separator 
nil :add-links nil
 :
 : #+END:
 
@@ -3850,7 +3854,6 @@ Remember to type =C-c C-x C-u= (~org-dblock-update~) with 
point on the
 To fully control the output, include these additional optional
 parameters, which are described further below:
 
-
 - The =:regexp= parameter is mandatory. Its value is a string,
   representing a regular expression to match Denote file names. Its
   value may also be an ~rx~ expression instead of a string, as noted
@@ -3859,6 +3862,10 @@ parameters, which are described further below:
   get meaningful results: even something like =_journal= will work to
   include all files that have a =journal= keyword.
 
+- The =:not-regexp= parameter is optional. It is a regular expression
+  that applies after =:regexp= to filter out the matching files. [
+  Part of {{{development-version}}}. ]
+
 - The =:excluded-dirs-regexp= is a string that contains a word or
   regular expression that matches against directory files names
   to-be-excluded from the results. This has the same meaning as
@@ -3953,7 +3960,7 @@ In its simplest form, this dynamic block looks like this, 
with
 Though when you use the command 
~denote-org-extras-dblock-insert-files-as-headings~
 you get all the parameters included:
 
-: #+BEGIN: denote-files-as-headings :regexp "YOUR REGEXP HERE" 
:excluded-dirs-regexp nil :sort-by-component title :reverse-sort nil :add-links 
t
+: #+BEGIN: denote-files-as-headings :regexp "YOUR REGEXP HERE" :not-regexp nil 
:excluded-dirs-regexp nil :sort-by-component title :reverse-sort nil :add-links 
t
 :
 : #+END:
 
@@ -3965,6 +3972,10 @@ you get all the parameters included:
   get meaningful results: even something like =_journal= will work to
   include all files that have a =journal= keyword.
 
+- The =:not-regexp= parameter is optional. It is a regular expression
+  that applies after =:regexp= to filter out the matching files. [
+  Part of {{{development-version}}}. ]
+
 - The =:excluded-dirs-regexp= is a string that contains a word or
   regular expression that matches against directory files names
   to-be-excluded from the results. This has the same meaning as



reply via email to

[Prev in Thread] Current Thread [Next in Thread]