Questions tagged [pymacs]

A tool to allow two-way communication between Emacs and Python.

Pymacs is a tool to allow two-way communication between Emacs and Python. Using it requires both its Python package and its elisp package.

39 questions
37
votes
2 answers

Managing helper death

I had installed Pymacs, rope, ropemode, ropemacs, and when I executed pymacs-terminate-servicesby accident, I couldn't save modified buffers. It first asked me - The Pymacs helper died. Restart it? (yes or no). If I answered "yes", it threw -…
Mirzhan Irkegulov
  • 17,660
  • 12
  • 105
  • 166
24
votes
6 answers

How can I use meta-dot (M-.) in python with emacs?

Is there an equivalent of slime for python? For example, if I position the cursor on foo() and do M-. (jump to definition) I would like to see the source definition of the function foo This should work regardless of whether foo is in 1) the local…
nunb
  • 339
  • 1
  • 2
  • 14
23
votes
3 answers

Python 3 with Emacs

Is there anything that should be done to make GNU Emacs 23.2 work well with Python 3? How would an ideal environment for development with Python 3 in Emacs look like? Is there any documentation about using ropemacs with Python 3? Should I add Python…
Yktula
  • 14,179
  • 14
  • 48
  • 71
6
votes
3 answers

pymacs: General question and Installation problem

I am trying to setup emacs for python development. From what I read, it is recommended to use python-mode.el rather than the default python.el from Emacs 22.3. So I embark on the new adventure. From what I understand, python-mode has the several…
Anthony Kong
  • 37,791
  • 46
  • 172
  • 304
5
votes
3 answers

Load Pymacs & Ropemacs only when opening a Python file?

I use Pymacs to load ropemacs and rope with the following lines in my .emacs file as described here. (autoload 'pymacs-load "pymacs" nil t) (pymacs-load "ropemacs" "rope-") It however slows down the start-up of Emacs significantly as it takes a…
mtgred
  • 1,449
  • 14
  • 17
5
votes
3 answers

Clear steps to install pymacs with emacs 24?

I want autocompletion and refactoring in emacs with python. I gather that I need rope to do this. To do this with emacs, I need ropemacs. Ropmacs depends on pymacs. Pymacs is hard to install...or at least the instructions are not clear to me.…
user798719
  • 9,619
  • 25
  • 84
  • 123
4
votes
1 answer

Pymacs error starting Emacs after installing Python

I installed python using one of the msi files. But when I start up emacs, it gives me: Problem 1, which I thought I'd fixed When I run cmd and type in python, I get "python" is not recognized as an internal or external command, operable program or…
Nathaniel Saxe
  • 1,527
  • 2
  • 15
  • 25
3
votes
1 answer

Pymacs not starting on Emacs24 Carbon

I've followed the EnigmaCurry instructions for setting up a good python IDE in emacs. I didn't follow verbatim, since a bit has changed in emacs24 and I use customizer heavily to set options. In any case, when I was setting up flymake, I ran into a…
jrhorn424
  • 1,981
  • 2
  • 21
  • 27
3
votes
1 answer

python code completion in Emacs

I tried make PythonIDE using emacs like in this article http://www.enigmacurry.com/2009/01/21/autocompleteel-python-code-completion-in-emacs/ But emacs said me "auto-complete-mode not enabled". It is possible use emacs for python coding?
jerboa
  • 1,371
  • 2
  • 12
  • 18
3
votes
1 answer

Emacs Pymacs Ropemacs return to previous file after goto definition

I use Emacs + pymacs + ropemacs.I can use C-c g to go to the definition of objects,as mentioned in this answer https://stackoverflow.com/a/2855895/4018217 ,but after I go the definition ,how do I return to the file or the position from where I…
user4018217
3
votes
1 answer

Emacs: Pymacs not loading ropemacs with Carbon Emacs

I'm attempting to use Pymacs with rope/ropemacs for flymake syntax checking as described here: http://www.enigmacurry.com/2009/01/21/autocompleteel-python-code-completion-in-emacs/ When I start Carbon Emacs "normally" it throws the error: error:…
moorej
  • 517
  • 3
  • 17
3
votes
2 answers

Pymacs helper did not start after 30 seconds

I've seen other questions on this, but none of them were actually answered, and none of them are quite my issue. I have a new system, emacs 23.1, Centos 6.2 (I think). I downloaded the newest pymacs and installed it. However, I'm getting: error:…
Brian Postow
  • 11,709
  • 17
  • 81
  • 125
3
votes
2 answers

How to load a GTK program in Pymacs

Hello I am trying to write a Python program to save Emacs' files on the loss of window focus. For that I wrote a Python programm that creates a full gtk application and uses the wnck module: from Pymacs import lisp import wnck import gtk class…
Rockiger
  • 422
  • 3
  • 11
2
votes
0 answers

Code autocompletion using ropemacs on opencv python bindings

I'm wondering if there's a get rope-code-assist working on the cv namespace of openCV import cv2.cv as cv cv.LoadImage So far I get [no match]. Is there something else I need to do? The cv2.pyd is in the PYTHONPATH and has been built from the…
octi
  • 1,470
  • 1
  • 17
  • 28
2
votes
2 answers

Running Matplotlib or enthought.mayavi.mlab from a py-shell inside Emacs on Windows

I can run the following code fine from a regular cmd shell: import matplotlib.pyplot as plt fig = plt.figure() plt.show() It launches a Matplotlib window. However, running inside Emacs using shell or py-shell: the buffer just hangs and no window is…
Naveen
  • 5,910
  • 5
  • 30
  • 38
1
2 3