<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-music-config-helpers-untested.el, branch load-graph-classify-end</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-05-14T05:53:40+00:00</updated>
<entry>
<title>test(music-config): cover assertion guards, M3U picker, EMMS lazy setup</title>
<updated>2026-05-14T05:53:40+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-14T05:53:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=e99a61f6fd6e3f24437665d10359687d40708250'/>
<id>urn:sha1:e99a61f6fd6e3f24437665d10359687d40708250</id>
<content type='text'>
music-config has a large sibling-test fleet for the pure helpers; the gap was a handful of small dispatchers and assertion guards.

13 new tests, EMMS primitives stubbed throughout:

- `cj/music--assert-m3u-files-exist`: passes a non-empty list through, errors on empty.
- `cj/music--sync-playlist-file`: sets the buffer-local file ref + resets point.
- `cj/music--select-m3u-file`: returns the chosen path, returns nil on Cancel, errors when no files exist.
- `cj/emms--setup`: no-ops when emms already loaded, requires when absent.
- `cj/music-playlist-clear`: stops playback, clears the playlist, nils the file ref.
- `cj/music-add-directory-recursive`: calls `emms-add-directory-tree` for an existing dir, user-errors for non-dirs.
- `cj/music--find-track-in-playlist`: returns the buffer position when present, nil when absent.
</content>
</entry>
</feed>
