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

[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)))



reply via email to

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