all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: McDave <d_pleydell@yahoo.com>
To: Bug-gnu-emacs@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)	[thread overview]
Message-ID: <25696920.post@talk.nabble.com> (raw)


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.







             reply	other threads:[~2009-10-01 15:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-01 15:03 McDave [this message]
2020-12-08 18:06 ` bug#4609: gdb command history doesn't work with emacs-speaks-statistics Lars Ingebrigtsen
2021-01-21 17:32   ` Lars Ingebrigtsen

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=25696920.post@talk.nabble.com \
    --to=d_pleydell@yahoo.com \
    --cc=4609@emacsbugs.donarmstrong.com \
    --cc=Bug-gnu-emacs@gnu.org \
    /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.