+2012-01-29 Syver Enstad <syver.enstad@cisco.com>
+
+ * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
+ breakpoints in files outside current directory (Bug#6098).
+
2012-01-29 Chong Yidong <cyd@gnu.org>
+ * progmodes/python.el: Require ansi-color at top-level.
+
* emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table): Define
and use in Emacs Lisp mode (Bug#9360).
(lisp-mode-abbrev-table): Add doc.
(gud-common-init command-line nil 'gud-pdb-marker-filter)
(set (make-local-variable 'gud-minor-mode) 'pdb)
- (gud-def gud-break "break %f:%l" "\C-b" "Set breakpoint at current line.")
- (gud-def gud-remove "clear %f:%l" "\C-d" "Remove breakpoint at current line")
+ (gud-def gud-break "break %d%f:%l" "\C-b" "Set breakpoint at current line.")
+ (gud-def gud-remove "clear %d%f:%l" "\C-d" "Remove breakpoint at current line")
(gud-def gud-step "step" "\C-s" "Step one source line with display.")
(gud-def gud-next "next" "\C-n" "Step one line (skip functions).")
(gud-def gud-cont "continue" "\C-r" "Continue with display.")
;;; Code:
(require 'comint)
+(require 'ansi-color)
(eval-when-compile
(require 'compile)
\\{inferior-python-mode-map}"
:group 'python
- (require 'ansi-color) ; for ipython
(setq mode-line-process '(":%s"))
(set (make-local-variable 'comint-input-filter) 'python-input-filter)
(add-hook 'comint-preoutput-filter-functions #'python-preoutput-filter
(interactive (if current-prefix-arg
(list (read-string "Run Python: " python-command) nil t)
(list python-command)))
- (require 'ansi-color) ; for ipython
(unless cmd (setq cmd python-command))
(python-check-version cmd)
(setq python-command cmd)