From d093a4a96c653d3f9adcbba17b4094d6d9a5a85a Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 8 Nov 2025 13:35:42 -0600 Subject: fix: Resolve flyspell keybinding and mu4e sent folder sync issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- modules/flyspell-and-abbrev.el | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/flyspell-and-abbrev.el b/modules/flyspell-and-abbrev.el index d12a1794..e29ad6e9 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 -- cgit v1.2.3