Subject: 23.2; debugger cursor getting misplaced

From: "Uday Reddy" <[email-masked]>
Date: Tue, 18 May 2010 09:42:02 +0100

New problem in Emacs 23.2 (at least on Windows).  When the debugger is
entered, the cursor is getting placed on random positions instead of the
first line of the backtrace.  For example, I placed debug-on-entry on
dired-get-subdir-min, and did dired-find-file.  The following backtrace
got generated, but the cursor was on the `call-interactively' line.
Doing subsequent 'd' and 'c' commands put the cursor on random
positions.

Cheers,
Uday Reddy

* dired-get-subdir-min(("d:/gnu/packages/bbdb-3.0/" . #<marker at 1 in 
bbdb-3.0>))
  dired-current-directory()
  dired-get-filename(nil t)
  dired-get-file-for-visit()
  byte-code("\301.\302\303 !)\207" [find-file-run-dired t find-file 
dired-get-file-for-visit] 2)
  dired-find-file()
  call-interactively(dired-find-file nil nil)

In GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600)
 of 2010-05-08 on G41R2F1
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc 
(3.4) --no-opt --cflags -Ic:/xpm/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: Dired by name

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
e b SPC SPC SPC <return> d i r e d - f i n d - f i
l e <return> q e q M-x r e p o r t = <backspace> -
e m a c s - b u g <return> d e b u g g e r SPC c u
r s o r SPC g e t t i n g SPC m s p <backspace> <backspace>
i s p l a c e d <return> C-p C-p C-p C-p C-p C-p C-p
C-n C-f C-f C-f C-f C-k r e <backspace> <backspace>
u . s . r e d d y @ c s . b h a m . a c . u k C-p C-a
C-f C-b C-k u . s . r e d d y @ c s . b h a m . a c
. u k C-c C-c y e s <return> <help-echo> <help-echo>
<down-mouse-1> <mouse-1> <up> <up> <up> e q n n e q
<down> <down> <down> <down> <down> <down> e d c d d
d c d c d d d c d c d c c C-x k <return> n n e q <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> e d c
d d c c d d c d c q e C-p C-p C-p C-p C-p q e q n n
e d c d d c q e C-p C-p C-SPC C-n C-n C-n C-n C-n C-n
C-n C-x C-k q C-x C-x M-x c o p y - r e g SPC SPC SPC
<return> q C-x C-g M-x s u b m <backspace> <backspace>
<backspace> r <backspace> <backspace> r e p o r t -
e m a c s SPC SPC <return>

Recent messages:
Entering debugger...
Proceeding, will debug on next eval or call.
Entering debugger...
Continuing.
Entering debugger...
Back to top level.
Entering debugger...
Mark set
kbd-macro-query: Not defining or executing kbd macro
Back to top level.

Load-path shadows:
None found.

Features:
(macros kmacro browse-url mailalias mailclient sendmail gnus-msg
gnus-art mm-uu mml2015 epg-config mm-view smime dig gnus-sum nnoo
gnus-group gnus-undo nnmail mail-source format-spec gnus-start gnus-spec
gnus-int gnus-range gnus-win gnus gnus-ems shadow sort mail-extr message
ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies
mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums
mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr
gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils
emacsbug help-mode easymenu view debug dired regexp-opt tooltip
ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp
w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process multi-tty emacs)