# denote_sort_keywords_bug.el -rw-r--r-- 612 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
;; -*- lexical-binding: t; -*-

(elpaca-test
  :interactive t
  :early-init
  (setq byte-compile-warnings '(not obsolete))
  (setq inhibit-startup-screen t)
  :init
  (load-theme 'modus-vivendi :no-confirm)
  (elpaca denote)
  (elpaca vertico)
  (elpaca transient)
  (elpaca-wait)
  (vertico-mode)
  (transient-define-prefix denote-transient ()
    "Denote dispatch"
    [["Note creation"
      ("dd" "new note" denote)]])
  (keymap-set global-map "M-s-d" 'denote-transient))

;; Notes to reproduce: run `M-x eval-buffer', then hit "M-s-d" to invoke the
;; transient, and try to create a note with *no* keywords.