aboutsummaryrefslogtreecommitdiff
path: root/modules/prog-general.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-14 00:13:23 -0500
committerCraig Jennings <c@cjennings.net>2026-07-14 00:13:23 -0500
commitc69f2f56b00678d60effb5f3e5ce3ef635d9d83e (patch)
tree0f840c7e75abae01f9d211152f64312207feb93c /modules/prog-general.el
parent703b4841253ca610e9b50a8e8519863eaf22a6b2 (diff)
downloaddotemacs-c69f2f56b00678d60effb5f3e5ce3ef635d9d83e.tar.gz
dotemacs-c69f2f56b00678d60effb5f3e5ce3ef635d9d83e.zip
fix(slack): harden notifications like signel's
cj/slack-notify passed raw message bodies to a bare start-process. A multiline message made a giant toast, and a machine without the notify script errored inside the condition-case, so the notification silently vanished. It now routes through the same shape signel uses: whitespace collapsed and the body truncated at 120 chars, sound gated by a new cj/slack-notify-sound defcustom (silent by default), and a notifications-notify fallback when the script is absent. The fallback requires notifications.el first, which isn't autoloaded. cj/slack-test-notify exercises the same delivery path. The shared cj/messenger-notify extraction that collapses the signel and slack copies stays with the messenger-unification task. Ten tests cover the formatter, the delivery routing, and the DM/mention predicate wiring the audit called untested.
Diffstat (limited to 'modules/prog-general.el')
0 files changed, 0 insertions, 0 deletions