[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emms-help] Re: emms-player-*-playable-p Predicates Bug
From: |
Michael Olson |
Subject: |
[emms-help] Re: emms-player-*-playable-p Predicates Bug |
Date: |
Tue, 05 Sep 2006 23:31:53 -0400 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Ross Patterson <address@hidden> writes:
> The emms-player-*-playable-p predicates generated by the
> define-emms-simple-player macro in emms-player-simple or defun'ed in
> emms-player-mpd fail to recognize track string-matches on the regexp
> if the regexp matches at the beginning because string-match returns
> 0 which causes and to return false. Attached are patches against
> 2.0-2 from Debian Unstable.
I don't understand what you mean. In C, 0 is false, but not so in
Lisp. Example: (and (and 1 0) 'foo) -> 'foo.
--
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
/` |\ | | | IRC: freenode.net/mwolson: #emacs, #hcoop, #muse, #PurdueLUG
|_] | \| |_| Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC
pgpM7h7s704sm.pgp
Description: PGP signature