<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-dirvish-config-public-wrappers.el, branch main</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-05-14T06:00:36+00:00</updated>
<entry>
<title>test(dirvish-config): cover five interactive wrappers</title>
<updated>2026-05-14T06:00:36+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-14T06:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=0ef8cf12f7bc7228e9e8f072e9422320408deefc'/>
<id>urn:sha1:0ef8cf12f7bc7228e9e8f072e9422320408deefc</id>
<content type='text'>
Sibling tests covered the pure helpers; the interactive wrappers were the gap. 13 new tests cover:

- `cj/dirvish-open-html-in-eww`: HTML file -&gt; `eww-open-file`, non-HTML -&gt; message.
- `cj/dirvish-duplicate-file`: copies file with `-copy` suffix, errors on no-file / directory / declined-overwrite.
- `cj/dired-mark-all-visible-files`: marks file lines, skips directory lines (via `cj/--dired-line-is-directory-p`).
- `cj/dired-copy-path-as-kill`: errors outside dired-mode, kills resolved path, formats as org-link when asked.
- `cj/dirvish-open-file-manager-here`: uses `cj/external-open-command` when available, falls back to `xdg-open` shell command otherwise, messages when current dir can't be resolved.

The decline-overwrite test uses real temp files instead of `cl-letf`-overriding `file-directory-p` + `file-exists-p` -- native-comp's trampoline cache breaks when several built-ins get redefined in the same test.
</content>
</entry>
</feed>
