From barry at python.org Fri Aug 6 01:54:53 2004 From: barry at python.org (Barry Warsaw) Date: Fri Aug 6 01:54:49 2004 Subject: [Python-mode] Re: [Python-Dev] Questions about '@' in pep 318 In-Reply-To: <028301c47b3f$b1b08bf0$034b8890@neil> References: <004a01c47b2b$65d19260$6700a8c0@computer> <4112A4B9.4010907@v.loewis.de> <1091741561.8541.144.camel@localhost> <028301c47b3f$b1b08bf0$034b8890@neil> Message-ID: <1091750093.8545.162.camel@localhost> Note: Reply-To set to python-mode@python.org On Thu, 2004-08-05 at 18:58, Neil Hodgson wrote: > I've been looking at how complex decorators can get and wondered what you > are actually highlighting as a decorator. Just the '@deco'? The line that > starts with '@' or a whole expression. It's damn simple: on a line where the first non-whitespace character (specifically, not space or tab) is an '@', then everything from there to the end of the line. It's more difficult to specify multi-line font-lock regular expressions in X/Emacs, and at least XEmacs has a hard time font-locking multiple lines on the fly, so I don't intend to figure that out. Patches are welcome if they work on both Emacs and XEmacs. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-mode/attachments/20040805/4c5193f9/attachment.pgp From simsong at csail.mit.edu Mon Aug 23 04:56:42 2004 From: simsong at csail.mit.edu (Simson L. Garfinkel) Date: Tue Aug 24 00:12:39 2004 Subject: [Python-mode] python-mode != gdb Message-ID: <0FCE4D38-F4B0-11D8-BC57-000A95DA91E2@csail.mit.edu> x-mailer-key-02: -----END PGP PUBLIC KEY BLOCK----- Greetings. I've discovered that when I load python-mode.el, gud/gdb mode no longer reports "==>" for the current line when debugging programs. This is with emacs version 21.2.1 on MacOS 10.3. Python-mode 4.54 Are you aware of this problem? From skip at pobox.com Tue Aug 24 03:55:14 2004 From: skip at pobox.com (Skip Montanaro) Date: Tue Aug 24 03:55:23 2004 Subject: [Python-mode] python-mode != gdb In-Reply-To: <0FCE4D38-F4B0-11D8-BC57-000A95DA91E2@csail.mit.edu> References: <0FCE4D38-F4B0-11D8-BC57-000A95DA91E2@csail.mit.edu> Message-ID: <16682.40962.281838.340232@montanaro.dyndns.org> Simson> Greetings. I've discovered that when I load python-mode.el, Simson> gud/gdb mode no longer reports "==>" for the current line when Simson> debugging programs. This is with emacs version 21.2.1 on MacOS Simson> 10.3. Simson> Python-mode 4.54 Simson> Are you aware of this problem? Yup. Try googling for gud python-mode site:mail.python.org I think the current conclusion is that it's a GNU Emacs problem. Barry and I are both XEmacs users and don't see it. At any rate I don't think it's been fixed, but you might try the latest version, 4.58. Skip From SIMSONG at ACM.ORG Tue Aug 24 13:37:04 2004 From: SIMSONG at ACM.ORG (SIMSONG@ACM.ORG) Date: Tue Aug 24 13:36:40 2004 Subject: [Python-mode] python-mode != gdb Message-ID: <200408241037.i7OAbAHZ084590@nitroba.com> Thanks. I will check it out when I am online next. I thought 4.54 was current, it is what I downloaded from Sourceforge. Thanks again. --- Original Message --- From: Skip Montanaro Sent: Mon 8/23/2004 9:55 pm To: "Simson L. Garfinkel" Cc: python-mode@python.org Subject: Re: [Python-mode] python-mode != gdb Simson> Greetings. I've discovered that when I load python-mode.el, Simson> gud/gdb mode no longer reports "==>" for the current line when Simson> debugging programs. This is with emacs version 21.2.1 on MacOS Simson> 10.3. Simson> Python-mode 4.54 Simson> Are you aware of this problem? Yup. Try googling for gud python-mode site:mail.python.org I think the current conclusion is that it's a GNU Emacs problem. Barry and I are both XEmacs users and don't see it. At any rate I don't think it's been fixed, but you might try the latest version, 4.58. Skip From barry at python.org Tue Aug 24 14:29:02 2004 From: barry at python.org (Barry Warsaw) Date: Tue Aug 24 14:28:36 2004 Subject: [Python-mode] python-mode != gdb In-Reply-To: <16682.40962.281838.340232@montanaro.dyndns.org> References: <0FCE4D38-F4B0-11D8-BC57-000A95DA91E2@csail.mit.edu> <16682.40962.281838.340232@montanaro.dyndns.org> Message-ID: <1093350542.17167.36.camel@geddy.wooz.org> On Mon, 2004-08-23 at 21:55, Skip Montanaro wrote: > Simson> Python-mode 4.54 > > Simson> Are you aware of this problem? > > Yup. Try googling for > > gud python-mode site:mail.python.org > > I think the current conclusion is that it's a GNU Emacs problem. Barry and > I are both XEmacs users and don't see it. At any rate I don't think it's > been fixed, but you might try the latest version, 4.58. I doubt it has since 4.54. I made two font-lock changes to track the Python 2.4 decorator syntax (and may not be done with that yet ), and it looks like Ken made a couple of pdb-track related changes. Neither should have any effect on gdb/gud compatibility. As Skip said, both he and I use XEmacs and there's no problem there, so it's definitely GNU Emacs related. As always, patches are certainly encouraged, as long as there's no regression on the XEmacs front. Also as always, none of us have that much time to hack on python-mode these days. ;) Cheers, -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-mode/attachments/20040824/172312e0/attachment.pgp From simsong at csail.mit.edu Thu Aug 26 08:18:22 2004 From: simsong at csail.mit.edu (Simson L. Garfinkel) Date: Fri Aug 27 04:41:03 2004 Subject: [Python-mode] python-mode != gdb In-Reply-To: <1093350542.17167.36.camel@geddy.wooz.org> References: <0FCE4D38-F4B0-11D8-BC57-000A95DA91E2@csail.mit.edu> <16682.40962.281838.340232@montanaro.dyndns.org> <1093350542.17167.36.camel@geddy.wooz.org> Message-ID: Thanks. I've just been loading the mode when I want to use it, and not using it when I want to GDB... xemacs on MacOS wasn't a good experience. -s On Aug 24, 2004, at 8:29 AM, Barry Warsaw wrote: > On Mon, 2004-08-23 at 21:55, Skip Montanaro wrote: >> Simson> Python-mode 4.54 >> >> Simson> Are you aware of this problem? >> >> Yup. Try googling for >> >> gud python-mode site:mail.python.org >> >> I think the current conclusion is that it's a GNU Emacs problem. >> Barry and >> I are both XEmacs users and don't see it. At any rate I don't think >> it's >> been fixed, but you might try the latest version, 4.58. > > I doubt it has since 4.54. I made two font-lock changes to track the > Python 2.4 decorator syntax (and may not be done with that yet ), > and it looks like Ken made a couple of pdb-track related changes. > Neither should have any effect on gdb/gud compatibility. > > As Skip said, both he and I use XEmacs and there's no problem there, so > it's definitely GNU Emacs related. As always, patches are certainly > encouraged, as long as there's no regression on the XEmacs front. Also > as always, none of us have that much time to hack on python-mode these > days. ;) > > Cheers, > -Barry > From skip at pobox.com Fri Aug 27 16:10:01 2004 From: skip at pobox.com (Skip Montanaro) Date: Fri Aug 27 16:10:22 2004 Subject: [Python-mode] python-mode != gdb In-Reply-To: References: <0FCE4D38-F4B0-11D8-BC57-000A95DA91E2@csail.mit.edu> <16682.40962.281838.340232@montanaro.dyndns.org> <1093350542.17167.36.camel@geddy.wooz.org> Message-ID: <16687.16569.814806.942523@montanaro.dyndns.org> Simson> xemacs on MacOS wasn't a good experience. Odd, that's precisely the environment I use. Works fine for me (21.4.15 w/ Apple's X11). 21.5 has problems but as far as I can tell, having tried it on both MacOSX and Solaris, those problems are not platform-dependent. Skip