[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
- [elpa] externals/denote updated (7f4a66d802 -> de786b5e8f), ELPA Syncer, 2024/12/04
- [elpa] externals/denote 4205708b2c 3/9: Document in the manual denote-sort-dired-extra-prompts new exclude-regexp symbol, ELPA Syncer, 2024/12/04
- [elpa] externals/denote d6b3269a17 8/9: Merge branch 'not-regexp', ELPA Syncer, 2024/12/04
- [elpa] externals/denote 663e6e0206 2/9: Document denote-directory-files EXCLUDE-REGEXP in the manual, ELPA Syncer, 2024/12/04
- [elpa] externals/denote a701764b0e 1/9: Start implementing not-regexp feature to exclude those files, ELPA Syncer, 2024/12/04
- [elpa] externals/denote 821095844c 4/9: Clarify the wording about default behaviour of denote-sort-dired command, ELPA Syncer, 2024/12/04
- [elpa] externals/denote 89a6f7c8c2 5/9: Fix bug to make denote-sort-dired exclude files matching regexp (see a701764), ELPA Syncer, 2024/12/04
- [elpa] externals/denote a703f2b686 6/9: Implement WORK-IN-PROGRESS support for :not-regexp to omit files in Org dynamic blocks, ELPA Syncer, 2024/12/04
- [elpa] externals/denote fba0bb2650 7/9: Document the :not-regexp parameter of the Org dynamic blocks,
ELPA Syncer <=
- [elpa] externals/denote de786b5e8f 9/9: Define helper function to parse rx, ELPA Syncer, 2024/12/04