~abcdw/rde-devel

rde: emacs-denote: Add emacs-denote-menu and binding. v1 PROPOSED

jgart: 1
 rde: emacs-denote: Add emacs-denote-menu and binding.

 1 files changed, 7 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~abcdw/rde-devel/patches/40858/mbox | git am -3
Learn more about email & git

[PATCH] rde: emacs-denote: Add emacs-denote-menu and binding. Export this patch

---

hi,

this patch adds support for denote-menu

all best,

jgart
 src/rde/features/emacs-xyz.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/rde/features/emacs-xyz.scm b/src/rde/features/emacs-xyz.scm
index 565305c..1052fa1 100644
--- a/src/rde/features/emacs-xyz.scm
+++ b/src/rde/features/emacs-xyz.scm
@@ -4303,6 +4303,7 @@ SPELLING-DICTIONARIES inside buffers of modes defined in FLYSPELL-HOOKS
(define* (feature-emacs-denote
          #:key
          (emacs-denote emacs-denote)
          (emacs-denote-menu emacs-denote-menu)
          (denote-key "N")
          (denote-directory #f)
          (denote-prompts '(title keywords))
@@ -4311,6 +4312,7 @@ SPELLING-DICTIONARIES inside buffers of modes defined in FLYSPELL-HOOKS
          (denote-dired-hook 'denote-dired-mode-in-directories))
  "Configure denote, Prot's great note taking package."
  (ensure-pred file-like? emacs-denote)
  (ensure-pred file-like? emacs-denote-menu)
  (ensure-pred maybe-string? denote-key)
  (ensure-pred path? denote-directory)
  (ensure-pred list? denote-prompts)
@@ -4390,6 +4392,10 @@ stored in directory understood by project.el."
            map)
          "Keymap for binding denote functionality.")

         (require 'denote-menu)

         (global-set-key (kbd "C-c z") #'list-denotes)

        ,@(if denote-key
              `((define-key mode-specific-map
                  (kbd ,denote-key) denote-mode-map))
@@ -4404,7 +4410,7 @@ stored in directory understood by project.el."
              'denote-dired-rename-marked-files))))

      #:keywords '(convenience)
      #:elisp-packages (list emacs-denote))))
      #:elisp-packages (list emacs-denote emacs-denote-menu))))

    (feature
     (name f-name)
-- 
2.39.2