diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-08 13:35:42 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-08 13:35:42 -0600 |
| commit | d093a4a96c653d3f9adcbba17b4094d6d9a5a85a (patch) | |
| tree | c9b9eb194bb4ed1b555f3f12a18cb7edc666cf4b /modules | |
| parent | 15d0599100eda5d82dd1e536beedb58b3ca8fb92 (diff) | |
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
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/flyspell-and-abbrev.el | 11 |
1 files changed, 8 insertions, 3 deletions
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 |
