From: martin rudalics <rudalics@gmx.at>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Invoking gdb hangs after tweak in comint.el
Date: Tue, 12 Mar 2019 10:51:53 +0100 [thread overview]
Message-ID: <5C878139.4050903@gmx.at> (raw)
This change
diff --git a/lisp/comint.el b/lisp/comint.el
index a5fca7e..e5012be 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -2081,7 +2081,7 @@ Make backspaces delete the previous character."
(prompt-re (concat "\\`" (regexp-quote prompt))))
(while (string-match prompt-re string)
(setq string (substring string (match-end 0)))))))
- (while (string-match (concat "\\(^" comint-prompt-regexp
+ (while (string-match (concat "\\(" comint-prompt-regexp
"\\)\\1+")
string)
(setq string (replace-match "\\1" nil nil string)))
hangs Emacs indefinitely when I invoke gdb via say
M-x gdb -i=mi home/martin/emacs-git/trunk/obj-gtk/src/emacs
and I subsequently have to kill the Emacs process with the task
manager.
I have reverted that tweak for now. Please consider a different
solution.
Thanks in advance, martin
next reply other threads:[~2019-03-12 9:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-12 9:51 martin rudalics [this message]
2019-03-12 12:07 ` Invoking gdb hangs after tweak in comint.el Mattias Engdegård
2019-03-19 0:47 ` Paul Eggert
2019-04-23 9:21 ` martin rudalics
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=5C878139.4050903@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-devel@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.