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
1
vote
2 answers

Pymacs helper does not load

I'm running emacs 22.1.1 on OS X version 10.8 (mountain lion) and I have started setting up pymacs, rope, ropemacs according to the instructions provided here: http://www.saltycrane.com/blog/2010/05/my-emacs-python-environment/ After reaching the…
user1451817
  • 151
  • 1
  • 6
1
vote
1 answer

Python to drive Emacs; pymacs doesn't work

I've got a python script that loops indefinitely waiting for input, and then does something when the input happens. My problem is then making python tell emacs to do something. I just need some way to send emacs input and make emacs evaluate that…
user137668
0
votes
0 answers

Can PyMacs be used to display graphics in an Emacs window?

Pymacs (Documentation) allows you to write plugins for Emacs in Python. Is it possible to write an Emacs plugin in PyMacs which displays graphics in an Emacs window (using one of the graphics libraries available for Python)? Update 1: Here is the…
Glory to Russia
  • 17,289
  • 56
  • 182
  • 325
0
votes
1 answer

Can you pipe ropemacs suggestions to another command?

is there a way of getting the completions suggestions from ropemacs' rope-code-assist (bound to "M-/" in ropemode) to use in another command? What I'm trying to do is something like this: (defun rope-completions-in-ido () (interactive) …
Felipe
  • 3,003
  • 2
  • 26
  • 44
0
votes
1 answer

Why is Pymacs Returning (pymacs-python . n)?

Setup: Emacs 25.2.1 on Windows 10 Pymacs 0.25 Anaconda Python 3.5.1 Pymacs is running fine. I can run pymacs-eval and pymacs-exec commands successfully from Emacs. For example, evaluating the following works: (require 'pymacs) (pymacs-exec…
0
votes
1 answer

Emacs's Pymacs error "Symbol's value as variable is void: @DEFADVICE_OK@"

I have an error "Symbol's value as variable is void: @DEFADVICE_OK@" when I run "M-x pymacs-eval" in emacs (after installing rope, ropemacs, pymacs by this recommendations https://stackoverflow.com/a/22496541/4549375). What is wrong, what can I do…
0
votes
1 answer

Installing ropemacs using el-get-install

I am trying to set up Emacs for debugging Python scripts, as described in this blog. I am using Emacs version 24.3 on Ubuntu 14.04. When running el-get-install ropemacs from Emacs as suggested in this answer, I get error: abort: HTTP Error 503:…
Håkon Hægland
  • 39,012
  • 21
  • 81
  • 174
0
votes
1 answer

emacs el-get only runs one time, afterwards cannot be found

I install el-get by typing this into my buffer, highlighting, and hitting C-j: (url-retrieve "https://raw.github.com/dimitri/el-get/master/el-get-install.el" (lambda (s) (goto-char (point-max)) (eval-print-last-sexp))) ...according to the…
Mittenchops
  • 18,633
  • 33
  • 128
  • 246
0
votes
1 answer

pymacs-load does not load python modules from paths of pymacs-load-path variable

I have module named qwe.py in ~/ executing next lines: (setq pymacs-load-path (list "~/")) (pymacs-load "qwe") returns a error: Debugger entered--Lisp error: (error "Pymacs loading qwe...failed") signal(error ("Pymacs loading qwe...failed")) …
sergeek
  • 41
  • 5
1 2
3