aboutsummaryrefslogtreecommitdiff
path: root/tests/test-selection-framework-keybindings.el
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
commit191bfa55b771b2c5a3fa17775aa8a7e07db0ed33 (patch)
tree94ae2d1a2b8417973f99ea363cfa4abc38948fed /tests/test-selection-framework-keybindings.el
parent7d3e40693088bbcd2bc3f67f02e6e9c1e908c2c5 (diff)
downloaddotemacs-191bfa55b771b2c5a3fa17775aa8a7e07db0ed33.tar.gz
dotemacs-191bfa55b771b2c5a3fa17775aa8a7e07db0ed33.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 'tests/test-selection-framework-keybindings.el')
0 files changed, 0 insertions, 0 deletions