Hi,
I started using emms2 for 2 two weeks now and I find it very, very
nice!
My customizations are mostly borrowed from Michael Olson emms-init.el
(thanks to him for sharing his setup) but I ended up with a function I
find useful. Maybe it is of some interest here.
;; Jump to the directory containing the track at point
(defun emms-playlist-dired-jump (&optional other-window)
"Jump to dired buffer corresponding to current track.
If called with an argument, open the dired buffer on another window."
(interactive "P")
(let* ((file (emms-track-get (emms-playlist-track-at) 'name))
(dir (if file (file-name-directory file) default-directory)))
(if other-window
(dired-other-window dir)
(dired dir))
(if file (dired-goto-file file))))
Thanks,
Andrea.
--
"If art interprets our dreams, the computer executes them in the guise
of programs!" -- Alan J. Perils
_______________________________________________
Emms-help mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emms-help