[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 357c363242 17/33: Clarify that absent denote-pro
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 357c363242 17/33: Clarify that absent denote-prompts mean nil for relevant denote-rename-file arguments |
Date: |
Wed, 14 Feb 2024 06:57:48 -0500 (EST) |
branch: externals/denote
commit 357c3632424c44e0d5dcedd98fe3db58f5e417f5
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Clarify that absent denote-prompts mean nil for relevant denote-rename-file
arguments
---
README.org | 7 ++++++-
denote.el | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/README.org b/README.org
index 39f30d4066..9134b3781f 100644
--- a/README.org
+++ b/README.org
@@ -1205,7 +1205,12 @@ separated by a comma, else the ~crm-sepator~).
For all prompts, the ~denote-rename-file~ interprets an empty input as
an instruction to remove that file name component. For example, if a
=TITLE= prompt is available and =FILE= is
=20240211T093531--some-title__keyword1.org=
-then it renames =FILE= to =20240211T093531__keyword1.org=.
+then it renames =FILE= to =20240211T093531__keyword1.org=. For
+interactive use, this also means that if a prompt is missing from the
+~denote-prompts~ the corresponding file name component will be removed
+during the renaming process (e.g. a ~denote-prompts~ without an entry
+for keywords is the same as passing an empty/nil =KEYWORDS= argument,
+thus removing the keywords of the file).
[ NOTE: Please check with your minibuffer user interface how to
provide an empty input. The Emacs default setup accepts the empty
diff --git a/denote.el b/denote.el
index 1f63b297d4..3fc8749a04 100644
--- a/denote.el
+++ b/denote.el
@@ -2704,7 +2704,12 @@ keywords, each separated by a comma, else the
`crm-sepator').
For all prompts, interpret an empty input as an instruction to
remove that file name component. For example, if a TITLE prompt
is available and FILE is 20240211T093531--some-title__keyword1.org
-then rename FILE to 20240211T093531__keyword1.org.
+then rename FILE to 20240211T093531__keyword1.org. For
+interactive use, this also means that if a prompt is missing from
+the `denote-prompts' the corresponding file name component will
+be removed during the renaming process (e.g. a `denote-prompts'
+without an entry for keywords is the same as passing an empty/nil
+KEYWORDS argument, thus removing the keywords of the file).
[ NOTE: Please check with your minibuffer user interface how to
provide an empty input. The Emacs default setup accepts the
- [elpa] externals/denote updated (561911e747 -> 1d6ea5a6d9), ELPA Syncer, 2024/02/14
- [elpa] externals/denote 9a764923bc 01/33: Add WORK-IN-PROGRESS implementation of 'denote-rename-file' that honours 'denote-prompts', ELPA Syncer, 2024/02/14
- [elpa] externals/denote 779ef33436 03/33: Merge pull request #248 from vedang/rename-honours-denote-prompts, ELPA Syncer, 2024/02/14
- [elpa] externals/denote aa865fa0d9 06/33: Update denote-rename-file doc string to describe its current behaviour, ELPA Syncer, 2024/02/14
- [elpa] externals/denote e9e9c8ef2b 07/33: Tweak the behaviour of denote-create-unique-file-identifier, ELPA Syncer, 2024/02/14
- [elpa] externals/denote b02bf9d7c2 09/33: Add TODO about possible tweak to denote-rename-file, ELPA Syncer, 2024/02/14
- [elpa] externals/denote 764125525e 12/33: Broaden the scope of denote-rename-no-confirm to save buffers as well, ELPA Syncer, 2024/02/14
- [elpa] externals/denote 357c363242 17/33: Clarify that absent denote-prompts mean nil for relevant denote-rename-file arguments,
ELPA Syncer <=
- [elpa] externals/denote ce9e2dd1bf 13/33: Complete the documentation of denote-rename-file, noting all modalities of interaction, ELPA Syncer, 2024/02/14
- [elpa] externals/denote ab20f4b0af 15/33: Make denote-dired-rename-files honour the denote-prompts (same as denote-rename-file), ELPA Syncer, 2024/02/14
- [elpa] externals/denote 37508c99d4 16/33: Update the documentation of denote-dired-rename-marked-files, ELPA Syncer, 2024/02/14
- [elpa] externals/denote 4cce51a092 22/33: Change how denote-rename-file passes DATE to denote-create-unique-file-identifier (per e9e9c8e), ELPA Syncer, 2024/02/14
- [elpa] externals/denote c5f8ef1d8a 23/33: Add TODO about possible tweak to denote-rename-file, ELPA Syncer, 2024/02/14
- [elpa] externals/denote 8faf120dff 26/33: Broaden the scope of denote-rename-no-confirm to save buffers as well, ELPA Syncer, 2024/02/14
- [elpa] externals/denote 77eafb2dfe 25/33: Start updating the manual for denote-rename-file (WORK-IN-PROGRESS), ELPA Syncer, 2024/02/14
- [elpa] externals/denote adf8c6fdc8 02/33: Update denote-create-* commands to respect `denote-prompts`, ELPA Syncer, 2024/02/14
- [elpa] externals/denote ad13d32348 31/33: Clarify that absent denote-prompts mean nil for relevant denote-rename-file arguments, ELPA Syncer, 2024/02/14
- [elpa] externals/denote 1cdb49e227 32/33: Merge branch 'rename-honours-denote-prompts' of github.com:protesilaos/denote into rename-honours-denote-prompts, ELPA Syncer, 2024/02/14