Lucas Bonnet <[EMAIL PROTECTED]> writes: >> However, without using id3 info, how to show just the file name >> without the path? I found it takes up too much space in the mode >> line. I think it will be a nice feature to have. > > Yes, you can, forcer does this, he will give you his config if you ask > him nicely :)
(setq emms-track-description-function 'fc-emms-track-description) (defun fc-emms-track-description (track) "Return a nice description of TRACK." (let ((desc (emms-track-simple-description track))) (if (string-match "^/home/forcer/snd/\\(musik/\\(artists/\\)?\\)?\\(.*\\)" desc) (match-string 3 desc) desc))) The result of `emms-track-description-function' is used as %s in `emms-mode-line-format', which should be mentioned in that docstring. Regards, -- Jorgen -- ((email . "[EMAIL PROTECTED]") (www . "http://www.forcix.cx/") (gpg . "1024D/028AF63C") (irc . "nick forcer on IRCnet")) _______________________________________________ Emms-help mailing list Emms-help@gnu.org http://lists.gnu.org/mailman/listinfo/emms-help