diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-14 00:13:23 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-14 00:13:23 -0500 |
| commit | c69f2f56b00678d60effb5f3e5ce3ef635d9d83e (patch) | |
| tree | 0f840c7e75abae01f9d211152f64312207feb93c /tests/test-org-capture-config-drill-template.el | |
| parent | 703b4841253ca610e9b50a8e8519863eaf22a6b2 (diff) | |
| download | dotemacs-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 'tests/test-org-capture-config-drill-template.el')
0 files changed, 0 insertions, 0 deletions
