You are not logged in.

#1 2006-11-13 20:34:57

drakosha
Member
Registered: 2006-01-03
Posts: 253
Website

bicyclerepair with emacs

bicyclerepair is a python refactoring (and more) helper. I wanted to try it with emacs, i installed it from aur and updated .emacs as it's recomended:

;;--------------------------------------------------------------------
;; pymacs
(autoload 'pymacs-load "pymacs" nil t)
(autoload 'pymacs-eval "pymacs" nil t)
(autoload 'pymacs-apply "pymacs")
(autoload 'pymacs-call "pymacs")

(pymacs-load "bikeemacs" "brm-")
(brm-init)

However i get the following error. Any ideas?

Debugger entered--Lisp error: (error "Pymacs loading bikeemacs...failed")
  signal(error ("Pymacs loading bikeemacs...failed"))
  error("Pymacs loading %s...failed" "bikeemacs")
  pymacs-load("bikeemacs" "brm-")

Offline

#2 2006-11-13 20:47:10

drakosha
Member
Registered: 2006-01-03
Posts: 253
Website

Re: bicyclerepair with emacs

The solution was:

1. python-mode-1.0 should be loaded in emacs
2. cp ~/bicyclerepair-0.9/ide-integration/bikeemacs.py /usr/lib/python2.4/site-packages/bike/
3. replace the loading with: (pymacs-load "/usr/lib/python2.4/site-packages/bike/bikeemacs" "brm-")

I get the menu, but the refactoring (for example rename or find references) does not work...

Ideas?

Offline

Board footer

Powered by FluxBB