Open et2010 opened 8 years ago
Thanks for the report.
The Perspective extension (purpose-x-persp-setup
) is intended to work with perspective.el, as stated here in the wiki. Spacemacs uses persp-move, not perspective.el, that's why you get an error.
I realize now that this distinction isn't mentioned anywhere in the code, only in the wiki.
I'm keeping this issue open as a reminder for me to make the distinction clearer.
I assume it's only the extension that causes an error, and that if you don't activate it then the rest of Purpose works as intended.
In the future, could you please elaborate more when reporting issues? For example, include the exact error message. The title also doesn't say what the problem is, only that there's a problem. It's easier to help when I know what exactly isn't working. Usually it also helps to include a reproduction recipe. This time it wasn't necessary, but in the future please keep that in mind ;-)
Thanks for your advice. I will keep that in mind.
Sorry for the misoperation
This error would still happen with perspective.el
now since persp-curr
is not defined as a variable anymore, but as a function in newer versions
@dzop thanks for the tip, should be fixed by https://github.com/bmag/emacs-purpose/commit/26c8850ca00dca2f777c2b73520676ca7b7fe5b7. Might also work with the other persp-mode now.
Persp-mode is a spacemacs stock mode which is based on perspective, but the perspective extension not working here. When I run
purpose-x-persp-setup
, emacs just complain aboutpersp-curr
being void.When I M-x
purpose-x-persp-setup
, I got this error:Here is the trace back:
I'm using spacemacs 0.105.9 with emacs 24.5.1.