diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-14 01:23:43 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-14 01:23:43 -0500 |
| commit | 1799d7c09c02755d16815c5a0768aa7bc19a6716 (patch) | |
| tree | c42e07cb3508128fa2da31a43ee8110b5d20314c /tests/test-prog-webdev-setup.el | |
| parent | c00aaab387e1deb34129fde7670ef28b721ea571 (diff) | |
| download | dotemacs-1799d7c09c02755d16815c5a0768aa7bc19a6716.tar.gz dotemacs-1799d7c09c02755d16815c5a0768aa7bc19a6716.zip | |
test(music-config): cover playlist commands + random-aware navigation
Second pass on music-config. The first batch covered assertion guards, the M3U picker, EMMS lazy setup, and the smaller commands. This batch covers the remaining interactive playlist commands and the random-history navigation pair:
- `cj/music-playlist-load`: loads the selected file via `emms-play-playlist`, errors when the chosen file isn't on disk.
- `cj/music-playlist-reload`: replays the buffer-local playlist file, errors when none is associated.
- `cj/music-playlist-edit`: opens the M3U file in another window when the buffer is clean.
- `cj/music-next`: delegates to `emms-next` or `emms-random` based on `emms-random-playlist`.
- `cj/music-previous`: emms-previous when not random; with random + history pops the top, finds it in the playlist, selects + starts; with random + no history messages; with random and a missing track, messages.
- `cj/music--consume-track`: no-op when consume-mode is off, kills the selected track when on.
EMMS primitives (`emms-playlist-clear`, `emms-play-playlist`, `emms-stop`, `emms-random`, `emms-next`, `emms-previous`, `emms-start`, `emms-playlist-select`, `emms-playlist-mode-kill-track`) are stubbed throughout.
Diffstat (limited to 'tests/test-prog-webdev-setup.el')
0 files changed, 0 insertions, 0 deletions
