[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 840ffc522f 27/39: Reword and expand doc string o
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 840ffc522f 27/39: Reword and expand doc string of 'denote-prompts' |
Date: |
Mon, 11 Jul 2022 00:57:45 -0400 (EDT) |
branch: externals/denote
commit 840ffc522fa7b2f0d66fc963ead3f5181f075744
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Reword and expand doc string of 'denote-prompts'
---
denote.el | 27 ++++++++++++++++-----------
1 file changed, 16 insertions(+), 11 deletions(-)
diff --git a/denote.el b/denote.el
index 51e980439d..169bfffd65 100644
--- a/denote.el
+++ b/denote.el
@@ -171,8 +171,7 @@ the appropriate list of strings."
The value is a list of symbols, which includes any of the following:
-- `title': Prompt for the title of the new note. If unspecified, the
- title is left empty.
+- `title': Prompt for the title of the new note.
- `keywords': Prompts with completion for the keywords of the new
note. Available candidates are those specified in the user
@@ -180,15 +179,10 @@ The value is a list of symbols, which includes any of the
following:
`denote-infer-keywords' is non-nil, keywords in existing note
file names are included in the list of candidates. The
`keywords' prompt uses `completing-read-multiple', meaning that
- it can accept multiple keywords, separated by a comma (or
+ it can accept multiple keywords separated by a comma (or
whatever the value of `crm-sepator' is).
-- `date': Prompts for the date of the new note. It will expect a
- date like 2022-06-16 or a date plus time: 2022-06-16 14:30.
- Without the `date' prompt, the `denote' command uses the
- `current-time'.
-
-- `file-type': Prompts with completion for the filetype of the
+- `file-type': Prompts with completion for the file type of the
new note. Available candidates are those specified in the user
option `denote-file-type'. Without this prompt, `denote' uses
the value of `denote-file-type'.
@@ -199,7 +193,12 @@ The value is a list of symbols, which includes any of the
following:
subdirectories. Any subdirectory must already exist: Denote
will not create it.
-The prompts will happen in the given order.
+- `date': Prompts for the date of the new note. It will expect
+ an input like 2022-06-16 or a date plus time: 2022-06-16 14:30.
+ Without the `date' prompt, the `denote' command uses the
+ `current-time'.
+
+The prompts will occur in the given order.
If the value of this user option is nil, no prompts are used.
The resulting file name will consist of an identifier (i.e. the
@@ -219,7 +218,13 @@ those permutations:
DATE--TITLE.EXT
DATE__KEYWORDS.EXT
-When in doubt, always include the `title' and `keywords' prompts."
+When in doubt, always include the `title' and `keywords' prompts.
+
+Finally, this user option only affects the interactive use of the
+`denote' command (advanced users can call it from Lisp). For
+relevant interactive actions users may want to invoke the
+convenience commands that also creating notes: `denote-type',
+`denote-subdirectory', `denote-date'."
:group 'denote
:type '(radio (const :tag "Use no prompts" nil)
(set :tag "Available prompts" :greedy t
- [elpa] externals/denote 2c0727eb37 32/39: Add :link to manual in 'denote-prompts' definition, (continued)
- [elpa] externals/denote 2c0727eb37 32/39: Add :link to manual in 'denote-prompts' definition, ELPA Syncer, 2022/07/11
- [elpa] externals/denote 9cdd77d425 10/39: Add TODO for 'denote' command Lisp arguments, ELPA Syncer, 2022/07/11
- [elpa] externals/denote 258ddc7b2c 02/39: Update denote-prompts doc string, ELPA Syncer, 2022/07/11
- [elpa] externals/denote 0326ab3d75 04/39: Add TODO for denote-prompts value, ELPA Syncer, 2022/07/11
- [elpa] externals/denote 05e70d4e5c 11/39: Update doc strings of convenience commands, ELPA Syncer, 2022/07/11
- [elpa] externals/denote c2c0d74dc1 16/39: Fix typo in denote-prompts doc string, ELPA Syncer, 2022/07/11
- [elpa] externals/denote c56ddd3fb9 19/39: Update doc string of 'denote' command, ELPA Syncer, 2022/07/11
- [elpa] externals/denote a283cc1139 21/39: Revert "Avoid errors with string value for keywords", ELPA Syncer, 2022/07/11
- [elpa] externals/denote 4cae3d4262 24/39: Rename args in 'denote' for consistency, ELPA Syncer, 2022/07/11
- [elpa] externals/denote 23cebf0fe5 26/39: Simplify 'denote' doc string about TITLE arg, ELPA Syncer, 2022/07/11
- [elpa] externals/denote 840ffc522f 27/39: Reword and expand doc string of 'denote-prompts',
ELPA Syncer <=
- [elpa] externals/denote 084bd4656e 28/39: Clarify interactivity for 'denote-prompts', ELPA Syncer, 2022/07/11
- [elpa] externals/denote b4b08f28e5 29/39: Improve denote-prompts reference to other commands, ELPA Syncer, 2022/07/11
- [elpa] externals/denote 21d0485649 35/39: Update sample configuration, ELPA Syncer, 2022/07/11
- [elpa] externals/denote bce2c1b567 37/39: Fix index of 'denote' arguments, ELPA Syncer, 2022/07/11
- [elpa] externals/denote 41600033a9 38/39: Update docs of convenience interactive commands, ELPA Syncer, 2022/07/11
- [elpa] externals/denote 089b0bea0e 39/39: Fix typo in the manual, ELPA Syncer, 2022/07/11