emms-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emms-help] Re: Miscellaneous patches


From: Daniel Brockman
Subject: [emms-help] Re: Miscellaneous patches
Date: Fri, 20 May 2005 16:14:34 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Lucas Bonnet <address@hidden> writes:

> Your patch introduced a bug, thanks to Yoni who spotted it.
>
> On a fresh started Emacs, open the streams menu (M-x emms-streams), be
> sure to check that emms-stream-default-action is "add", and press RET on
> a stream. You should have a message "No buffer named *Playlist*".
> Because it loads info before actually creating the playlist buffer.
>
> If you find a way to fix that, I'd be glad, info-loading isn't my
> favourite code :).

Here's a perfectly ugly fix:

*** emms-default.el     20 May 2005 15:06:48 +0200      1.12
--- emms-default.el     20 May 2005 16:05:37 +0200      
***************
*** 104,110 ****
            (require 'emms-info-later-do)
            (emms-info-later-do-mode 1)
            (add-hook 'emms-info-later-do-read-info-functions
!                     'emms-pbi-entry-update-track)))))))
          
          ;; try using setnu
          ;; (ignore-errors
--- 104,112 ----
            (require 'emms-info-later-do)
            (emms-info-later-do-mode 1)
            (add-hook 'emms-info-later-do-read-info-functions
!                     (lambda (track)
!                         (when (get-buffer emms-pbi-playlist-buffer-name)
!                           (emms-pbi-entry-update-track track))))))))))
          
          ;; try using setnu
          ;; (ignore-errors
-- 
Daniel Brockman <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]