<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-org-capture-config-drill-template.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-04T00:28:36+00:00</updated>
<entry>
<title>fix: close drill capture template source link</title>
<updated>2026-05-04T00:28:36+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-04T00:28:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=6a2539951416fd1ee2ad744090faf255031b71e7'/>
<id>urn:sha1:6a2539951416fd1ee2ad744090faf255031b71e7</id>
<content type='text'>
The "d" drill capture template had a malformed source link with only one closing bracket and a literal `n` where a newline should have been:

    Source: [[%:link][%:description]
    nCaptured On: %U

So new drill captures wrote a broken link and `nCaptured On:` instead of a clean `Captured On:` line on the next row.

I closed the link with the missing `]`, and removed the stray `n` so the line break before "Captured On" is just a real newline. The "f" (PDF drill) template was already correct, so I left it alone.

I added `tests/test-org-capture-config-drill-template.el`. It loads the module, picks up the "d" template, and asserts both the closed link and the `\nCaptured On: %U` form, plus negative assertions against the broken pre-fix shapes.
</content>
</entry>
</feed>
