newbie install problem

95 views
Skip to first unread message

hippysurfer

unread,
Sep 15, 2012, 3:22:08 AM9/15/12
to emacs-...@googlegroups.com
Hi

Stumbled across cabbage and decided to give it a try as I have always liked emacs but find the time needed to get it configured to be a barrier.

I have run the installer and the install is in ~/.emacs.d. However when I start emacs I see no difference. Is there someway that I can confirm that cabbage is loading correctly? Do I need to put something in ~/.emacs ?

I am sure that this is really obvious but obvious things in emacs always take me 2 hours on Google to work out :-)

Platform details:
    OS X
    Aquamacs (emacs 24)

Thanks

Richard

senny

unread,
Sep 15, 2012, 5:41:30 AM9/15/12
to emacs-...@googlegroups.com
Hi Richard,

When cabbage is installed correctly you should see a different color theme and of course all the cabbage functions should be loaded. So you can try to execute "cabbage-load-bundle". Normally Emacs looks for the "init.el" in the "~/.emacs.d" folder. I think the "init.el" file is not picked up by Emacs. Do you still have a ~/.emacs file lying around? If so, please try to move the file away and restart Emacs.

hippysurfer

unread,
Sep 15, 2012, 6:52:57 AM9/15/12
to emacs-...@googlegroups.com
Looks like the problem is with Aquamacs. I installed emacs24 using brew and the .emacs.d/init.el file is loaded as I would expect.

However, now I get the following error:

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$
  (let* ((file (symbol-name library)) (normal (concat cabbage-vendor-dir file)) (suffix (concat nor$
  cabbage-vendor(perspective)
  eval-buffer(#<buffer  *load*<3>> nil "/Users/rjt/Src/cabbage/lib/perspective.el" nil t)  ; Readin$
  load-with-code-conversion("/Users/rjt/Src/cabbage/lib/perspective.el" "/Users/rjt/Src/cabbage/lib$
  load("/Users/rjt/Src/cabbage/lib/perspective")
  eval-buffer(#<buffer  *load*<2>> nil "/Users/rjt/Src/cabbage/cabbage.el" nil t)  ; Reading at buf$
  load-with-code-conversion("/Users/rjt/Src/cabbage/cabbage.el" "/Users/rjt/Src/cabbage/cabbage.el"$
  load("/Users/rjt/Src/cabbage/cabbage")
  eval-buffer(#<buffer  *load*> nil "/Users/rjt/.emacs.d/init.el" nil t)  ; Reading at buffer posit$
  load-with-code-conversion("/Users/rjt/.emacs.d/init.el" "/Users/rjt/.emacs.d/init.el" t t)
  load("/Users/rjt/.emacs.d/init" t t)
  #[0 "^H\205\262^@ \306=\203^Q^@\307^H\310Q\202;^@ \311=\204^^^@\307^H\312Q\202;^@\313\307\314\315$
  command-line()
  normal-top-level()

Any clues?

Richard

hippysurfer

unread,
Sep 15, 2012, 7:13:37 AM9/15/12
to emacs-...@googlegroups.com
Cracked it.

I had to run scripts/update.sh to complete the download of all the packages.

Then I hit the following problem:

Debugger entered--Lisp error: (void-function scroll-bar-mode)                                       
  (scroll-bar-mode -1)                                                                              
  eval-buffer(#<buffer  *load*<3>> nil "/Users/rjt/Src/cabbage/bundles/accessibility/bundle.el" nil$
  load-with-code-conversion("/Users/rjt/Src/cabbage/bundles/accessibility/bundle.el" "/Users/rjt/Sr$
  load("/Users/rjt/Src/cabbage/bundles/accessibility/bundle")                                       
  (let ((bundle-name (cabbage--bundle-name bundle))) (when (member bundle-name cabbage--deprecated-$
  cabbage-load-bundle(accessibility)                                                                
  (while --cl-dolist-temp-- (setq bundle (car --cl-dolist-temp--)) (cabbage-load-bundle bundle) (se$
  (let ((--cl-dolist-temp-- cabbage-bundles) bundle) (while --cl-dolist-temp-- (setq bundle (car --$
  (catch (quote --cl-block-nil--) (let ((--cl-dolist-temp-- cabbage-bundles) bundle) (while --cl-do$
  (cl-block-wrapper (catch (quote --cl-block-nil--) (let ((--cl-dolist-temp-- cabbage-bundles) bund$
  (block nil (let ((--cl-dolist-temp-- cabbage-bundles) bundle) (while --cl-dolist-temp-- (setq bun$
  (dolist (bundle cabbage-bundles) (cabbage-load-bundle bundle))                                    
  eval-buffer(#<buffer  *load*<2>> nil "/Users/rjt/Src/cabbage/cabbage.el" nil t)  ; Reading at buf$
  load-with-code-conversion("/Users/rjt/Src/cabbage/cabbage.el" "/Users/rjt/Src/cabbage/cabbage.el"$
  load("/Users/rjt/Src/cabbage/cabbage")                                                            
  eval-buffer(#<buffer  *load*> nil "/Users/rjt/.emacs.d/init.el" nil t)  ; Reading at buffer posit$
  load-with-code-conversion("/Users/rjt/.emacs.d/init.el" "/Users/rjt/.emacs.d/init.el" t t)        
  load("/Users/rjt/.emacs.d/init" t t)                                                              
  #[0 "^H\205\262^@ \306=\203^Q^@\307^H\310Q\202;^@ \311=\204^^^@\307^H\312Q\202;^@\313\307\314\315$
  command-line()                                                                                    
  normal-top-level()

If I comment out 'accessibility' from .emacs.d/config.el every things load up OK. I just can't workout how anything works now as the key bindings have changed! I guess that is the ergonomic package at work, time to read some more manuals.

Thanks

Richard

senny

unread,
Sep 15, 2012, 12:02:27 PM9/15/12
to emacs-...@googlegroups.com
Hey Richard

glad you found your way through the problems. Are you using Emacs within the terminal? Currently we only support Emacs in GUI-mode. We plan to add terminal support though (see https://github.com/senny/cabbage/issues/156).

Thats right, the new bindings are part of the ergonomic bundle. We activate it by default because we think they are well worth learning and save your hands from injuries. They also make you more productive because we chose most bindings to be as efficient as possible.

If you like the default bindings you can turn of the ergonomic bundle. I think there will be some further errors because we don't have all the bindings defined at one place. We are working on this issue though. (see https://github.com/senny/cabbage/pull/155 and https://github.com/senny/cabbage/pull/108)

We need to add a lot of documentation since we just started to make cabbage more accessible for everyone it would be helpful if you point us to locations where you miss the documentation.

Hope this helps.
-- Yves
Reply all
Reply to author
Forward
0 new messages