Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b5e0ecb

Browse files
committed
(py-submit-bug-report): fixed summary querying
#Added a summary of changes
1 parent 4c7fa4b commit b5e0ecb

1 file changed

Lines changed: 23 additions & 4 deletions

File tree

Misc/python-mode.el

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,27 @@
3636
;; (setq auto-mode-alist
3737
;; (cons '("\\.py$" . python-mode) auto-mode-alist))
3838

39+
;; Here's a brief list of recent additions/improvements:
40+
;;
41+
;; - Wrapping and indentation within triple quote strings should work
42+
;; properly now.
43+
;; - `Standard' bug reporting mechanism (use C-c C-b)
44+
;; - py-mark-block was moved to C-c C-m
45+
;; - C-c C-v shows you the python-mode version
46+
;; - a basic python-font-lock-keywords has been added for Emacs 19
47+
;; font-lock colorizations.
48+
;; - proper interaction with pending-del and del-sel modes.
49+
;; - New py-electric-colon (:) command for improved outdenting. Also
50+
;; py-indent-line (TAB) should handle outdented lines better.
51+
3952
;; Here's a brief to do list:
4053
;;
41-
;; 1. Better integration with gud-mode for debugging.
42-
;; 2. Rewrite according to GNU Emacs Lisp standards.
54+
;; - Better integration with gud-mode for debugging.
55+
;; - Rewrite according to GNU Emacs Lisp standards.
56+
;; - py-delete-char should obey numeric arguments.
57+
;; - even better support for outdenting. Guido suggests outdents of
58+
;; at least one level after a return, raise, break, or continue
59+
;; statement.
4360

4461
;; If you can think of more things you'd like to see, drop me a line.
4562
;; If you want to report bugs, use py-submit-bug-report (C-c C-b).
@@ -1843,11 +1860,13 @@ With \\[universal-argument] just submit an enhancement request."
18431860
(interactive
18441861
(list (not (y-or-n-p
18451862
"Is this a bug report? (hit `n' to send other comments) "))))
1846-
(let ((reporter-prompt-for-summary-p (not enhancement-p)))
1863+
(let ((reporter-prompt-for-summary-p (if enhancement-p
1864+
"(Very) brief summary: "
1865+
t)))
18471866
(require 'reporter)
18481867
(reporter-submit-bug-report
18491868
py-help-address ;address
1850-
"python-mode" ;pkgname
1869+
(concat "python-mode " py-version) ;pkgname
18511870
;; varlist
18521871
(if enhancement-p nil
18531872
'(py-python-command

0 commit comments

Comments
 (0)