aboutsummaryrefslogtreecommitdiff
path: root/modules/org-webclipper.el
Commit message (Collapse)AuthorAgeFilesLines
* refactor(org-webclipper): use setq, not setopt, for pandoc sleep timeCraig Jennings2026-05-151-2/+8
| | | | | | | | | | | | | | | | | | | `org-web-tools-pandoc-sleep-time' is a plain float with no custom-set handler that needs to fire. `setopt' adds the entire customize-variable validation machinery -- which, lazily, depends on wid-edit being loaded. The handler's tests stub `require' so org-web-tools never really loads, then mock `setopt' via `cl-letf' on the function cell. That mock has no effect on byte-compiled code because `setopt' is a macro: the production handler has already expanded to a call into `setopt--set'. When `setopt--set' runs, it walks into the customize machinery and hits an unbound `widget-field-keymap' (wid-edit not loaded), and the test fails with a confusing wrong-type-argument. `setq' has identical runtime effect for this variable and dodges the customize machinery entirely. Tests now pass without contorted mocking.
* feat:org-webclipper: Add smart heading adjustmentCraig Jennings2025-10-261-17/+29
| | | | | | | Introduce `cj/--process-webclip-content` to enhance webclip processing by removing the first heading and demoting subsequent headings, preserving page structure. Includes tests for thorough validation of the new functionality.
* fix:webclipper:fixed org-web-tools not loading when neededCraig Jennings2025-10-261-25/+9
|
* maint: org-roam: moved org-branch-to-org-roam-node from webclipperCraig Jennings2025-10-181-90/+0
|
* no need to define keymap for webclipperCraig Jennings2025-10-151-11/+13
|
* feat: webclipper): Add web clipping with org-protocol integrationCraig Jennings2025-10-121-107/+268
| | | | | | | - Reworked the org-webclipper.el module to support a "fire-and-forget" workflow using org-protocol and org-web-tools. - Added feature to handle web clipping directly from the browser with a bookmarklet, converting content to Org format using Pandoc. - New functions ensure lazy loading of necessary packages and setup of capture templates. - Enhanced keymap setup to integrate with custom keymaps, facilitating easier user interaction.
* changing repositoriesCraig Jennings2025-10-121-0/+145