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

2012-01-28 Thread Barry Warsaw
On Jan 27, 2012, at 11:19 PM, François Pinard wrote: >Soon after Guido announced his first release of Python, a long long time >ago, I tried it. At the time, I was trying everything :-). And >besides, I was already prejudiced towards Guido because of his competent >implication as a maintainer of

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

2012-01-27 Thread François Pinard
Jeff Bauer writes: > Hah! So funny for you to bring up *that* specific post from Barry. :-) > So when your email arrived, my reader threaded it back to Barry's > 2-year-old post. Old email, that's always fun! Soon after Guido announced his first release of Python, a long long time ago, I tri

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

2012-01-26 Thread Barry Warsaw
On Jan 26, 2012, at 10:12 PM, Jeff Bauer wrote: >Hah! So funny for you to bring up *that* specific post from >Barry. It's been sitting in my inbox as msg #1 for the past >couple years. Even though I copied it to my org notes, I've >always had it there. So when your email arrived, my reader >th

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

2012-01-26 Thread Barry Warsaw
On Jan 26, 2012, at 10:44 PM, François Pinard wrote: >Sigh! If only I could have developed something so attractive that Barry >did such an offer to *me*. I spoiled my life! :-) There's still time. :) -Barry ___ Python-mode mailing list Python-mode@p

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

2012-01-26 Thread Jeff Bauer
François, Hah! So funny for you to bring up *that* specific post from Barry. It's been sitting in my inbox as msg #1 for the past couple years. Even though I copied it to my org notes, I've always had it there. So when your email arrived, my reader threaded it back to Barry's 2-year-old post.

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

2012-01-26 Thread François Pinard
Barry Warsaw writes: >>How do I invoke pdbtrack from python-mode? > It's really easy. You still insert 'import pdb; pdb.set_trace()' at the spot > in your code where you want to break. Then run your code from a shell buffer. > When you hit the break point, you'll drop into pdb. pdb-track will

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] making stack traces clickable in gud.el pdb output.

2010-01-19 Thread Andreas Roehler
m h wrote: > 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 you (or an

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

2010-01-19 Thread Barry Warsaw
On Jan 19, 2010, at 06:12 PM, Jeff Bauer wrote: >> "clickable"? Is that like using that mouse thing? To >> paraphrase a wise man, "There's no clicking in Emacs!" :) > >But the track ball scroll wheel is AWESOME. Hi Jeff! Yes, I completely agree. :) -Barry signature.asc Description: PGP sign

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 honestly can't remember why I'

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

2010-01-19 Thread Jeff Bauer
"clickable"? Is that like using that mouse thing? To paraphrase a wise man, "There's no clicking in Emacs!" :) But the track ball scroll wheel is AWESOME. I've never tried running pdb from an emacs shell. Thanks for the tip! Jeff Bauer Rubicon, Inc. _

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 `execfile('filename.py')` into python shell >>3- hit breakpoint

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

2010-01-19 Thread Barry Warsaw
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 `execfile('filename.py')` into python shell >3- hit breakpoint/nirvana Actually, no! Seriously, run it in a shell buffer. :) M-x shell RET % python f

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 you (or anyone else) care to mention th

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

2010-01-19 Thread Barry Warsaw
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 you (or anyone else) care to mention their workflow? I've just >been trying to get python-mode C-c C-c to allow me to use pdb. But I >get

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 the top of the buffer >>  * I'd like to be able

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

2010-01-19 Thread Barry Warsaw
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 the top of the buffer > * I'd like to be able to click on files in the stacktrace (on >unittest failures) a

[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