[OS X Emacs] Aquamacs / Pymacs compatibility

Henry henry.robinson at gmail.com
Tue Jul 28 10:40:10 EDT 2009

Hi -

I believe this is an old-ish problem (one of the only other mentions of it I
have seen was from 2008). I'm trying to get pymacs to run on Aquamacs, but
loading it causes simple elisp functions to blow various recursion limits.

>From my .emacs:

(add-to-list 'load-path "~/.emacs.d/Pymacs-0.23/")
(autoload 'pymacs-apply "pymacs")
(autoload 'pymacs-call "pymacs")
(autoload 'pymacs-eval "pymacs" nil t)
(autoload 'pymacs-exec "pymacs" nil t)
(autoload 'pymacs-load "pymacs" nil t)

(pymacs-load "ropemacs" "rope-")

This induces recursion errors on even the simplest functions (reliably, C-h
f jump-to-register). The problem is not rope, as I have reproduced the issue
just by calling pymacs-eval to load pymacs then retrying. I have removed
everything else from my .emacs to isolate the issue. The problem seems to be
with advice, as the message buffer says ad-orig--funcname: max-specpdl-size
exceeded for a variety of values of funcname. Increasing both
max-specpdl-size and max-lisp-eval-depth to huge values leads to a crash,
suggesting that there's actually an infinite loop somewhere.

Although this may be a bug in pymacs itself, this issue does not manifest
itself with Mac OS-provided emacs (GNU Emacs 22.1.1 (mac-apple-darwin,
Carbon Version 1.6.0) of 2009-01-31 on b79.apple.com). My Aquamacs is the
latest release: GNU Emacs 22.3.1 (i386-apple-darwin9.7.0, Carbon Version
1.6.0) of 2009-06-07 on scarlett.local - Aquamacs Distribution 1.8

I am running on an up-to-date Leopard.

Does anyone know of a workaround or fix?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090728/097d8e92/attachment.html>

More information about the MacOSX-Emacs mailing list