senny / cabbage

get the maximum out of emacs
http://senny.github.com/cabbage/
156 stars 21 forks source link

Getting issue when starting with default install #86

Closed gaffo closed 12 years ago

gaffo commented 12 years ago

Debugger entered--Lisp error: (file-error "Cannot open load file" "perspective") require(perspective) (cond ((file-directory-p normal) (add-to-list (quote load-path) normal) (require library)) ((file-directory-p suffix) (add-to-list (quote load-path) suffix) (require library)) ((file-exists-p suffix) (require library))) (let* ((file (symbol-name library)) (normal (concat e-max-vendor-dir file)) (suffix (concat normal ".el"))) (cond ((file-directory-p normal) (add-to-list (quote load-path) normal) (require library)) ((file-directory-p suffix) (add-to-list (quote load-path) suffix) (require library)) ((file-exists-p suffix) (require library)))) e-max-vendor(perspective) eval-buffer(#<buffer load<3>> nil "/home/mike/.e-max/lib/perspective.el" nil t) ; Reading at buffer position 28 load-with-code-conversion("/home/mike/.e-max/lib/perspective.el" "/home/mike/.e-max/lib/perspective.el" nil nil) load("/home/mike/.e-max/lib/perspective") eval-buffer(#<buffer load<2>> nil "/home/mike/.e-max/e-max.el" nil t) ; Reading at buffer position 1106 load-with-code-conversion("/home/mike/.e-max/e-max.el" "/home/mike/.e-max/e-max.el" nil nil) load("/home/mike/.e-max/e-max") eval-buffer(#<buffer load> nil "/home/mike/.emacs.d/init.el" nil t) ; Reading at buffer position 1097 load-with-code-conversion("/home/mike/.emacs.d/init.el" "/home/mike/.emacs.d/init.el" t t) load("/home/mike/.emacs.d/init" t t)

[0 "\205\262

jone commented 12 years ago

Are your submodules up to date? Try:

$ /home/mike/.e-max/scripts/update.sh

Then start emacs again. Does it work now?

gaffo commented 12 years ago

This was on a first time ever checkout of e-max clean. I would hope the submodules were up to date with the installer script or this is a bug in the installer script

senny commented 12 years ago

@gaffo is it working after you ran update.sh? If so, do you still have the console output when installing e-max. It should indeed initialized the submodules when you run the install.sh probably something failed on your side.

What operation system are you using?

You need to supply more information otherwise we can't locate the problem since the installer works just fine in our environment.

gaffo commented 12 years ago

I can try it again later. Ubuntu 11.10. Emacs 24 snapshot. Do I need to run update after I run the install script?

senny commented 12 years ago

@gaffo no you should not need to run the update-script after the install. The install script should setup everything as needed. We had some feedback tough that the install.sh is not working properly on ubuntu: 3e075951d642ed419c17104f2ce58c2bc029686a

I'll merge that patch in and then you should give it another try.

gaffo commented 12 years ago

Okay, let me know here when you've done so and I'll try it. I've got the laptop handy.

On 11/21/2011 2:05 PM, Yves Senn wrote:

@gaffo no you should not need to run the update-script after the install. The install script should setup everything as needed. We had some feedback tough that the install.sh is not working properly on ubuntu: 3e075951d642ed419c17104f2ce58c2bc029686a

I'll merge that patch in and then you should give it another try.


Reply to this email directly or view it on GitHub: https://github.com/senny/e-max/issues/86#issuecomment-2821965

senny commented 12 years ago

I merged in the fix. After you run the installation script you should see an output similar to this one:


-e Using already cloned e-max repository at ~/Projects/e-max ...
-e Initializing and updating submodules at ~/Projects/e-max
Submodule 'vendor/auto-complete' () registered for path 'vendor/auto-complete'
Submodule 'vendor/feature-mode' () registered for path 'vendor/feature-mode'
Submodule 'vendor/haml-mode' () registered for path 'vendor/haml-mode'
Submodule 'vendor/idle-highlight-mode' () registered for path 'vendor/idle-highlight-mode'
Submodule 'vendor/jump' () registered for path 'vendor/jump'
Submodule 'vendor/magit' () registered for path 'vendor/magit'
Submodule 'vendor/markdown-mode' () registered for path 'vendor/markdown-mode'
Submodule 'vendor/mode-compile' () registered for path 'vendor/mode-compile'
Submodule 'vendor/perspective' () registered for path 'vendor/perspective'
Submodule 'vendor/popwin' () registered for path 'vendor/popwin'
Submodule 'vendor/rhtml-mode' () registered for path 'vendor/rhtml-mode'
Submodule 'vendor/rinari' () registered for path 'vendor/rinari'
Submodule 'vendor/rspec-mode' () registered for path 'vendor/rspec-mode'
Submodule 'vendor/rvm' () registered for path 'vendor/rvm'
Submodule 'vendor/sass-mode' () registered for path 'vendor/sass-mode'
Submodule 'vendor/scss-mode' () registered for path 'vendor/scss-mode'
Submodule 'vendor/smex' () registered for path 'vendor/smex'
Submodule 'vendor/textmate' () registered for path 'vendor/textmate'
Submodule 'vendor/theme-roller' () registered for path 'vendor/theme-roller'
Submodule 'vendor/yaml-mode' () registered for path 'vendor/yaml-mode'
Submodule 'vendor/yari' () registered for path 'vendor/yari'
-e Looking for an existing emacs config in your home directory...
-e Found ~/.emacs.d. Backing up to ~/.emacs.d-pre-e-max-20111121-230631
-e Creating a ~/.emacs.d directory, containing the emacs load file.

-e   XXXXXX\          XXXXXX\ XXXX\   XXXXXX\  XX\   XX\     
-e   XX  __XX\ XXXXXX\ XX  _XX  _XX\  \____XX\  XX\ XX  |   
-e   XXXXXXXX |\______|XX / XX / XX | XXXXXXX |  XXXX  /    
-e   XX   ____|        XX | XX | XX |XX  __XX | XX  XX<     
-e    XXXXXXX\         XX | XX | XX |\ XXXXXX |XX  ^ XX\    
-e    \_______|        \__| \__| \__| \_______|\__/  \__|   
gaffo commented 12 years ago

that seemed to have worked. now I just gotta figure out what you changed all of the shortcuts to (open file, copy, paste, etc).

:)

senny commented 12 years ago

@gaffo we know that currently e-max does lack a huge deal of documentation. Also the binding setup that @jones and our team uses is quite different from the Emacs defaults and probably should not be activated directly. We are thinking about a color-theme like system for bindings so that you could easily change the way the keys are bound (#47).

If you don't want to use our binding policy just deactivate the ergonomic bundle in your ~/.emacs.d/init.el

jone commented 12 years ago

@gaffo check out the binding definitions in the ergonomic bundle -> https://github.com/senny/e-max/blob/master/bundles/ergonomic/bundle.el or run M-a describe-bindings RET