Jens Juul Christensen <[EMAIL PROTECTED]> writes:

> Purged it from my system and tried the version from here:
>
> http://sarg.kollektiv-hamburg.de/~forcer/darcs/emms/
>
> Still I get the "Don't know how to play track..." error. Tried all types of 
> setup I could find in
> the documentation, in here and Google, all gives the same error.

It seems like a mis-configuration of the player types for mp3. My player
setup (which I see you are currently using) uses `mplayer' exclusively
for playing everything. You might want to try with a more basic setup
based on whichever player/s you have installed on your system.

It would also be nice if people could send to this list Emms2 setups
they have which are currently working (together with which media players
are used).

> If I instead try to play a .ogg file I get this error and no music:
>
> save-excursion: Symbol's function definition is void: remove-overlays

Thanks for finding this bug. This happens because I have a function in
Emms2 which exists in CVS Emacs but does not exist in Emacs 21.4.

I have sent forcer a patch which fixes this for both 21.4 and
CVS. Additionally, I have attached the same patch to this email for
those who wish to apply it immediately.

New patches:

[make emms-playlist-mode emacs21.4 compatible
[EMAIL PROTECTED] {
hunk ./emms-playlist-mode.el 159
+;;; Overlay compatability
+;;; --------------------------------------------------------
+
+(defun find-overlay-emms-track ()
+  "Return the position of the next emms track."
+  (save-excursion
+    (while (and (not (eobp))
+		(not (get-char-property (point) 'emms-track)))
+      (goto-char (min (next-overlay-change (point))
+		      (next-single-property-change (point) 'emms-track))))
+    (point)))
+
+;; Taken from CVS Emacs (2005-12-24) and modified to support Emms2 on
+;; Emacs 21.4. The modifications make this function not equivalent to
+;; the original `remove-overlays' from which it was copied, so don't
+;; try to use it in the same way.
+(defun remove-all-overlays (&optional beg end)
+  "Clear BEG and END of overlays."
+  (unless beg (setq beg (point-min)))
+  (unless end (setq end (point-max)))
+  (if (< end beg)
+      (setq beg (prog1 end (setq end beg))))
+  (save-excursion
+    (dolist (o (overlays-in beg end))
+      (when (eq (overlay-get o nil) nil)
+	(if (< (overlay-start o) beg)
+	    (if (> (overlay-end o) end)
+		(progn
+		  (move-overlay (copy-overlay o)
+				(overlay-start o) beg)
+		  (move-overlay o end (overlay-end o)))
+	      (move-overlay o (overlay-start o) beg))
+	  (if (> (overlay-end o) end)
+	      (move-overlay o end (overlay-end o))
+	    (delete-overlay o)))))))
+
+;;; --------------------------------------------------------
hunk ./emms-playlist-mode.el 222
-	  (remove-overlays (point-at-bol) (point-at-eol))
+	  (remove-all-overlays (point-at-bol) (point-at-eol))
hunk ./emms-playlist-mode.el 299
-      (remove-overlays (point-at-bol)
-		       (point-at-eol))
+      (remove-all-overlays (point-at-bol)
+			   (point-at-eol))
hunk ./emms-playlist-mode.el 314
-  (remove-overlays (point-min)
-		   (point-max))
+  (remove-all-overlays (point-min)
+		       (point-max))
}

Context:

