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
2
votes
0 answers

pymacs-report-error: Python: TypeError: pymacs_load_helper() takes exactly 2 arguments (3 given)

Spent quite some time trying to install and configure Pymacs + ropemacs and friends onto my Mac OS 10.9 / Emacs 24.3 system and I am seeing the following issue when attempting to load any module (including ropemacs): pymacs-report-error: Python:…
El Gringo
  • 21
  • 1
2
votes
1 answer

Pymacs Not Starting up on Emacs24

I'm using Emacs 24 and Pymacs doesn't seem to start up. I installed pymacs from ELPA. When I write M-x pymacs-eval and give an arbitary expression, it gives me the following error: pymacs-report-error: Pymacs helper did not start within 30…
Sibi
  • 47,472
  • 16
  • 95
  • 163
2
votes
0 answers

How to prevent all hooks running before exit from being executed?

I'm talking specifically about Pymacs, but this would be useful to know if anything like that happens in other circumstances. The problem: when something goes wrong in Pymacs, it will no matter what try to restart itself, and especially so when it…
user797257
2
votes
1 answer

Getting hello world to work in pymacs

Context: I have been using ropemacs for python and have pyemacs setup and working. I want to start programming emacs in python (I have some experience programming emacs in elisp). And I started off with hello world sample. I have created…
Raghu
  • 2,004
  • 1
  • 16
  • 18
2
votes
0 answers

Specified program for new process is a directory in Emacs with Pymacs

I have tried to follow the Pymacs installation instructions as good as I could. It seems that my installation went fine, however, when I try M-x pymacs-eval with repr(2L**111) or M-x pymacs-load with os RET RET, I always end up getting a message…
user1017102
  • 787
  • 1
  • 7
  • 14
2
votes
1 answer

Emacs24 + Pymacs -f switch with pymacs-load-path redundant?

I've upgraded to Emacs24 and, when launching Pymacs it would break because of timeout. Below is the backtrace: Debugger entered--Lisp error: (error "Pymacs helper did not start within 30 seconds") signal(error ("Pymacs helper did not start within…
user797257
1
vote
1 answer

numpy 1.6.1 and python 2.7 along with ropemacs crash code completion

so now that I updated python from 2.7 to 2.7.2 i can no longer invoke rope-code assist in emacs. import numpy as np x = np.arange(0, 5, 0.1) I have the typical rope 0.9.3, ropemode-0.1-rc2, pymacs 0.24-beta2, ropemacs 0.6 when doing M-/ or M-x…
octi
  • 1,470
  • 1
  • 17
  • 28
1
vote
0 answers

Ropemacs does not work under windows environment

I am trying to use Emacs as my Python IDE under win32. I referred to several posts on the Internet and I had yasinppet, auto-complete, pymacs, ropemacs installed on my Emacs. It shows that Emacs will load python mode, rope mode, yas mode and…
kunimi
  • 61
  • 1
  • 4
1
vote
3 answers

Pymacs lisp version rarities

I am running Ubuntu Natty and install Emacs and pymacs and ropemacs all from the repos. So when I add to my .emacs file the script to load ropemacs and pymacs I get the following error: File mode specification error: (error "Pymacs Lisp version is…
actionAxolot
  • 485
  • 5
  • 16
1
vote
1 answer

Pymacs Cannot Find Packages on Anaconda

I noticed Pymacs did not recognize packages that were installed through Anaconda. Note: Just discovered a solution, I will enter it as an answer.
BBSysDyn
  • 4,389
  • 8
  • 48
  • 63
1
vote
1 answer

yet another pymacs helper did not start within 30 seconds (but with more debug)

I have followed this guide, and consulted these existing stackoverflow questions: Pymacs helper did not start after 30 seconds Windows 8 + Emacs 24.3 + emacs-for-python: Pymacs helper did not start within 30 seconds But unfortunately, these did…
Mittenchops
  • 18,633
  • 33
  • 128
  • 246
1
vote
0 answers

Emacs hangs when using rope-goto-definition and rope-show-doc

I have installed ropemacs as part of the emacs-for-python collection of python development packages. When I use the rope-goto-definition and rope-show-doc functions to goto/show library symbols I can more or less consistently get emacs to hang. To…
Robert Kajic
  • 8,689
  • 4
  • 44
  • 43
1
vote
1 answer

Pymacs - Unable to call a method obtained with pymacs-eval

The Pymacs 0.25 manual has the following snippet in Section 3.4.2 (pymacs-exec "import re") (setq matcher (pymacs-eval "re.compile('PATTERN').match")) (pymacs-call matcher "PATTERN123") In Emacs24.2 on Ubuntu 12.04 (32-bit) with Python 2.7.3, the…
Amey
  • 198
  • 1
  • 9
1
vote
3 answers

Emacs Extension for Python Auto Complete

I'm looking for an extension which will help in Python's auto complete feature in Python. If I type the following code: a = [4,5,6] a.p Then I expect it would give me a suggestion for pop as it is one of the method of Python list. Is this thing…
Sibi
  • 47,472
  • 16
  • 95
  • 163
1
vote
0 answers

Emacs to autocomplete all imported module functions

I have been using rope, ropemacs and pymacs for my autocompletion. It does pretty well, but I noticed that there is some limitation to the amount of completion it aids in. It only seems to complete the classes for the modules imported not all of the…
Randolph
  • 951
  • 2
  • 11
  • 24