From 01462369083daa033ba5f3058cc3d2df0e52c1cd Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 30 Aug 2026 01:36:56 +0100 Subject: notmuch/hammerspoon --- custom/jao-custom-notmuch.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el index c2f6a85..49230e8 100644 --- a/custom/jao-custom-notmuch.el +++ b/custom/jao-custom-notmuch.el @@ -23,7 +23,8 @@ (defun jao-notmuch-hammerspoon () (jao-when-darwin (let ((s (substring-no-properties jao-notmuch-minibuffer-string))) - (jao-mac-open "-g hammerspoon://menu?message=%s" (url-hexify-string s))))) + (jao-mac-open "-g 'hammerspoon://menu?message=%s&key=notmuch'" + (url-hexify-string s))))) (defun jao-notmuch--qstr (c) (propertize (format "%s%s" (plist-get c :name) (plist-get c :count)) @@ -742,7 +743,9 @@ (with-eval-after-load "notmuch-hello" (define-key notmuch-hello-mode-map "f" #'jao-consult-notmuch-folder))) ;;; org -(when jao-notmuch-enabled (jao-notmuch-org-links)) +(when jao-notmuch-enabled + (require 'jao-notmuch) + (jao-notmuch-org-links)) ;;; recoll (jao-when-linux -- cgit v1.2.3