Variable: denote-known-keywords

denote-known-keywords is a customizable variable defined in denote.el.

Value

("emacs" "philosophy" "politics" "economics")

Documentation

List of strings with predefined keywords.

This is used by the denote-keywords-prompt to get keywords when creating or renaming a file, such as via the commands denote and denote-rename-file.

The denote-keywords-prompt does not enforce the keywords defined in denote-known-keywords, as users can input arbitrary text. Those newly introduced keywords are then available for completion, if denote-infer-keywords is set to a non-nil value (its default). If denote-infer-keywords is nil, then the denote-keywords-prompt only accepts input that is among the denote-known-keywords.

Also see: denote-sort-keywords, denote-file-name-slug-functions.

This variable was added, or its default value changed, in denote version 0.1.0.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
;;;###autoload (put 'denote-known-keywords 'safe-local-variable #'listp)
(defcustom denote-known-keywords
  '("emacs" "philosophy" "politics" "economics")
  "List of strings with predefined keywords.
This is used by the `denote-keywords-prompt' to get keywords when
creating or renaming a file, such as via the commands `denote' and
`denote-rename-file'.

The `denote-keywords-prompt' does not enforce the keywords defined in
`denote-known-keywords', as users can input arbitrary text.  Those newly
introduced keywords are then available for completion, if
`denote-infer-keywords' is set to a non-nil value (its default).  If
`denote-infer-keywords' is nil, then the `denote-keywords-prompt' only
accepts input that is among the `denote-known-keywords'.

Also see: `denote-sort-keywords', `denote-file-name-slug-functions'."
  :group 'denote
  :safe #'listp
  :package-version '(denote . "0.1.0")
  :type '(repeat string))