GNU bug report logs - #4609
gdb command history doesn't work with emacs-speaks-statistics

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: McDave <d_pleydell@HIDDEN>; dated Thu, 1 Oct 2009 15:10:06 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 1 Oct 2009 15:03:50 +0000
From bounces@HIDDEN Thu Oct  1 08:03:50 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
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
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (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 lists.gnu.org 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 lists.gnu.org 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 [199.232.76.173] (port=51466 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1MtNC3-0004yf-Gs
	for Bug-gnu-emacs@HIDDEN; Thu, 01 Oct 2009 11:03:43 -0400
Received: from kuber.nabble.com ([216.139.236.158]:55714)
	by monty-python.gnu.org 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 isper.nabble.com ([192.168.236.156])
	by kuber.nabble.com 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: <25696920.post@HIDDEN>
Date: Thu, 1 Oct 2009 08:03:40 -0700 (PDT)
From: McDave <d_pleydell@HIDDEN>
To: Bug-gnu-emacs@HIDDEN
Subject: gdb command history doesn't work with emacs-speaks-statistics
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 monty-python.gnu.org: 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
"/media/Soft/David/papers/inProgress/sharka_istanbull/analysis/.gdb_history".
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?

m
thanks
D


-- 
View this message in context: http://www.nabble.com/gdb-command-history-doesn%27t-work-with-emacs-speaks-statistics-tp25696920p25696920.html
Sent from the Emacs - Bugs mailing list archive at Nabble.com.





Acknowledgement sent to McDave <d_pleydell@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#4609; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
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.