unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Jim Blandy <jimb@red-bean.com>
Cc: 10765@debbugs.gnu.org
Subject: bug#10765: Patch to fix this bug
Date: Wed, 08 Feb 2012 22:32:56 +0100	[thread overview]
Message-ID: <m2ipjhj9iv.fsf@igel.home> (raw)
In-Reply-To: <CAHgb+0n98r17u-mqe6kVooOur4jiJ9tdy5P7aA2jaq7dfEPdKw@mail.gmail.com> (Jim Blandy's message of "Wed, 8 Feb 2012 13:04:36 -0800")

Jim Blandy <jimb@red-bean.com> writes:

> +(defun gdb-mi-quote (string)
> +  "Return STRING quoted properly as an MI argument.
> +The string is enclosed in double quotes.
> +All embedded quotes are replaced with \"\\\"\".
> +All embedded newlines are replaced with \"\\n\"."

What about backslashes?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





  reply	other threads:[~2012-02-08 21:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-08 20:56 bug#10765: 24.0.93; gdb-mi cannot transmit commands containing double quotes Jim Blandy
2012-02-08 21:04 ` bug#10765: Patch to fix this bug Jim Blandy
2012-02-08 21:32   ` Andreas Schwab [this message]
2012-02-09 19:14     ` Jim Blandy
2012-02-26  9:39       ` Chong Yidong
2012-02-27 19:05         ` Jim Blandy

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=m2ipjhj9iv.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=10765@debbugs.gnu.org \
    --cc=jimb@red-bean.com \
    /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).