unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sergio Durigan Junior <sergiodj@riseup.net>
To: emacs-devel@gnu.org
Subject: Re: Help with gdb-mi.el + (possibly) comint.el + backslashes
Date: Sat, 22 Jun 2013 03:25:16 -0300	[thread overview]
Message-ID: <87li62hdbn.fsf@riseup.net> (raw)
In-Reply-To: 87mwqsm163.fsf@riseup.net

On Saturday, June 15 2013, I wrote:

> Hey there,
>
> I've been debugging gdb-mi.el in order to fix an annoying bug, but so
> far haven't understood how to fix it.
>
> The bug is basically that gdb-mi.el doesn't recognize backslashes for
> wrapped lines, so something like:
>
>     (gdb) run \
>       ARG1 \
>       ARG2
>
> Fails with:
>
>     Undefined command: "ARG2".  Try "help".
>
> This is because "gdb-send" (inside gdb-mi.el) is receiving the wrong
> arguments every time the user presses RET (I debugged the function and
> noticed that it is receiving each line separately as if they were single
> commands, which can also be confirmed by the error message).  Initially
> I thought it could be fixed inside gdb-mi.el itself, but then my
> attention was dragged to comint.el (since shell.el uses it and accepts
> backslashes normally), but so far I couldn't figure out how to solve
> this issue.
>
> I tried setting some comint.el variables inside gdb-mi.el
> (comint-prompt-regexp, or comint-delimiter-argument-list, for example),
> without success.  So now I'm asking your opinion.  Any hints on how to
> debug/solve this?  Meanwhile I'll continue trying here.

Ping?

Don't know if I should ping some specific comint.el list (is there
any?).  Unfortunately I didn't have time to play with this again.

Thanks,

-- 
Sergio




  reply	other threads:[~2013-06-22  6:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-15  4:46 Help with gdb-mi.el + (possibly) comint.el + backslashes Sergio Durigan Junior
2013-06-22  6:25 ` Sergio Durigan Junior [this message]
2013-06-25 18:24   ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87li62hdbn.fsf@riseup.net \
    --to=sergiodj@riseup.net \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).