aboutsummaryrefslogtreecommitdiff
path: root/modules/coverage-elisp.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-23 20:01:25 -0500
committerCraig Jennings <c@cjennings.net>2026-05-23 20:01:25 -0500
commit4ea4103760d7d73fb090b0f27df8def913519930 (patch)
tree4174c5543940b350f15037e406235c6649f14fe3 /modules/coverage-elisp.el
parentf4bba31ccdb0b787baf42583eade557e5ecf1be7 (diff)
downloaddotemacs-4ea4103760d7d73fb090b0f27df8def913519930.tar.gz
dotemacs-4ea4103760d7d73fb090b0f27df8def913519930.zip
fix(dwim-shell): build video-concat filelist in elisp
cj/dwim-shell-commands-concatenate-videos built the ffmpeg concat list with echo '<<*>>' | tr ' ' '\n' | sed 's/^/file /'. That splits on spaces, so any video whose name contains a space produced a broken list, and a name with a quote broke the echo outright. I extracted cj/dwim-shell--build-concat-filelist, which renders each path as an escaped file '...' line. I write that list to a temp file and run ffmpeg against the quoted listfile, with a trailing rm to clean up after the process exits. The <<*>> token stays only as an inert shell comment, since dwim-shell needs it to run one command over all marked files instead of once per file.
Diffstat (limited to 'modules/coverage-elisp.el')
0 files changed, 0 insertions, 0 deletions