From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: pymacs Date: Mon, 10 Jun 2013 11:13:14 +0800 Message-ID: <877gi27j5h.fsf@ericabrahamsen.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370834018 8302 80.91.229.3 (10 Jun 2013 03:13:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Jun 2013 03:13:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 10 05:13:38 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UlsY2-0004Yh-VB for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Jun 2013 05:13:35 +0200 Original-Received: from localhost ([::1]:60365 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlsY2-00033K-Da for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Jun 2013 23:13:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlsXq-00031s-HU for help-gnu-emacs@gnu.org; Sun, 09 Jun 2013 23:13:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlsXm-0003yp-TN for help-gnu-emacs@gnu.org; Sun, 09 Jun 2013 23:13:22 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:54145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlsXm-0003yd-NJ for help-gnu-emacs@gnu.org; Sun, 09 Jun 2013 23:13:18 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UlsXl-0004PR-TY for help-gnu-emacs@gnu.org; Mon, 10 Jun 2013 05:13:17 +0200 Original-Received: from 114.252.252.196 ([114.252.252.196]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jun 2013 05:13:17 +0200 Original-Received: from eric by 114.252.252.196 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jun 2013 05:13:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.252.252.196 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:GnvhH7PzyKx/aIeAAQQ6KIy9Ndw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91423 Archived-At: daniel writes: > That is interesting. (but doesn't work in my Emacs installation yet...) > > Anyway, it is not related to my question! > """Pymacs is a powerful tool which, once started from Emacs, allows > both-way communication between Emacs Lisp and Python.""" I use pymacs and rope, and like them quite a bit, but I remember it was a real pain in the rear to get everything installed and talking together. I'm on arch, so there are often confusions about python 2 vs 3 (3 is the default), and I think I was trying to install too many things manually. Arch turned out to have readymade packages for pymacs, python2-rope and python2-ropemode, and it all worked better. Depending on your system, I'd definitely look for packages. Pymacs is also available through Emacs' package manager, which might be the safest option: install it from there, and do the usual initialization dance in a python-mode load hook: (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) What else do you need to know? Eric