GNU logs - #4609, boring messages

Message sent to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:

X-Loop: owner@HIDDEN
Subject: bug#4609: gdb command history doesn't work with emacs-speaks-statistics
Reply-To: McDave <d_pleydell@HIDDEN>, 4609 <at>
Resent-From: McDave <d_pleydell@HIDDEN>
Resent-To: bug-submit-list@HIDDEN
Resent-CC: Emacs Bugs <bug-gnu-emacs@HIDDEN>
2Resent-Date: Thu, 01 Oct 2009 15:10:06 +0000
Resent-Message-ID: <handler.4609.B.125440943012794@HIDDEN>
Resent-Sender: help-debbugs@HIDDEN
X-Emacs-PR-Message: report 4609
X-Emacs-PR-Package: emacs
Received: via spool by submit@HIDDEN id=B.125440943012794
          (code B ref -1); Thu, 01 Oct 2009 15:10:06 +0000
Received: (at submit) by; 1 Oct 2009 15:03:50 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham
Received: from ( [])
	by (8.14.3/8.14.3/Debian-5) with ESMTP id n91F3mlQ012790
	for <submit@HIDDEN>; Thu, 1 Oct 2009 08:03:50 -0700
Received: from mailman by with tmda-scanned (Exim 4.43)
	id 1MtNC8-00055b-HA
	for bug-gnu-emacs@HIDDEN; Thu, 01 Oct 2009 11:03:48 -0400
Received: from exim by with spam-scanned (Exim 4.43)
	id 1MtNC3-0004zG-Pr
	for Bug-gnu-emacs@HIDDEN; Thu, 01 Oct 2009 11:03:47 -0400
Received: from [] (port=51466
	by with esmtp (Exim 4.43)
	id 1MtNC3-0004yf-Gs
	for Bug-gnu-emacs@HIDDEN; Thu, 01 Oct 2009 11:03:43 -0400
Received: from ([]:55714)
	by with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60)
	(envelope-from <bounces@HIDDEN>)
	id 1MtNC2-0002xG-KK
	for Bug-gnu-emacs@HIDDEN; Thu, 01 Oct 2009 11:03:42 -0400
Received: from ([])
	by with esmtp (Exim 4.63)
	(envelope-from <bounces@HIDDEN>)
	id 1MtNC0-0003rv-0Y
	for Bug-gnu-emacs@HIDDEN; Thu, 01 Oct 2009 08:03:40 -0700
Message-ID: <>
Date: Thu, 1 Oct 2009 08:03:40 -0700 (PDT)
From: McDave <d_pleydell@HIDDEN>
To: Bug-gnu-emacs@HIDDEN
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: d_pleydell@HIDDEN
X-detected-operating-system: by GNU/Linux 2.6 (newer, 3)

If I launch gdb in emacs using M-x gdb then M-p and M-n navigate the command
history as expected.

However, I generally launch gdb with C-u M-x R [RET] -d gdb [RET], launched
this way M-p and M-n navigate R's command history (e.g. following "run") but
when at the (gdb) prompt they return "No command on this line"

I have the same issue with both emacs 22 from the Ubuntu (I'm running
Jaunty) repositories a recent (this week) CVS copy of emacs 23.

Yesterday I did seem to solve the problem using "set history save on", but
today that no longer works despite...

(gdb) show history
expansion:  History expansion on command input is on.
filename:  The filename in which to record the command history is
save:  Saving of the history record on exit is on.
size:  The size of the command history is 256.

Moreover, the command history is clearly being recorded

(gdb) show commands
    1  show history
    2  set history expansion on
    3  show history
    4  show commands

so why can't M-p do what it should? I guess this is a gdb~ess clash, but how
to go further?


View this message in context:
Sent from the Emacs - Bugs mailing list archive at

Message sent:

Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain; charset=utf-8
X-Loop: owner@HIDDEN
From: help-debbugs@HIDDEN (Emacs bug Tracking System)
To: McDave <d_pleydell@HIDDEN>
Subject: bug#4609: Acknowledgement (gdb command history doesn't work with
Message-ID: <handler.4609.B.125440943012794.ack@HIDDEN>
References: <>
X-Emacs-PR-Message: ack 4609
X-Emacs-PR-Package: emacs
Reply-To: 4609 <at>
Date: Thu, 01 Oct 2009 15:10:06 +0000

Thank you for filing a new bug report with Emacs.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 Emacs Bugs <bug-gnu-emacs@HIDDEN>

If you wish to submit further information on this problem, please
send it to 4609 <at>

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

Emacs Bug Tracking System
Contact help-debbugs@HIDDEN with problems

Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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