feat: r/R/C-y reply/forward from the search list #25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "pr/reply-from-list"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
r / R / C-y now work from the search list — no need to open the thread.
Reply/forward resolve by focused context:
notmuch show(newSearchPanel.reply/forward+_thread_latest_message;latest_message()helper inthread_model)So: navigate the list with
j/k, pressr→ reply to that thread's latest email without opening it. Unopened threads just work.Implementation:
r/R/C-yroute throughcontroller.reply()/forward()(focus resolution: preview-focused →ThreadView.reply; else list →ThreadList.reply)PanelApp/ThreadListprotocols extended; Dodo shims addedTests: 7 new — list reply picks the most recent message (not the first), reply/reply-all/forward modes, no-message warning, controller focus resolution in both directions,
latest_messagehelper. Suite: 142 passed, mypy 0.Worth eyeballing:
rfrom the list opens compose with the thread's latest message;rwith the preview focused still uses the J/K-selected message.