[Top][All Lists]

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

gud mode and changing files

From: Tom Tromey
Subject: gud mode and changing files
Date: 16 Jan 2003 12:09:31 -0700

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-04-08 on porky.devel.redhat.com
configured using `configure  i386-redhat-linux --prefix=/usr --exec-prefix=/usr 
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec 
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info --with-gcc --with-pop --with-sound'
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: en_US.iso885915
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: nil

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I leave Emacs running for a long time, and I end up with many
buffers.  Sometimes I'll do a `cvs update' on the command line but not
refresh all the corresponding buffers I have in Emacs.

Then, when I'm debugging in gud mode, Emacs will show me the existing
buffer.  However, if the underlying file has changed then the gud
arrow ends up pointing to the wrong place.

This happened to me twice in the last few days.  Both times it took me
a while to realize what was going on, and that a simple C-x C-f would
fix it.

I think it would be useful if gud-mode would notice this situation and
tell me about it.  Perhaps before displaying a buffer it could ask me
if I want to refresh it from the filesystem.

Recent input:
C-a SPC c C-g < c SPC SPC C-u C-u C-n C-u C-p SPC SPC 
k d d SPC SPC = C-u C-l C-u C-n C-u C-n p SPC C-n SPC 
SPC n = C-n n SPC <backspace> = C-u C-n C-u C-n C-u 
C-n C-u C-n p SPC SPC c SPC l s C-u C-n C-u C-n z C-c 
b r <return> C-x 2 C-x o y <return> u p <return> <return> 
<return> C-x o C-x C-f <return> y e s <return> C-x 
o C-c C-l C-z o M-x r e p o r t - e <tab> <return>

Recent messages:
Updating of BBDB records finished [2 times]

Updating of BBDB records finished [3 times]

Wrote /home/tromey/.newsrc
Saving /home/tromey/.newsrc.eld...
Saving file /home/tromey/.newsrc.eld...
Wrote /home/tromey/.newsrc.eld
Saving /home/tromey/.newsrc.eld...done
Loading emacsbug...done


reply via email to

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