[IPython-user] Ipython 0.7.1 and Xemacs
R. Bernstein
rocky at panix.com
Tue Mar 14 19:12:24 CST 2006
I had a similar problem with the debugger I've been working on.
(http://bashdb.sourceforge.net/pydb) and solved basically the same
way. I don't have a good solution though for handling all the
different kinds of prompts that can appear other than extending the
regexp in Emacs which I don't find all that satisfying.
Was it Jamie Zawinski who said, "Folks who have a problem think: 'I
know, I'll solve it with a regular expression'. Now they have two
problems."
Funny though you mention completion in Emacs. For pydb just got
completion working in Emacs and ddd basically the same way: if the
debugger has a "complete" command, both of these programs will make
use of it. For details, see __do_complete in pydb/pydb.py.in of pydb.
Nicolas Pernetty writes:
> Hello,
>
> It seems that the new Ipython debugger is not compatible with the
> ipython.el/python-mode.el(4.75) on Xemacs 21.4.17 (on Debian Testing).
>
> Inside ipdb the completion failed to work (work flawlessly outside
> Xemacs) and pdbtrack failed to recognize the ipdb prompt and
> the traceback lines.
>
> I somehow managed to make pdbtrack work by modifying the prompt (it was
> waiting for a (Pdb)> and I changed it to ipdb>) and by modifying the
> 'format-stack-entry' in Debugger.py (just copy/paste what was in pdb.py
> in the Python distribution).
> There was of course no problem with Ipython 6.5.3 since it used the
> regular Pdb...
>
> But I don't have a clue about the ipdb completion in Xemacs...
>
> Thanks in advance,
>
> _______________________________________________
> IPython-user mailing list
> IPython-user at scipy.net
> http://scipy.net/mailman/listinfo/ipython-user
>
More information about the IPython-user
mailing list