Bad-ptr / persp-mode.el

named perspectives(set of buffers/window configs) for emacs
401 stars 44 forks source link

persp-add-new: Symbol's function definition is void: make-persp-internal #9

Closed delexi closed 10 years ago

delexi commented 10 years ago

Trying to create a new perspective will result in the following error: persp-add-new: Symbol's function definition is void: make-persp-internal

Steps to reproduce:

(add-to-list 'load-path "/home/delexi/.emacs.d/elpa/workgroups-20110726.941")
(add-to-list 'load-path "/home/delexi/.emacs.d/elpa/persp-mode-20140119.1113")
(require 'persp-mode)
(persp-mode 1)

This is emacs24.3

EDIT: Funny thing: I just "edebuged" persp-add-new and the stepping through somehow did not trigger the error. I was able to create a new perspective "test". After this, creating perspectives is on longer a problem. After restarting emacs this problem resurfaces.

Bad-ptr commented 10 years ago

Hm.. Can't reproduce with my emacs from trunk. Though I had similar issue some time ago with 'obsolete' packages. First of all try this: M-x : list-packages. See if you have some packages with 'obsolete' in 'Status' column(must be in the end of buffer) -- delete them. Then even if you have not 'obsolete' packages delete persp-mode and workgroups. Restart emacs. Then M-x: list-packages, install persp-mode and workgroups. ;p And I'm not shure but workgroups could conflict with workgroups2(if you installed it). After that: emacs -Q, M-x: load-file ~/.emacs.d/elpa/workgroups-20110726.941/workgroups.el , M-x: load-file home/delexi/.emacs.d/elpa/persp-mode-20140119.1113/persp-mode.el M-x: persp-mode, M-x: persp-switch "test" RET.

delexi commented 10 years ago

M-x : list-packages. See if you have some packages with 'obsolete' in 'Status' column(must be in the end of buffer) -- delete them.

Done.

Then even if you have not 'obsolete' packages delete persp-mode and workgroups. Restart emacs. Then M-x: list-packages, install persp-mode and workgroups. ;p

Done. However, without the intermediate restart.

And I'm not shure but workgroups could conflict with workgroups2(if you installed it).

workgroups2 was not installed.

After that: emacs -Q, M-x: load-file ~/.emacs.d/elpa/workgroups-20110726.941/workgroups.el , M-x: load-file home/delexi/.emacs.d/elpa/persp-mode-20140119.1113/persp-mode.el M-x: persp-mode, M-x: persp-switch "test" RET.

It works, thank you!

vincentjgoh commented 7 years ago

I've just installed 2.9.6 from MELPA stable, and this is happening to me. Exact same error message. workgroups was not installed.

Bad-ptr commented 7 years ago

@vincentjgoh

workgroups was not installed

Maybe you have perspective-el installed then?