From: Glenn Morris <rgm@gnu.org>
To: Rolando Pereira <finalyugi@sapo.pt>
Cc: 7461@debbugs.gnu.org
Subject: bug#7461: 23.2; Gdb only does tab completion inside Emacs when prompt is (gdb)
Date: Mon, 22 Nov 2010 21:01:14 -0500 [thread overview]
Message-ID: <bwmxp06bo5.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <20101121174502.GA14674@rolando-laptop> (Rolando Pereira's message of "Sun\, 21 Nov 2010 17\:45\:14 +0000")
Rolando Pereira wrote:
> When running gdb inside emacs, either by doing M-x gdb or M-x gud-gdb,
> if the prompt is set to something that isn't "(gdb)" (or similar, see
> the examples below), pressing TAB doesn't do the completion of
> commands, functions or variables.
Thank you for the complete example.
It looks like, after you have changed the prompt, you can set the
local value of comint-prompt-regexp to match it.
More generally, when comint-use-prompt-regexp is nil (which it is by
default), gud.el probably ought not to try and use comint-prompt-regexp.
Instead it should use whatever field properties comint adds.
> Emacs version is: GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version
> 2.16.1)
>
> GDB version is: GNU gdb (GDB) 7.2
next prev parent reply other threads:[~2010-11-23 2:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-21 17:45 bug#7461: 23.2; Gdb only does tab completion inside Emacs when prompt is (gdb) Rolando Pereira
2010-11-23 2:01 ` Glenn Morris [this message]
2021-08-26 17:47 ` bug#7461: 23.2; gud.el always uses comint-prompt-regexp; things can break if prompt is changed 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=bwmxp06bo5.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=7461@debbugs.gnu.org \
--cc=finalyugi@sapo.pt \
/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.