From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Warsaw Newsgroups: gmane.emacs.devel Subject: Re: python.el fixes for Emacs 22 Date: Thu, 21 Feb 2008 00:09:26 -0500 Message-ID: References: <18356.54892.186541.669277@kahikatea.snap.net.nz> <861w7euz7a.fsf@lola.quinscape.zz> <2cd46e7f0802150943x46e9bcb0i4c3b6075d48cc979@mail.gmail.com> <18363.29854.271108.937443@kahikatea.snap.net.nz> <2cd46e7f0802201620o6b6190dcmb53805bbb30aa3ec@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203590285 21958 80.91.229.12 (21 Feb 2008 10:38:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Feb 2008 10:38:05 +0000 (UTC) Cc: skip montanaro , Nick Roberts , cyd@stupidchicken.com, emacs-devel@gnu.org, sdl.web@gmail.com, rms@gnu.org To: Ken Manheimer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 21 11:38:28 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JS8or-0000Sg-D8 for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2008 11:38:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JS8oM-0007qf-5l for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2008 05:37:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JS4HD-0005n4-DI for emacs-devel@gnu.org; Thu, 21 Feb 2008 00:47:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JS4HA-0005lu-T9 for emacs-devel@gnu.org; Thu, 21 Feb 2008 00:47:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JS4HA-0005lq-No for emacs-devel@gnu.org; Thu, 21 Feb 2008 00:47:20 -0500 Original-Received: from 216-15-33-253.c3-0.slvr-ubr2.lnh-slvr.md.static.cable.rcn.com ([216.15.33.253] helo=mail.wooz.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JS4H2-0004v7-GY; Thu, 21 Feb 2008 00:47:12 -0500 Original-Received: from snowdog.wooz.org (snowdog.wooz.org [192.168.11.202]) by mail.wooz.org (Postfix) with ESMTP id 48E9BE3B90; Thu, 21 Feb 2008 00:09:33 -0500 (EST) In-Reply-To: <2cd46e7f0802201620o6b6190dcmb53805bbb30aa3ec@mail.gmail.com> X-Pgp-Agent: GPGMail d51 (Leopard) X-Mailer: Apple Mail (2.919.2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) X-Greylist: delayed 2248 seconds by postgrey-1.27 at monty-python; Thu, 21 Feb 2008 00:47:09 EST X-Mailman-Approved-At: Thu, 21 Feb 2008 05:32:30 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89811 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Let me just say that of all the cool Ken hacks that I've become addicted to over the years, probably the most useful to my daily life is pdbtrack. To me, it's an absolutely essential tool for a Python programmer, and it makes all my vim-loving colleagues positively drool. :) (BTW, why do all the kids love vim these days?) On Feb 20, 2008, at 7:20 PM, Ken Manheimer wrote: > > the way you've implemented it, you put the comint hook only in the > python-shell. the thing is, python programs aren't only run from > python-shell. In fact, I'd say almost never in my experience. I use pyshell for some simple experimentation, but 99% of the time run my programs from the shell, with a strategically placed "import pdb; pdb.set_trace()" line in the problematic code. pdbtrack makes debugging this way efficient and fun. > in fact, many python programs and servers are usually > launched as regular commands, from bash shells. in python-mode.el, > pdb tracking is hooked into all comint shells, and i would like to see > that same thing in the python.el version. Yes, absolutely a must. > also, i've also been talking with barry and skip, who would also be > interested in seeing the python mode versions converge. i do see that > python-mode.el is actively maintained - it's current with the > pre-release python 3.0, and it looks like a much more complete > language mode than python.el. would there be interest in helping to > get this convergence? is python.el actively maintained, and if so, > would the maintainers be interested in helping consolidate the > versions? I think Skip just recently added some support to python-mode.el for Python 3.0 syntax, and between the two of us, we do try to keep the mode up-to-date with the language. I think there will be an interesting discussion about how to, or even if we should, try to support both Python 2.6 and 3.0 in the same mode. Skip and I are both very interested in converging the modes. It's silly and confusing to our users for there to be more than one Python mode. However, Skip and I are primarily XEmacs users so we need to work together to make sure the code is portable between the two Emacsen. I would like to move python-mode.el out of the Python tree, and actually off of Subversion and SourceForge, and onto Bazaar and Launchpad. Would the python.el folks be up for converging on that? - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iQCVAwUBR70HiXEjvBPtnXfVAQLZ2AQAlftWSJicMCcsMIVDzaVi10JMiy4gPaxn A4iwAkl2WDPaZY3wcgeWLH7ewSwwaZk6XF2b8aWzmrdndGRKhd9GxHYRmu//zApy H/ebj3wvCKMlAOmZ52IpEnJc4tAq513y5raABWfJ0yBEQEHnlU7b+uUjk6QcFpQq U8Yj5R33reI= =A186 -----END PGP SIGNATURE-----