help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python mode and a problem in debugging a C program


From: Chunyu
Subject: Python mode and a problem in debugging a C program
Date: Sat, 05 Apr 2003 21:16:34 +0800
User-agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux)

While debugging a C/C++ program with GDB in emacs (version 21.3.50),
there is an arrow symbol `=>' in the source window to indicate the
current line normally. But After I load the python-mode.el file from
my ~/.emacs.el, the arrow symbol disappear while debugging with GDB in
emacs. (The python-mode.el is from
http://www.python.org/emacs/python-mode, version 4.6.)

I load the python in my ~/.emacs.el by
(require 'python-mode)
(setq auto-mode-alist
      (cons '("\\.py$" . python-mode) auto-mode-alist))
(setq interpreter-mode-alist
      (cons '("python" . python-mode) interpreter-mode-alist))

Now, I have to comment these lines, and load python-mode.el by hand
when I want to use python-mode. How can I solve it? Is there another
better python-mode code? Thanks for your replay.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]