GNU bug report logs -
#21777
25.0.50; gud-gdb uses a pager, which is harmful inside emacs
Previous Next
Reported by: Dima Kogan <dima <at> secretsauce.net>
Date: Wed, 28 Oct 2015 19:21:02 UTC
Severity: normal
Found in version 25.0.50
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: Dima Kogan <dima <at> secretsauce.net>
> Cc: schwab <at> linux-m68k.org, 21777 <at> debbugs.gnu.org
> Date: Thu, 29 Oct 2015 20:43:35 -0700
>
> ---------------------------------------------------------------------------
> diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
> index 9ab0667..61ae85c 100644
> --- a/lisp/progmodes/gud.el
> +++ b/lisp/progmodes/gud.el
> @@ -785,6 +785,8 @@ directory and source-file directory for your debugger."
> (setq gdb-first-prompt t)
> (setq gud-running nil)
> (setq gud-filter-pending-text nil)
> +
> + (gud-basic-call "set height unlimited")
> (run-hooks 'gud-gdb-mode-hook))
>
> ;; The completion process filter indicates when it is finished.
> ---------------------------------------------------------------------------
>
>
> This works. The main issue is that it creates an extra "(gdb)" prompt
> we'd want to suppress. You get the idea, however.
What if the user has "set height 100" in their ~/.gdbinit, or in the
system-wide gdbinit file? Will those settings be overridden? If so,
we cannot fix the problem this way, not by default anyway.
Thanks.
This bug report was last modified 4 years and 295 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.