all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug in emacs running gdb on Redhat 7.3
@ 2003-04-17  4:43 ceftin
  0 siblings, 0 replies; only message in thread
From: ceftin @ 2003-04-17  4:43 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-17  4:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-17  4:43 Bug in emacs running gdb on Redhat 7.3 ceftin

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.