summaryrefslogtreecommitdiff
path: root/docs/design/coverage.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 03:37:11 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 03:37:11 -0500
commitdae9d788cc56dcf57727b015a0fbe43dc15ccaa3 (patch)
tree091b2339b9648ad9f2eae6f4883e7baeed5c4309 /docs/design/coverage.org
parent32914ce8841fade1899c828ced44ae6013c08fcc (diff)
downloaddotemacs-dae9d788cc56dcf57727b015a0fbe43dc15ccaa3.tar.gz
dotemacs-dae9d788cc56dcf57727b015a0fbe43dc15ccaa3.zip
test(org-webclipper): cover lazy init, protocol handler, EWW capture
Sibling `test-org-webclipper-process.el` covers the content-processing helper. This batch fills in the rest: - `cj/webclipper-ensure-initialized`: registers the webclip protocol entry + the W and w capture templates on first call, is idempotent on subsequent calls. - `cj/org-protocol-webclip`: stashes the url+title, triggers capture; missing title falls back to "Untitled". - `cj/org-protocol-webclip-handler`: errors when no url stashed, returns processed org content on success (with the first heading stripped + subs demoted), wraps fetch failures in a "Failed to clip" error. - `cj/org-webclipper-EWW`: routes through `org-eww-copy-for-org-mode` for eww-mode and `org-w3m-copy-for-org-mode` for w3m-mode; errors on any other source mode. Top-level defvars for `org-protocol-protocol-alist`, `org-capture-templates`, and `webclipped-file` make let-bindings dynamic under lexical scope. org-web-tools and the eww/w3m copy commands are stubbed.
Diffstat (limited to 'docs/design/coverage.org')
0 files changed, 0 insertions, 0 deletions