Closed kisaragi-hiu closed 3 months ago
I'm using mpv, with default file types, on Emacs 29.4.
mpv
After a song finishes, opening another file to try to play it shows a "Text is read only" error.
This happens because the playback buffer is in shell mode, and shell-mode sets parts of the buffer to read only.
This can be fixed by making ready-player--playback-buffer use inhibit-read-only when erasing the buffer.
ready-player--playback-buffer
inhibit-read-only
This can also be fixed by killing the playback buffer in the playback sentinel after the process finishes.
I'm using
mpv
, with default file types, on Emacs 29.4.Problem
After a song finishes, opening another file to try to play it shows a "Text is read only" error.
Additional info
This happens because the playback buffer is in shell mode, and shell-mode sets parts of the buffer to read only.
This can be fixed by making
ready-player--playback-buffer
useinhibit-read-only
when erasing the buffer.This can also be fixed by killing the playback buffer in the playback sentinel after the process finishes.