using this daily, didn't notice such a bug neither with Emacs-24... nor Emacs-23... .
The following script pdbtrack.py
#############
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import pdb
pdb.set_trace()
news = "pdbtrack is broken python-mode.el, lp:857003"
print "news: %s " % news
#############
prints nicely:
(Pdb) s
> MY_PATH/pdbtrack.py(9)<module>()
-> print "news: %s " % news
(Pdb) p news
'pdbtrack is broken python-mode.el, lp:857003'
(Pdb)
############
send you extract of M-x describe-mode below
Please send output from
Emacs -Q, M-x report-emacs-bug
should you need further investigation.
Cheers,
Andreas
############
(Information about these minor modes follows the major mode info.)
Python mode defined in `python-mode.el':
Major mode for editing Python files.
To submit a problem report, enter `C-c C-b' from a
`python-mode' buffer. Do `C-c ?' for detailed
documentation. To see what version of `python-mode' you are running,
enter `C-c C-v'.
This mode knows about Python indentation, tokens, comments and
continuation lines. Paragraphs are separated by blank lines only.
py-indent-offset indentation increment
py-block-comment-prefix comment string used by `comment-region'
py-python-command shell command to invoke Python interpreter
py-temp-directory directory used for temp files (if needed)
py-beep-if-tab-change ring the bell if `tab-width' is changed
Hi Barry,
using this daily, didn't notice such a bug neither with Emacs-24... nor Emacs-23... .
The following script pdbtrack.py
#############
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import pdb
pdb.set_trace()
news = "pdbtrack is broken python-mode.el, lp:857003"
print "news: %s " % news
#############
prints nicely:
(Pdb) s pdbtrack. py(9)<module> ()
> MY_PATH/
-> print "news: %s " % news
(Pdb) p news
'pdbtrack is broken python-mode.el, lp:857003'
(Pdb)
############
send you extract of M-x describe-mode below
Please send output from
Emacs -Q, M-x report-emacs-bug
should you need further investigation.
Cheers,
Andreas
############
(Information about these minor modes follows the major mode info.)
Python mode defined in `python-mode.el':
Major mode for editing Python files.
To submit a problem report, enter `C-c C-b' from a
`python-mode' buffer. Do `C-c ?' for detailed
documentation. To see what version of `python-mode' you are running,
enter `C-c C-v'.
This mode knows about Python indentation, tokens, comments and
continuation lines. Paragraphs are separated by blank lines only.
COMMANDS
key binding
--- -------
C-c Prefix Command and-indent parentized- in-singlequoted -atpt python- expression- atpt expression- atpt delete- backwards backspace and-indent
C-j py-newline-
C-x Prefix Command
ESC Prefix Command
# py-electric-comment
% py-match-paren
: py-electric-colon
s-TAB ar-count-
s-S hs-show-all
s-f ar-forward-
s-o zu-indent
s-q ar-python-
s-s hs-hide-all
s-ß py-expression-atpt
<C-backspace> py-hungry-
<backspace> py-electric-
<delete> py-electric-delete
<return> py-newline-
<s-backspace> ar-py-outdent-line
C-x n Prefix Command
C-M-a py-beginning- of-def- or-class of-def- or-class def-or- class def-or- class of-statement
C-M-e py-end-
C-M-h py-mark-
C-M-x py-execute-
M-n py-end-of-statement
M-p py-beginning-
C-c C-a py-mark-statement bug-report toggle- stack-tracking block-or- clause import- or-reload of-statement of-block line-outmost indent- offset indentation delete- forward
C-c C-b py-submit-
C-c C-c py-execute-buffer
C-c C-d py-pdbtrack-
C-c C-e py-describe-symbol
C-c C-f py-sort-imports
C-c C-k py-mark-
C-c C-l py-shift-left
C-c RET py-execute-
C-c C-n py-end-of-statement
C-c C-p py-beginning-
C-c C-q py-end-of-block
C-c C-r py-shift-right
C-c C-s py-execute-string
C-c C-t py-toggle-shells
C-c C-u py-beginning-
C-c C-v py-version
C-c C-w py-pychecker-run
C-c ! py-shell
C-c # py-comment-region
C-c - py-up-exception
C-c / py-indent-
C-c : py-guess-
C-c < py-shift-left
C-c = py-down-exception
C-c > py-shift-right
C-c ? py-describe-mode
C-c c py-compute-
C-c p druck
C-c | py-execute-region
C-c <delete> py-hungry-
C-c <tab> py-indent-region
C-x n d py-narrow-to-defun
VARIABLES
py-indent-offset indentation increment comment- prefix comment string used by `comment-region' if-tab- change ring the bell if `tab-width' is changed
py-block-
py-python-command shell command to invoke Python interpreter
py-temp-directory directory used for temp files (if needed)
py-beep-