GNU bug report logs - #17675
24.4.50; *gud* buffer keeps on getting buried

Previous Next

Package: emacs;

Reported by: Michael Welsh Duggan <mwd <at> md5i.com>

Date: Tue, 3 Jun 2014 15:18:02 UTC

Severity: normal

Found in version 24.4.50

Done: Dima Kogan <dima <at> secretsauce.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Welsh Duggan <mwd <at> md5i.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Michael Welsh Duggan <mwd <at> md5i.com>, 17675 <at> debbugs.gnu.org
Subject: bug#17675: 24.4.50; *gud* buffer keeps on getting buried
Date: Wed, 04 Jun 2014 20:48:26 -0400
martin rudalics <rudalics <at> gmx.at> writes:

>> When gud-gdb is started, it uses `switch-to-buffer', which places
>> *gud-foo* in the window previously occupied by foo.c.
>
> Then this is the culprit.  It doesn't make sense to keep the *scratch*
> window around when debugging foo.c because sooner or later gdb will have
> to display foo.c again.  Instead of `switch-to-buffer' we should use
> `display-buffer' here.  Where is this `switch-to-buffer' call issued?

In `gud-common-init'.

-- 
Michael Welsh Duggan
(md5i <at> md5i.com)




This bug report was last modified 6 years and 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.