<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-system-lib--format-region-with-program.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-06-20T15:32:21+00:00</updated>
<entry>
<title>refactor: extract shared format-region helper into system-lib</title>
<updated>2026-06-20T15:32:21+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-06-20T15:32:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=5b5d24b5d14b9828b2acc2e39b4530be9091e512'/>
<id>urn:sha1:5b5d24b5d14b9828b2acc2e39b4530be9091e512</id>
<content type='text'>
prog-json and prog-yaml each carried a byte-identical cj/--&lt;lang&gt;-format-region that runs a formatter over the buffer via call-process-region and replaces it on exit 0. Hoist it to system-lib as cj/format-region-with-program with a generic output buffer, and point both formatters at it. Adds the first direct unit coverage of the helper (Normal, Boundary, Error).
</content>
</entry>
</feed>
