Comment 4 for bug 914607

Revision history for this message
Richard Everson (r-m-everson) wrote : Re: [Bug 914607] Re: py-down-exception IPython 0.12 bug

Hi Andreas,

> thanks again sending that nice examples.

No problem; thanks for putting so much effort into fixing it.

> Should be fixed now - cursor must stay onto exception, not at file-name.

Yes, works beautifully for me.

> BTW have a look a new `py-shell-name' features…

Very useful!

Here's a little addition that makes customisation a bit easier -- I got fed up with Customize->Programming->Languages->Python

$ bzr diff -p1
=== modified file 'python-mode.el'
--- old/python-mode.el 2012-01-12 13:31:48 +0000
+++ new/python-mode.el 2012-01-12 14:35:36 +0000
@@ -1271,7 +1271,11 @@
         ["Find function" py-find-function
          :help "Try to find source definition of function at point"]
         ["Update imports" py-update-imports
- :help "Update list of top-level imports for completion"]))
+ :help "Update list of top-level imports for completion"]
+ "-"
+ ["Customize Python mode" (customize-group 'python)
+ :help "Open the customization buffer for Python"]
+ ))
     map))
 ;; Fixme: add toolbar stuff for useful things like symbol help, send
 ;; region, at least. (Shouldn't be specific to Python, obviously.)

Best,
Richard.