5 Jul 2010 00:04
Enhancing emms-mode-line.el
Tim Landscheidt <tim <at> tim-landscheidt.de>
2010-07-04 22:04:35 GMT
2010-07-04 22:04:35 GMT
Hi, I'm thinking about enhancing emms-mode-line.el (and inte- grating emms-mode-line-icon.el in the process). Instead of the present, "take it or write your own func- tion" approach, I would like to use something like battery-mode-line-format with a bunch of "%a" -> track's artist, "%t" -> track's title, "%s" -> old format, "%i" -> icon mappings. The problem I see when looking at - hmmm - emms-track-simple-description is that the format should de- pend on the track type. This could be dealt with by an alist (always as an alternative to a personal function): | '((file . "%i %a: %t") | (url . "%i %u") | (t . "%T: %N")) Are there scenarios that don't fit well into this? Tim
RSS Feed