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.)
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.