From: mehulashah@yahoo.com (ceftin)
Subject: Bug in emacs running gdb on Redhat 7.3
Date: 16 Apr 2003 21:43:55 -0700 [thread overview]
Message-ID: <39f3e029.0304162043.c133f9d@posting.google.com> (raw)
Hi,
I found a bug with the out-of-the box distribution of emacs 21.2.1
with Redhat 7.3. While debugging programs using gdb in emacs, the
arrow which indicates the current line of execution disappeared. I
could not figure out why this happening, and I found a posting in some
obscure place (I don't remember where), that gave me the fix. The
problem is in a function in python-mode.el. I simply included the fix
in my .emacs file:
(defun py-pdbtrack-overlay-arrow (activation)
"Activate or de arrow at beginning-of-line in current buffer."
;; This was derived/simplified from edebug-overlay-arrow
(cond (activation
(setq overlay-arrow-position (make-marker))
(setq overlay-arrow-string "=>")
(set-marker overlay-arrow-position (py-point 'bol)
(current-buffer))
(setq py-pdbtrack-is-tracking-p t))
(py-pdbtrack-is-tracking-p
(setq overlay-arrow-position nil)
(setq py-pdbtrack-is-tracking-p nil))
))
))
And that did the trick. I don't know why it was happening, and I don't
understand the fix. But, since I am tired of seeing postings without
answers or answers proper keywords making them hard to locate, I
thought I'd post this fix for others.
Hope this helps.
Later,
Mehul
reply other threads:[~2003-04-17 4:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39f3e029.0304162043.c133f9d@posting.google.com \
--to=mehulashah@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.