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 filename.py hit breakpoint/nirvana :) >Is that how you do it, or is there another way? It'd be nice not to >have to type out part 2. Right now I have a macro bound to f-11 that >re-runs my last pdb command. I guess M-p (like ctr-p in terminal) >works ok too in that it scrolls through the command histories. > >So that get's rid of one of my problems (gud/pdb scrolls buffer to >top). Anyway to make it recognize files and make them clickable in >the python shell? "clickable"? Is that like using that mouse thing? To paraphrase a wise man, "There's no clicking in Emacs!" :) -Barry
signature.asc
Description: PGP signature
_______________________________________________ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode