Discussion:
[emms-help] error: void-variable default-major-mode
Filipp Gunbin
2016-11-11 12:30:36 UTC
Permalink
Hi,

On current emacs master this line in master lisp/emms.el generates
error:

(defcustom emms-playlist-default-major-mode default-major-mode
...

The error is `Debugger entered--Lisp error: (void-variable
default-major-mode)'.

It is thrown when running init code from my .emacs:

(require 'emms-setup)
(emms-all)
(emms-default-players)

Filipp
Yoni Rabkin
2016-11-11 12:51:20 UTC
Permalink
Post by Filipp Gunbin
Hi,
On current emacs master this line in master lisp/emms.el generates
(defcustom emms-playlist-default-major-mode default-major-mode
...
The error is `Debugger entered--Lisp error: (void-variable
default-major-mode)'.
(require 'emms-setup)
(emms-all)
(emms-default-players)
I guess that means that they are planning to remove that obsolete
variable completely in favor of `major-mode'.

I'll make the switch to `major-mode' in the Emms git repo in the next
few days (if not sooner).
--
"Cut your own wood and it will warm you twice"
Filipp Gunbin
2016-11-11 19:00:28 UTC
Permalink
Post by Yoni Rabkin
I guess that means that they are planning to remove that obsolete
variable completely in favor of `major-mode'.
I'll make the switch to `major-mode' in the Emms git repo in the next
few days (if not sooner).
Thanks!

Filipp
Julien Cubizolles
2016-12-15 06:04:48 UTC
Permalink
Post by Yoni Rabkin
I guess that means that they are planning to remove that obsolete
variable completely in favor of `major-mode'.
I'll make the switch to `major-mode' in the Emms git repo in the next
few days (if not sooner).
I didn't see this commit at git://git.savannah.gnu.org/emms.git. Is
there another repo more up to dateĀ ?

Julien.
Yoni Rabkin
2016-12-15 19:16:00 UTC
Permalink
Post by Julien Cubizolles
Post by Yoni Rabkin
I guess that means that they are planning to remove that obsolete
variable completely in favor of `major-mode'.
I'll make the switch to `major-mode' in the Emms git repo in the next
few days (if not sooner).
I didn't see this commit at git://git.savannah.gnu.org/emms.git. Is
there another repo more up to dateĀ ?
My apologies. I completely forgot to do this. Thank you for reminding
me.
--
"Cut your own wood and it will warm you twice"
Loading...