summaryrefslogtreecommitdiff
path: root/modules/diff-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-11 17:17:54 -0500
committerCraig Jennings <c@cjennings.net>2026-05-11 17:17:54 -0500
commit3b5e535f598172ac278d440c4bc266690c003354 (patch)
tree54c7af4b4cdd6e57d65ffcfa1e6e2852a512bcb4 /modules/diff-config.el
parentadf02c8f03db79bec62aa141e506b36087b5e7f3 (diff)
downloaddotemacs-3b5e535f598172ac278d440c4bc266690c003354.tar.gz
dotemacs-3b5e535f598172ac278d440c4bc266690c003354.zip
fix(slack): harden and curate the C-; S ! reaction workflow
Two problems with `C-; S !'. First, emacs-slack's `slack-reaction-echo-description' runs in a buffer-local `post-command-hook' and can error on every keystroke when a reaction widget's text properties are malformed, which makes it hard to leave the Slack buffer or recover with C-g. It's now wrapped in `condition-case' that, on error, removes the hook from that buffer's local `post-command-hook' and messages once. Second, without emojify the upstream reaction picker is a flat completing-read over 1600+ names. `cj/slack-message-add-reaction' now offers a curated common list (`thumbsup', `pray', `eyes', `white_check_mark', `heart', `joy', `thinking_face', `rocket', `tada') with "Other..." delegating back to `slack-message-reaction-input' for the full set. Tests cover the hook hardening, the curated picker, and the `C-; S !' rebinding.
Diffstat (limited to 'modules/diff-config.el')
0 files changed, 0 insertions, 0 deletions