Jorgen Schaefer <[EMAIL PROTECTED]> writes:

> Leon <[EMAIL PROTECTED]> writes:
>
>> When emms2 is playing, the message caused by emms-shuffle is:
>> ,--------
>> | emms-playlist-delete-track: Buffer is read-only: #<buffer *Music*>
>> `--------
>> Otherwise it is:
>> ,--------
>> | emms-shuffle: Buffer is read-only: #<buffer *Music*>
>> `--------
>
> Could you edit emms.el, changing lines 864, 865 and 866 in emms.el
> from
>
>   (emms-playlist-ensure-playlist-buffer)
>   (let ((current nil))
>     (widen)
>
> to
>
>   (emms-playlist-ensure-playlist-buffer)
>   (let ((current nil)
>         (inhibit-read-only t))
>     (widen)
>
> and see whether the error persists?
>
> Thanks.
>
> Regards,
>         -- Jorgen

Yes it works but with some message:

--8<---------------cut here---------------start------------->8---
emms-shuffle: Invalid function: (macro . #[(&rest body) "ÁÂÃÄÅÆÃÇBBEEE‡" [body 
progn (when (or (not emms-playlist-buffer) (not (buffer-live-p 
emms-playlist-buffer))) (emms-playlist-current-clear)) let 
((emms-source-old-buffer (or emms-source-old-buffer (current-buffer)))) 
with-current-buffer emms-playlist-buffer ((inhibit-read-only t))] 9 
("/opt/share/emacs/site-lisp/emms2/emms.elc" . 15453)])
emms-shuffle: Invalid function: (macro . #[(&rest body) "ÁÂÃÄÅÆÃÇBBEEE‡" [body 
progn (when (or (not emms-playlist-buffer) (not (buffer-live-p 
emms-playlist-buffer))) (emms-playlist-current-clear)) let 
((emms-source-old-buffer (or emms-source-old-buffer (current-buffer)))) 
with-current-buffer emms-playlist-buffer ((inhibit-read-only t))] 9 
("/opt/share/emacs/site-lisp/emms2/emms.elc" . 15453)])
--8<---------------cut here---------------end--------------->8---

-- 
Leon



_______________________________________________
Emms-help mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to