Running Python 3, C-c C-c after syntax error correction still jumps to the old exception line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
Hi,
Here'e my setup:
* GNU emacs 24.3 on cygwin
* python-mode 6.1.1
* python 3.2.3
* Python customization in .emacs
(add-to-list 'load-path "~/.emacs.
(setq py-install-
(require 'python-mode)
(setq-default py-shell-name "python3")
(setq-default py-which-bufname "Python3")
(setq py-force-
; switch to the interpreter after executing code
(setq py-shell-
(setq py-switch-
; don't split windows
(setq py-split-
; try to automagically figure out indentation
(setq py-smart-
I had a syntax error in my code and executing it (C-c C-c shortcut in emacs) showed the error and the cursor jumped to the code buffer to the exact line after the error.
After the fix, the code ran fine in the Python3 output buffer, but the cursor still jumps back to the same old line in the code buffer that had the syntax error. If I exit emacs and rerun the code, that does not happen.
Is there a python-mode variable that can be customized to prevent this?
Thanks.
Changed in python-mode: | |
assignee: | nobody → Andreas Roehler (a-roehler) |
milestone: | none → 6.1.2 |
importance: | Undecided → Medium |
Changed in python-mode: | |
status: | New → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |