[Python-mode] making stack traces clickable in gud.el pdb output.

2010-01-18 Thread m h
Hey Folks- I'm using pdb (from gud.el) with emacs, which is working pretty good. I've got two gripes. * After I run pdb on a testfile, the point goes to the top of the buffer * I'd like to be able to click on files in the stacktrace (on unittest failures) and have emacs open the buffer to the

Re: [Python-mode] making stack traces clickable in gud.el pdb output.

2010-01-19 Thread m h
On Tue, Jan 19, 2010 at 7:28 AM, Barry Warsaw wrote: > On Jan 18, 2010, at 06:27 PM, m h wrote: > >>I'm using pdb (from gud.el) with emacs, which is working pretty good. >>I've got two gripes. >> >>  * After I run pdb on a testfile, the point goes to th

Re: [Python-mode] making stack traces clickable in gud.el pdb output.

2010-01-19 Thread m h
Thanks much for the responses! On Tue, Jan 19, 2010 at 2:25 PM, Barry Warsaw wrote: > On Jan 19, 2010, at 12:18 PM, m h wrote: > >>Wow, didn't you add python support to gud? > > If I did, it was a million years ago and I don't remember it ;). > :) >>Would

Re: [Python-mode] making stack traces clickable in gud.el pdb output.

2010-01-19 Thread m h
(forgot to reply to list) On Tue, Jan 19, 2010 at 4:36 PM, Barry Warsaw wrote: > On Jan 19, 2010, at 03:06 PM, m h wrote: > >>So just to be explicit about what 'run your code from a shell buffer'.  I >>tried: >> >>1- C-c ! >>2- type `execf

Re: [Python-mode] making stack traces clickable in gud.el pdb output.

2010-01-19 Thread m h
On Tue, Jan 19, 2010 at 4:58 PM, Barry Warsaw wrote: > On Jan 19, 2010, at 04:45 PM, m h wrote: > >>I was using M-x ansi-shell  It worked in M-x shell.  Thanks. > > M-x ansi-term?  How old am I, I didn't even know about that one? :) > I got tipped off to it, and h

Re: [Python-mode] making stack traces clickable in gud.el pdb output.

2010-01-22 Thread m h
Hey all- I got my original wish, compile-mode error navigation through the python stack trace of a unittest failure. Thanks to Gerard B for the hint. I'm doing this from pdbtrack (shell) instead of pure pdb, but it should work in both I believe. You need to enable compilation-shell-minor-mode.

Re: [Python-mode] Hey

2010-03-16 Thread m h
On Sun, Mar 14, 2010 at 1:33 PM, Barry Warsaw wrote: > On Mar 13, 2010, at 12:35 PM, Ben Beecher wrote: > >>HI all - I've just joined the list. I'd like to contribute, although I don't >>have alot of experience with open source projects. How can I best help out? >>I'll pull the latest off of launc

Re: [Python-mode] Hey

2010-03-16 Thread m h
On Tue, Mar 16, 2010 at 2:55 PM, Barry Warsaw wrote: > On Mar 16, 2010, at 09:39 AM, m h wrote: > >>On this note, it might be nice to create a wiki page (python.el vs >>python-mode.el) elaborating the different features found in each > > Like this one: > >

Re: [Python-mode] Hey

2010-03-16 Thread m h
On Tue, Mar 16, 2010 at 5:12 PM, Barry Warsaw wrote: > On Mar 16, 2010, at 04:19 PM, m h wrote: > >>Well, that one could use some work too.  My thought was to have a page >>that just lists a table with rows for features and 2 columns, >>python.el and python-mode.el.

[Python-mode] pdbtrack borked in 23.2.1

2010-06-15 Thread m h
Anyone else running 23.2.1? It appears that the recent update on my gentoo box causes pdbtrack to no longer work. I get the following message: pdbtrack: Traceback cue not found I'm assuming something changed with M-x shell I thought I'd ask here before digging in more cheers, -matt __

Re: [Python-mode] pdbtrack borked in 23.2.1

2010-06-16 Thread m h
On Tue, Jun 15, 2010 at 2:37 PM, Barry Warsaw wrote: > > Please let us know! I'm not sure what happened. I tried emacs 22, python2.4/2.5/2.6. All failed to sync the buffer with pdb. It appears that py-pdbtrack-stack-entry-regexp wasn't detecting lines like so: > /tmp/testpickly.py(6)() After

Re: [Python-mode] Announcement of a new python major-mode on emacs-devel

2011-02-16 Thread m h
On Wed, Feb 16, 2011 at 10:11 AM, wrote: >    Barry> I agree that I see no reason why python-mode.el can't borrow >    Barry> liberally from it. :) >    >> >    >> OTOH, if it works with XEmacs, why not just declare victory and go >    >> home? > >    Barry> Have you tried it?  I'd be pretty surp

[Python-mode] anyone going to pycon emacs bof?

2011-03-12 Thread m h
Just wondering... -matt ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] running Python tests

2011-03-15 Thread m h
On a somewhat related note, I've got a module that provides code coveraeg[0] reporting. It's somewhat functional right now, but needs a little bit of work to be more robust. One feature I'm planning to add when I get some time is a way to invoke tests for a function/class and get coverage info fr

Re: [Python-mode] running Python tests

2011-03-15 Thread m h
On Tue, Mar 15, 2011 at 6:48 AM, Yaroslav Halchenko wrote: > Hi Andreas, > > Thank you for the invitation -- unfortunately I am already overloaded > with other projects so would not be able to provide adequate time to > python-mode.  Moreover my elisp knowledge is quite basic :-/ > > FWIW I use py

[Python-mode] code/macros to reformat code

2011-05-10 Thread m h
Folks- I was wondering if anyone has some code floating around to reformat code after the code passes a certain column (say 79 or 80). What I'm looking for is reformatting long lines. I'd like to convert something like (assume the k of junk is around 78): my_string = "foo bar baz ... junk stuff

Re: [Python-mode] code/macros to reformat code

2011-05-11 Thread m h
On Wed, May 11, 2011 at 12:20 AM, Andreas Röhler wrote: > Am 11.05.2011 00:44, schrieb m h: >> >> Folks- >> >> I was wondering if anyone has some code floating around to reformat >> code after the code passes a certain column (say 79 or 80). >> >> Wh