[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote bb4fda2f1f 09/11: Use more specific prompts in '
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote bb4fda2f1f 09/11: Use more specific prompts in 'denote-add-front-matter' |
Date: |
Thu, 29 Feb 2024 03:57:59 -0500 (EST) |
branch: externals/denote
commit bb4fda2f1f3c03ad45586760ecc4d835a67f2192
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Use more specific prompts in 'denote-add-front-matter'
---
denote.el | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/denote.el b/denote.el
index 3d467dcd18..c7d70fe2ab 100644
--- a/denote.el
+++ b/denote.el
@@ -3078,12 +3078,22 @@ Note that this command is useful only for existing
Denote notes.
If the user needs to convert a generic text file to a Denote
note, they can use one of the command which first rename the file
to make it comply with our file-naming scheme and then add the
-relevant front matter."
+relevant front matter.
+
+[ NOTE: Please check with your minibuffer user interface how to
+ provide an empty input. The Emacs default setup accepts the
+ empty minibuffer contents as they are, though popular packages
+ like `vertico' use the first available completion candidate
+ instead. For `vertico', the user must either move one up to
+ select the prompt and then type RET there with empty contents,
+ or use the command `vertico-exit-input' with empty contents.
+ That Vertico command is bound to M-RET as of this writing on
+ 2024-02-29 09:24 +0200. ]"
(interactive
(list
(buffer-file-name)
- (denote-title-prompt)
- (denote-keywords-sort (denote-keywords-prompt))))
+ (denote-title-prompt nil "Add TITLE (empty to ignore)")
+ (denote-keywords-sort (denote-keywords-prompt "Add KEYWORDS (empty to
ignore)"))))
(when-let ((denote-file-is-writable-and-supported-p file)
(id (denote-retrieve-filename-identifier file))
(file-type (denote-filetype-heuristics file)))
- [elpa] externals/denote updated (d6da5ba074 -> 8e30eb435c), ELPA Syncer, 2024/02/29
- [elpa] externals/denote 6a486173a5 02/11: Reinstate relative file paths in 'denote-file-prompt', ELPA Syncer, 2024/02/29
- [elpa] externals/denote d05e6b8da0 07/11: Tweak default prompt text of 'denote-keywords-prompt', ELPA Syncer, 2024/02/29
- [elpa] externals/denote 970b06c360 04/11: Make 'denote-link-or-create' not fail if there are no files (also see 8b6c019), ELPA Syncer, 2024/02/29
- [elpa] externals/denote ac0c361385 01/11: Remove the denote "modules" integration, ELPA Syncer, 2024/02/29
- [elpa] externals/denote c50167d03b 08/11: Make denote-keywords-add prompt more specific, ELPA Syncer, 2024/02/29
- [elpa] externals/denote a0796ef2d3 10/11: Simplify denote-file-prompt and make it always add absolute paths to its history, ELPA Syncer, 2024/02/29
- [elpa] externals/denote bb4fda2f1f 09/11: Use more specific prompts in 'denote-add-front-matter',
ELPA Syncer <=
- [elpa] externals/denote 8e30eb435c 11/11: Revise comment about denote-file-prompt, ELPA Syncer, 2024/02/29
- [elpa] externals/denote f8a63fbc52 06/11: Tweak default prompt text of 'denote-signature-prompt', ELPA Syncer, 2024/02/29
- [elpa] externals/denote 8b6c01915b 03/11: Make 'denote-file-prompt' not choke on an empty 'denote-directory-files' return value, ELPA Syncer, 2024/02/29
- [elpa] externals/denote 3c1662db48 05/11: Tweak default prompt text of 'denote-title-prompt', ELPA Syncer, 2024/02/29