Closed iliabv closed 8 years ago
We don't use the official persp-mode package, but a fork. In this fork, that function is called with just one argument:
https://github.com/syl20bnr/persp-mode.el/blob/master/persp-mode.el#L1146
I can't reproduce your problem.
Apparently I've had an official persp-mode package. I've deleted it from elpa
directory and after restart spacemacs found that this package is missing and installed a new one. With newly installed package I can't reproduce this problem too.
I don't know why I've had an official persp-mode, but it's probably because of my own actions, not spacemacs.
Thanks!
Great, I'm closing this then.
I know this is close, but I just ran in to the same problem after a freshly installed head of develop (f1247c8d189e5637b6c128f97fe4fb008b718940) so it may be good to keep this as reference. Could it be that persp-mode is pulled by another package?
Description
Hi! After recent changes in layouts logic it's impossible (for me) to create new layouts (
SPC-l-number
). At every attempt to do that I get an error message.Reproduction guide
SPC-l-number
)Observed behaviour: New layout isn't created. Instead you get this error message:
Expected behaviour: No errors, new layout is created.
My investigation: It seems that problem with
spacemacs/update-eyebrowse-for-perspective
function. It is used as a hook forpersp-before-switch-functions
. But, according to this code in persp-mode repository, this hook is always called with two arguments, not one. And indeed - after adding second argument tospacemacs/update-eyebrowse-for-perspective
everything is OK.System Info