emms-help
[Top][All Lists]
Advanced

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

Re: [emms-help] Re: Last.fm plugin for EMMS


From: Yoni Rabkin Katzenell
Subject: Re: [emms-help] Re: Last.fm plugin for EMMS
Date: Tue, 10 Oct 2006 08:25:43 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Michael Olson <address@hidden> writes:

> Tassilo Horn <address@hidden> writes:
>
>> I've written a plugin for last.fm. Unlike my last version (see
>> <address@hidden>) this version works. But there's a
>> bug in http-get.el and http-post.el which needs to be fixed first. I've
>> sent a patch to its maintainer David Hansen and report back when he
>> applied it.
>>
>> I would be happy if emms-lastfm.el could be part of EMMS. Of course I'll
>> maintain it. What do I have to do?
>
> If we do decide to include this, we should probably include versions
> of http-get.el and http-post.el that work, much like what I did with
> tq.el.

Two other options are to import a minimal subset of the functionality
from the needed files into emms-lastfm.el, making it bigger. Or,
properly documenting and communicating to the user the fact that in
order to use the library, she must first install the dependencies.

Adding our own private versions of existing files is not a beautiful
approach. What if someone already uses those libraries and gets a
namespace collision? Will the functions in our copies of http-* all have
unique Emms names?

Finally, there is a large number of Emacs Lisp libraries which implement
their own HTTP for exactly this reason (indeed at least one Emms library
already implements its own HTTP). As long as there is no single HTTP
library inside Emacs, this problem will persist.

-- 
   "Cut your own wood and it will warm you twice"




reply via email to

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