all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Tromey <tromey@redhat.com>
Subject: gud mode and changing files
Date: 16 Jan 2003 12:09:31 -0700	[thread overview]
Message-ID: <871y3cap3o.fsf@fleche.redhat.com> (raw)

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 bug-gnu-emacs@gnu.org 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

Tom

             reply	other threads:[~2003-01-16 19:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-16 19:09 Tom Tromey [this message]
2003-01-17 17:47 ` gud mode and changing files Kevin Rodgers

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=871y3cap3o.fsf@fleche.redhat.com \
    --to=tromey@redhat.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.