#716645 emms: jack.el mode-line-format

Package:
emms
Source:
emms
Description:
Emacs MultiMedia System
Submitter:
Kevin Ryde
Date:
2014-10-16 02:33:05 UTC
Severity:
normal
#716645#5
Date:
2013-07-10 22:00:08 UTC
From:
To:
In emacs24 -q,

    M-: (require 'jack)
    M-x jack-start

gets an error

    Wrong type argument: consp, nil

The debugger suggests it's

    (setcar (nthcdr 16 mode-line-format)

I wonder if one of the existing mode line variables could be used
instead.  Maybe mode-line-process, except perhaps extended to show if
the sub-process has died.

    (setq mode-line-process `(:eval (format " load:%.2f" jack-load)))