[killing and yanking in the interactive playlist buffer
[EMAIL PROTECTED] 
[Killing and yanking
[EMAIL PROTECTED] 
[fix manual sectioning
[EMAIL PROTECTED] 
[Fix conflicts in emms-playlist-mode.el
[EMAIL PROTECTED] 
[Fix emms.texinfo for PDF output (thanks twb)
[EMAIL PROTECTED] 
[Added `emms-playlist-mode-go-popup' for popuping emms-playlist as a side
[EMAIL PROTECTED]
 window.
] 
[emms-info-mp3info.el (emms-info-mp3find-arguments): use info-tracknumber instead of info-tracknum, so as to be consistent with ogginfo.
Trent Buck <[EMAIL PROTECTED]>**20051119150805
 emms-info.el: Update documentation.
] 
[emms-source-file.el: add missing third clause to AUTOLOAD calls.
Trent Buck <[EMAIL PROTECTED]>**20051028142538] 
[emms-info-libtag.el: Fix a couple of typos.
Trent Buck <[EMAIL PROTECTED]>**20051119183945] 
[Implement an emms-info function using the libtag package.
Trent Buck <[EMAIL PROTECTED]>**20051119181528] 
[Finished rewriting manual
[EMAIL PROTECTED] 
[More manual work, but still only 71 percent done
[EMAIL PROTECTED] 
[Added support for toggling default action in streams
[EMAIL PROTECTED] 
[Added a hook for emms-streams
[EMAIL PROTECTED] 
[debian/emms.emacs-install: Leave symlinks in bytecode dir for find-library/function/variable.
Trent Buck <[EMAIL PROTECTED]>**20051027172739] 
[debian/rules: swap binary-indep and binary-arch bodies, since emms is packages as source code.
Trent Buck <[EMAIL PROTECTED]>**20051027150418] 
[Makefile (ChangeLog): Generate ChangeLog from darcs metadata.
Trent Buck <[EMAIL PROTECTED]>**20051027133919
 debian/rules (build-stamp): Have make generate the ChangeLog.
 (build-arch): Include ChangeLog and debian/changelog in debian package.
] 
[Added simple player "playsound".
Trent Buck <[EMAIL PROTECTED]>**20051023012053] 
[Remove TODO from debian/docs.
Trent Buck <[EMAIL PROTECTED]>**20050912133353] 
[Don't attempt to dh_installchangelogs ChangeLog in debian/rules.
Trent Buck <[EMAIL PROTECTED]>**20050912125754] 
[Add prefix keys support.
[EMAIL PROTECTED] 
[manual 71% done
[EMAIL PROTECTED] 
[fix emms-info-ogginfo laguange
[EMAIL PROTECTED] 
[manual update (68% done)
[EMAIL PROTECTED] 
[emms-metaplaylist fix requested by Lukhas
[EMAIL PROTECTED] 
[A minor spell correction.
[EMAIL PROTECTED] 
[Make emms-mode-line-icon use the good function to get the current track
[EMAIL PROTECTED] 
[Rename `emms-playlist-save-active-as-m3u' to `emms-playlist-save-current-as-m3u'.
[EMAIL PROTECTED] 
[emms-playlist-sort.el: New file containing various playlist sort
[EMAIL PROTECTED]
 functions.
] 
[emms-setup.el: Added `emms-playlist-sort' to `emms-devel'.
[EMAIL PROTECTED] 
[emms-setup.el: Moved `emms-lyrics' and `emms-playing-time' into
[EMAIL PROTECTED]
 `emms-all'.
] 
[emms-lyrics.el: New function: `emms-lyrics-restore-mode-line'.
[EMAIL PROTECTED] 
[emms-playing-time.el: New function: `emms-playing-time-restore-mode-line'.
[EMAIL PROTECTED] 
[manual work (57% done)
[EMAIL PROTECTED] 
[emms.el: Should initialize `emms-player-paused-p' to nil at start. Or a
[EMAIL PROTECTED]
 pause + stop would make `emms-player-paused-p' be wrong.
] 
[emms-mode-line.el: Made `emms-mode-line-alter' be compatible with
[EMAIL PROTECTED]
 `emms-track-updated-functions'.
] 
[emms-mode-line.el: When artist or title info cann't be achieved, show
[EMAIL PROTECTED]
 file name without directory.
] 
[emms-mode-line: Changed dead `emms-playlist-current-track-changed-hook'
[EMAIL PROTECTED]
 to `emms-track-updated-functions'.
] 
[emms-playlist-mode-switch-buffer
[EMAIL PROTECTED] 
[Yet Another Installment of the manual re-write
[EMAIL PROTECTED] 
[emms-setup.el re-write
[EMAIL PROTECTED] 
[more manual re-writing
[EMAIL PROTECTED] 
[manual work
[EMAIL PROTECTED] 
[Another installment of manual changes
[EMAIL PROTECTED] 
[some manual fixes (just the start)
[EMAIL PROTECTED] 
[Rename emms-default.el to emms-setup.el.
[EMAIL PROTECTED] 
[emms.el (emms-playlist-new): Use interactive-p rather than
Michael Olson <[EMAIL PROTECTED]>**20050925165342
 called-interactively-p, since the latter is not available in Emacs21.
] 
[emms-streams.el: Update `emms-info-file-info-song-artist' so that it
Michael Olson <[EMAIL PROTECTED]>**20050925160336
 can deal with the new interface.
] 
[emms-playlist-mode.el: 3rd attempt to not clobber
Michael Olson <[EMAIL PROTECTED]>**20050924183844
 emms-playlist-buffer-p.
] 
[List all the changes needed in the manual
[EMAIL PROTECTED] 
[Update tracks with a specific function, and provide emms-track-updated-functions
[EMAIL PROTECTED] 
[Adding emms-info-ogginfo.el and consiquently modifying emms-default
[EMAIL PROTECTED] 
[add emms-metaplaylist-mode.el
[EMAIL PROTECTED] 
[rollback patch to fix adding tracks.
[EMAIL PROTECTED] 
[emms-playing-time.el: 
[EMAIL PROTECTED]
 
 1 New functions: `emms-playing-time-enable',
 `emms-playing-time-disable', `emms-playing-time-toggle', for handling
 hook stuffs. 
 
 2 Removed `emms-playing-time-display-p' where unnecessary now. 
 
 3 Updated commentary and author name. :-)
] 
[eemms-lyrics.el:
[EMAIL PROTECTED]
 
 1 New functions: `emms-lyrics-enable', `emms-lyrics-disable',
 `emms-lyrics-toggle', for handling hook stuffs.
 
 2 Removed `emms-lyrics-display-p' where unnecessary now. 
 
 3 Updated commentary and author name. :-)
] 
[emms-lyrics.el: Fixed a bug in `emms-lyrics-start'.
[EMAIL PROTECTED] 
[emms-playing-time.el: Applied standard customization definitions.
[EMAIL PROTECTED] 
[emms-info-mp3info: Provide a way to configure the mp3info output coding system.
[EMAIL PROTECTED] 
[Add documentation of the define symbols for emms-info.el.
[EMAIL PROTECTED] 
[remove emms-metaplaylist-mode code from emms-playlist-mode
[EMAIL PROTECTED] 
[emms-playing-time: Since 'info-playing-time is an int now, changed
[EMAIL PROTECTED]
 `emms-playing-time-display' accordingly.
] 
[emms-info-mp3info: Use number for 'info-playing-time.
[EMAIL PROTECTED] 
[emms-playing-time.el: Updated the playing-time retrieval method, so as
[EMAIL PROTECTED]
 to be able to display playing-time again.
] 
[emms-playlist-mode: Make sure emms-playlist-buffer-p is set, since we
Michael Olson <[EMAIL PROTECTED]>**20050922132808
 destroy all local variables.
] 
[emms-playlist-mode-go: Add buffer-live-p check to circumvent a
Michael Olson <[EMAIL PROTECTED]>**20050922132424
 "selecting deleted buffer" error.
] 
[emms-player-mplayer.el: Set resume method to nil to just use pause.
[EMAIL PROTECTED] 
[fix emms-score.el and emms-info-ogg.el borkage
[EMAIL PROTECTED] 
[clean-up emms-info-ogg.el
[EMAIL PROTECTED] 
[fix ogg-info
[EMAIL PROTECTED] 
[emms-info-mp3info ignores files which are not mp3s
[EMAIL PROTECTED] 
[Don't set values mp3info has nothing for
[EMAIL PROTECTED] 
[later-do.el: Run timer after function did run to avoid stacking
[EMAIL PROTECTED] 
[Inefficiency removed: Update each track only once :P
[EMAIL PROTECTED] 
[Ignore read-onliness when updating a track in a playlist buffer
[EMAIL PROTECTED] 
[Use time-less-p instead of <= for times
[EMAIL PROTECTED] 
[later-do.el emms version
[EMAIL PROTECTED] 
[emms-streams shouldn't overwrite `emms-track-initialize-functions'
[EMAIL PROTECTED] 
[Typo fix (findo -> find)
[EMAIL PROTECTED] 
[emms-info-track-description: Fall back to old behavior if no title and artist
[EMAIL PROTECTED] 
[Hotfix for emms-streams due to info changed. Please fix later.
[EMAIL PROTECTED] 
[Fix emms-default.el, and ignore ogg stuff for now.
[EMAIL PROTECTED] 
[Remove emms-info-later-do.el
[EMAIL PROTECTED] 
[Fix emms-default.el for new emms-info.el
[EMAIL PROTECTED] 
[emms-info-mp3info.el updated for newest emms-info.el
[EMAIL PROTECTED] 
[emms-info.el rewrite.
[EMAIL PROTECTED] 
[later-do: Work even if the called function errors out.
[EMAIL PROTECTED] 
[emms-random: Use `emms-playlist-current-select-random'.
[EMAIL PROTECTED] 
[fixing track killing some more
[EMAIL PROTECTED] 
[use insert function for yanking
[EMAIL PROTECTED] 
[Fixed saving/loading for emms-playlist-mode, also added track updating
[EMAIL PROTECTED] 
[Added track updating to emms.
[EMAIL PROTECTED] 
[Added emms-playlist-mode-insert-function (fixed sorting and shuffling font-lock)
[EMAIL PROTECTED] 
[Make emms-playlist-current-clear an interactive function.
[EMAIL PROTECTED] 
[Fix bugs in lyrics and mode-line modes when switching songs, fix yanking in playlist buffer
[EMAIL PROTECTED] 
[Fix track switching error and interactive playlist yanking
[EMAIL PROTECTED] 
[Fix track switching error and interactive playlist yanking
[EMAIL PROTECTED] 
[Added 'emms-playlist-clear to the default key-map for emms-playlist-mode
[EMAIL PROTECTED] 
[Added 'emms-playlist-clear to default playlist keymap
[EMAIL PROTECTED] 
[Make `emms-playlist-clear' interactive so that I can map it to a key.
[EMAIL PROTECTED] 
[include streaming into emms-default and fix streaming info from within the *EMMS Streams* buffer
[EMAIL PROTECTED] 
[Make `with-current-emms-playlist' disable read-onlyness.
[EMAIL PROTECTED] 
[fix emms-streams.el and emms-player-mplayer.el
[EMAIL PROTECTED] 
[comment out emms-info-playlist breakage
[EMAIL PROTECTED] 
[emms-playlist-set-playlist-buffer: Ensure the selected buffer is a playlist.
[EMAIL PROTECTED] 
[Ignore read-onliness when opening a playlist-mode-buffer.
[EMAIL PROTECTED] 
[fixing errors after breakage
[EMAIL PROTECTED] 
[Big renaming for current buffer/current playlist distinction.
[EMAIL PROTECTED]
 All playlist functions which work on the current playlist now are named
 `emms-playlist-current-...'. Other functions named `emms-playlist-...'
 work on the current buffer.
 This affects the following functions:
 
 emms-playlist-clear => emms-playlist-current-clear
 emms-playlist-selected-track => emms-playlist-current-selected-track
 emms-playlist-select-next => emms-playlist-current-select-next
 emms-playlist-select-previous => emms-playlist-current-select-previous
 emms-playlist-select-random => emms-playlist-current-select-random
 emms-playlist-select-first => emms-playlist-current-select-first
 emms-playlist-select-last => emms-playlist-current-select-last
 emms-playlist-insert-source => emms-playlist-current-insert-source
] 
[emms-playlist-new: No, it's a major mode, DONT pass an argument!
[EMAIL PROTECTED] 
[Making emms-default now emms-playlist-mode compatible
[EMAIL PROTECTED] 
[emms-playlist-new: Pass positive argument to mode function.
[EMAIL PROTECTED] 
[Renaming the "playlist" source to "streamlist".
[EMAIL PROTECTED]
 
 Things might be broken.
] 
[clean-up pseudo font-locking
[EMAIL PROTECTED] 
["font-locking" for inserted, unselected tracks
[EMAIL PROTECTED] 
[emms.el missing quote fix, emms-playlist-mode.el kill-track fix
[EMAIL PROTECTED] 
[Adding a bunch of FIXME tags for the playlist source
[EMAIL PROTECTED]
 
 When we come to a consensus on the naming, we'll just fix it.
 Yrk should have a word about it, stream-playlist sounds good.
] 
[Fixing emms-playlist-mode-open-buffer
[EMAIL PROTECTED] 
[emms-playlist-select should not switch to the playlist buffer.
[EMAIL PROTECTED] 
[Renaming emms-playlist-save to emms-playlist-mode-save-buffer
[EMAIL PROTECTED] 
[Added docstrings and clean-up for emms-playlist-mode.el
[EMAIL PROTECTED] 
[A kinder, gentler emms-playlist-mode-go
[EMAIL PROTECTED] 
[clean-up and emms-playlist-mode-center-current
[EMAIL PROTECTED] 
[emms-player-mplayer.el: mplayer also knows rm, rmvb, mp4, ...etc.
[EMAIL PROTECTED] 
[multiple fixes to emms-playlist-mode.el
[EMAIL PROTECTED] 
[emms-show now knows when nothing is playing.
[EMAIL PROTECTED] 
[Inhibit read-only in `emms-playlist-insert-track'
[EMAIL PROTECTED] 
[mpd-updates
Michael Olson <[EMAIL PROTECTED]>**20050917021138
 emms-player-mpd.el: Add handler for 'resume.
 (emms-player-mpd-paused-p): Remove, since we already have
 emms-player-paused-p.
 (emms-player-mpd-pause): Use toggle instead of either play or
 pause.
] 
[Making emms-playlist-mode-go respect emms-playlist-buffer
[EMAIL PROTECTED] 
[Add `emms-ensure-player-playing-p'
[EMAIL PROTECTED] 
[Adding emms-playlist-mode-save and -open
[EMAIL PROTECTED] 
[Small fixes
[EMAIL PROTECTED] 
[Be able to clear the playlist buffer even if it's killed.
[EMAIL PROTECTED] 
[Adding emms-playlist-save-active-as-m3u
[EMAIL PROTECTED] 
[Fixing a typo in emms-playlist-save-active
[EMAIL PROTECTED] 
[Docstrings for playlist saving functions
[EMAIL PROTECTED] 
[Adding m3u playlist format for saving.
[EMAIL PROTECTED] 
[Added emms-playlist-mode.el
[EMAIL PROTECTED] 
[Shuffle, sort and source-add don't move point anymore.
[EMAIL PROTECTED] 
[Provide source insertion
[EMAIL PROTECTED] 
[Cleaned up `emms-playlist-save' a bit
[EMAIL PROTECTED] 
[Adding emms-playlist-save and -active-save
[EMAIL PROTECTED]
 
 Opening will come soon.
 
] 
[Fix emms-playlist-new and make emms-playlist-clear use it.
[EMAIL PROTECTED] 
[Removing the old emms-save-playlist
[EMAIL PROTECTED] 
[emms-source-add now checks for an as of yet unset marker, too.
[EMAIL PROTECTED] 
[Add `emms-playlist-buffer-p'.
[EMAIL PROTECTED] 
[emms-lyrics.el: Changed to `emms-player-seeked-hook' to
[EMAIL PROTECTED]
 `emms-player-seeked-functions', defined in `emms.el'.
] 
[emms-playing-time.el: Changed to `emms-player-seeked-hook' to
[EMAIL PROTECTED]
 `emms-player-seeked-functions', defined in `emms.el'.
] 
[emms.el: Fix seek bug in `emms-player-seek'.
[EMAIL PROTECTED] 
[emms-lyrics.el: Updated commentary and applied standard customization
[EMAIL PROTECTED]
 definitions.
] 
[ogg-comment.el: Define macros before using them.
[EMAIL PROTECTED] 
[Add more mikmod command line args.
[EMAIL PROTECTED] 
[Added mikmod support (thanks to Martin Schoenmakers)
[EMAIL PROTECTED] 
[emms-playlist-new, emms-playlist-set-playlist-buffer: New commands.
[EMAIL PROTECTED] 
[Add `emms-player-simple-regexp'. Also, use it as appropriate.
[EMAIL PROTECTED] 
[Fixing typo in file regexps for gstreamer
[EMAIL PROTECTED] 
[Updated define-emms-simple-player examples in emms.texinfo
[EMAIL PROTECTED] 
[Call widen in shuffle and sort.
[EMAIL PROTECTED] 
[Added `emms-playlist-delete-track-function'.
[EMAIL PROTECTED] 
[Remove emms-playlist-kill-track.
[EMAIL PROTECTED] 
[Fix shuffling in combined sources.
[EMAIL PROTECTED] 
[Call `emms-shuffle' to shuffle a source.
[EMAIL PROTECTED] 
[Cleanup of the shuffle/sort stuff
[EMAIL PROTECTED] 
[emms-shuffle-all: Depend on the value of current, not of emms-player-playing-p
[EMAIL PROTECTED] 
[Don't make emms-playlist-sort and emms-playlist-shuffle interactive.
[EMAIL PROTECTED] 
[Keep the selected song correct for shuffling and sorting
[EMAIL PROTECTED] 
[Throw errors for `emms-next' and `emms-previous' at the end/beginning of the playlist
[EMAIL PROTECTED] 
[Added `emms-randomÃ' (idea by twb)
[EMAIL PROTECTED] 
[Add shuffling and sorting.
[EMAIL PROTECTED] 
[Lots of condition-case fixes.
[EMAIL PROTECTED] 
[First attempt at reading playing time for .ogg
[EMAIL PROTECTED]
 
 Problem : it's a bit long to read the info now.
 We need to optimize that.
 
] 
[Move gstreamer support into simple player.
[EMAIL PROTECTED] 
[Add pause and resume to the simple player.
[EMAIL PROTECTED] 
[emms-stream-info.el: Use emms-playlist-selected-track.
[EMAIL PROTECTED] 
[Removed old gstreamer wrappers
[EMAIL PROTECTED] 
[Added new generic wrapper for gstreamer
[EMAIL PROTECTED] 
[Fixed typo in emms.el
[EMAIL PROTECTED]
 
 Non quoted hook variable
 
] 
[Rewrote emms-player-gstreamer
[EMAIL PROTECTED] 
[Typo: It's emms-playlist-insert-track, not ...-track-insert.
[EMAIL PROTECTED] 
[emms-player-mpd doesn't need emms-player-extensions anymore.
[EMAIL PROTECTED] 
[FAQ: Typo fix (Thes -> The)
[EMAIL PROTECTED] 
[Fixing the extensions problem.
[EMAIL PROTECTED]
 
 Just removed the requires, and added require mplayer
 in emms-default.
 
] 
[Select a track after adding, too, if none is selected.
[EMAIL PROTECTED] 
[Rename emms-mpd.el to emms-player-mpd.el
[EMAIL PROTECTED] 
[Rename emms-lyric.el to emms-lyrics.el
[EMAIL PROTECTED] 
[Add speex support
[EMAIL PROTECTED] 
[Add pause and seek support to emms.el.
[EMAIL PROTECTED]
 This factors out the mplayer support into emms-player-mplayer.el,
 and removes emms-player-extensions.el.
] 
[renaming the provide, Emacs complains otherwise
[EMAIL PROTECTED] 
[Fixed emms-mode-line-icon and -playing-time
[EMAIL PROTECTED] 
[Rename emms-gstreamer.el to emms-player-gstreamer.el
[EMAIL PROTECTED] 
[fixing emms-lyric.el and emms-mode-line.el
[EMAIL PROTECTED]
 
 I don't have any lyric file, so I can't test it. But 
 there are no errors :)
 
 
] 
[emms.el (with-current-emms-playlist): Also recreate when the buffer is
[EMAIL PROTECTED]
 dead.
] 
[emms.el (emms-next-noerror): Always return non-nil when
[EMAIL PROTECTED]
 `emms-playlist-select-next' doesn't error out.
] 
[Playlist buffer rewrite
[EMAIL PROTECTED] 
[Initial commit (CVS 2005-09-11)
[EMAIL PROTECTED] 
Patch bundle hash:
5eb567b6b6c1c422fca1f0f97fdad6abcab8e47b
-- 
"Cut your own wood and it will warm you twice"
_______________________________________________
Emms-help mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to