[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 59f2a61caf 09/10: Document sorting facilities fo
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/denote 59f2a61caf 09/10: Document sorting facilities for 'denote-files' Org dynamic block |
|
Date: |
Thu, 30 Nov 2023 00:57:47 -0500 (EST) |
branch: externals/denote
commit 59f2a61cafb1fe7065105a92d3bfd9bf153876fc
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Document sorting facilities for 'denote-files' Org dynamic block
---
README.org | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/README.org b/README.org
index 1579986294..1b4d2efa5b 100644
--- a/README.org
+++ b/README.org
@@ -2442,7 +2442,9 @@ Remember to type =C-c C-x C-u= (~org-dblock-update~) with
point on the
:CUSTOM_ID: h:f15fa143-5036-416f-9bff-1bcabbb03456
:END:
-[ Part of {{{development-version}}}. ]
+[ Part of {{{development-version}}}. As of 2023-11-30 06:54 +0200 and
+ as part of {{{development-version}}}, this dynamic block also provides
+ facilities for sorting, courtesy of the new =denote-sort.el= library. ]
Denote can optionally use Org's dynamic blocks facility to produce a
section that lists entire file contents
([[#h:8b542c50-dcc9-4bca-8037-a36599b22779][Use Org dynamic blocks]]).
@@ -2467,7 +2469,7 @@ or manually write the following block in an Org file and
then type
To fully control the output, include these additional optional
parameters, which are described further below:
-: #+BEGIN: denote-files :regexp "YOUR REGEXP HERE" :no-front-matter nil
:file-separator t :add-links nil
+: #+BEGIN: denote-files :regexp "YOUR REGEXP HERE" :sort-by-component nil
:reverse-sort nil :no-front-matter nil :file-separator t :add-links nil
:
: #+END:
@@ -2479,6 +2481,18 @@ 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 =:sort-by-component= parameter is optional. It sorts the files
+ by the given Denote file name component. The value it accepts is an
+ unquoted symbol among =title=, =keywords=, =signature=, =identifier=.
+ When using the command ~denote-org-dblock-insert-files~, this
+ parameter is automatically inserted together with the (=:regexp=
+ parameter) and the user is prompted for a file name component.
+
+- The =:reverse-sort= parameter is optional. It reverses the order in
+ which files appear in. This is meaningful even without the presence
+ of the parameter =:sort-by-component=, though it also combines with
+ it.
+
#+vindex: denote-org-dblock-file-contents-separator
- The =:file-separator= parameter is optional. If it is omitted, then
Denote will use the ~denote-org-dblock-file-contents-separator~: it
- [elpa] externals/denote updated (edeaaa735e -> 97f34bdc0c), ELPA Syncer, 2023/11/30
- [elpa] externals/denote cf3c2b8cbe 03/10: Change the arity of denote-sort-files to make only REVERSE be optional, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 1999217a51 06/10: Make sorting work for missing components; remove the macro, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 0ed067e5a8 05/10: Rename symbols for consistency; make denote-sort-component-prompt public, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 97f34bdc0c 10/10: Document denote-sort.el, with 'denote-sort-dired' in particular, ELPA Syncer, 2023/11/30
- [elpa] externals/denote db31cca8fa 02/10: Clarify denote-sort-components docstring, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 3cd4999d1c 01/10: Rename denote-sort-files-keys to denote-sort-components; change to list of symbols, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 4050bf6caf 08/10: Fix denote-org-dblock-add-files case of REVERSE without SORT-BY-COMPONENT, ELPA Syncer, 2023/11/30
- [elpa] externals/denote c98e793eef 07/10: Make 'denote-files' Org dynamic block leverage denote-sort, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 1318e4175e 04/10: Tweak denote-sort-files for clarity, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 59f2a61caf 09/10: Document sorting facilities for 'denote-files' Org dynamic block,
ELPA Syncer <=