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 | |
| 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>
| -rw-r--r-- | modules/flyspell-and-abbrev.el | 11 | ||||
| -rw-r--r-- | todo.org | 40 |
2 files changed, 44 insertions, 7 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 @@ -194,10 +194,21 @@ Generate transcript (once transcription workflow exists). Daily workflow improvement. -** TODO cj/flyspell-then-abbrev loses keybinding in scratch org-mode buffer +** DONE cj/flyspell-then-abbrev loses keybinding in scratch org-mode buffer +CLOSED: [2025-11-08 Fri] -Keybinding breaks in scratch buffer when using org-mode. Affects daily editing workflow. -Moved from inbox 2025-11-07. +✅ Fixed keybinding issue in org-mode buffers. + +**Problem:** +1. Autoload cookies were just comments and never executed +2. Org-mode was overriding C-' with org-cycle-agenda-files + +**Solution:** +- Set keybindings directly when module loads (lines 239-240) +- Explicitly override org-mode's C-' after org loads (lines 244-245) +- Both C-' and C-c f now work correctly in all buffers including org-mode + +File modified: modules/flyspell-and-abbrev.el:235-251 ** TODO [#A] Delay in modeline lines and columns update @@ -473,4 +484,25 @@ Review this inbox, cancel stale items, keep < 20 active. Track in calendar. Can't research next thing until current thing is implemented. * Emacs Config Inbox -** TODO mu4e issue No sent emails since August? +** DONE mu4e issue No sent emails since August? +CLOSED: [2025-11-08 Fri] + +✅ Fixed cmail (c@cjennings.net) sent folder not syncing since May. + +**Root Cause:** +- mbsync was using `Patterns *` which processes folders alphabetically +- Errors in "Drafts" and "All Mail" folders caused mbsync to abort early +- Sent folder (alphabetically after Drafts) was never reached + +**The Fix:** +- Changed ~/.mbsyncrc to use explicit channels like Gmail configuration +- Now syncs 6 folders independently: INBOX, Sent, Trash, Archive, Starred, Spam +- Omitted problematic Drafts and "All Mail" folders +- Errors in one folder no longer prevent other folders from syncing + +**Result:** +- Synced 136 missing sent messages (May through November 7) +- Gmail account was unaffected (always worked correctly) +- Automatic syncs now include Sent folder + +File modified: ~/.mbsyncrc:80-143 |
