aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-08 13:35:42 -0600
committerCraig Jennings <c@cjennings.net>2025-11-08 13:35:42 -0600
commitadbd1acf936e11a24e811774092791738d8676d7 (patch)
tree0e92a1882401cb63bd48bc75cafb8a96eed17e04
parent2b1af7656958f1bd5f50d6bea698899841d86efd (diff)
downloaddotemacs-adbd1acf936e11a24e811774092791738d8676d7.tar.gz
dotemacs-adbd1acf936e11a24e811774092791738d8676d7.zip
fix: Resolve flyspell keybinding and mu4e sent folder sync issues
Two Method 1 quick wins shipped: 1. Fixed cj/flyspell-then-abbrev keybinding in org-mode - Autoload cookies were comments and never executed - Added explicit keybinding setup when module loads - Override org-mode's C-' binding (org-cycle-agenda-files) - Both C-' and C-c f now work in all buffers 2. Fixed mu4e sent folder not syncing (cmail account) - Root cause: mbsync aborted on Drafts errors before Sent - Changed ~/.mbsyncrc to explicit channels (like Gmail) - Synced 136 missing sent messages (May-Nov 7) - Now syncs 6 folders independently Files modified: - modules/flyspell-and-abbrev.el: Fixed keybindings (lines 235-251) - todo.org: Marked 2 tasks complete with documentation
-rw-r--r--modules/flyspell-and-abbrev.el11
1 files changed, 8 insertions, 3 deletions
diff --git a/modules/flyspell-and-abbrev.el b/modules/flyspell-and-abbrev.el
index d12a17941..e29ad6e9f 100644
--- a/modules/flyspell-and-abbrev.el
+++ b/modules/flyspell-and-abbrev.el
@@ -234,10 +234,15 @@ Press C-' repeatedly to step through misspellings one at a time."
;; -------------------------------- Keybindings --------------------------------
;; Global keybindings for spell checking commands
-;; With autoload cookies, these will lazy-load the file when pressed
-;;;###autoload (keymap-set global-map "C-c f" #'cj/flyspell-toggle)
-;;;###autoload (keymap-set global-map "C-'" #'cj/flyspell-then-abbrev)
+;; Set global keybindings
+(keymap-set global-map "C-c f" #'cj/flyspell-toggle)
+(keymap-set global-map "C-'" #'cj/flyspell-then-abbrev)
+
+;; Override org-mode's C-' binding (org-cycle-agenda-files)
+;; Org-mode binds C-' globally, but we want our spell check binding instead
+(with-eval-after-load 'org
+ (keymap-set org-mode-map "C-'" #'cj/flyspell-then-abbrev))
;; which-key labels
(with-eval-after-load 'which-key