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

Previous Next

Package: emacs;

Reported by: McDave <d_pleydell <at> yahoo.com>

Date: Thu, 1 Oct 2009 15:10:06 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: McDave <d_pleydell <at> yahoo.com>
To: Bug-gnu-emacs <at> gnu.org
Subject: bug#4609: gdb command history doesn't work with emacs-speaks-statistics
Date: Thu, 1 Oct 2009 08:03:40 -0700 (PDT)
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.





This bug report was last modified 4 years and 181 days ago.

Previous Next


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