리비젼 2 과 현재 리비젼 간의 차이
요약: Rollback to 2008-09-05 00:16 UTC
차이를 찾지 못함.For running python in GdbMode you need to set the pdb-path variable in .emacs or wherever.
The advice defaults to the current buffer name when invoking M-x pdb, and comes from here:
http://lists.gnu.org/archive/html/help-gnu-emacs/2003-10/msg00577.html
The rest worked automagically in 22.2.1
;;pdb setup, note the python version
(setq pdb-path '/usr/lib/python2.5/pdb.py
gud-pdb-command-name (symbol-name pdb-path))
(defadvice pdb (before gud-query-cmdline activate)
"Provide a better default command line when called interactively."
(interactive
(list (gud-query-cmdline pdb-path
(file-name-nondirectory buffer-file-name)))))