unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Why call-process removes '{' and '}' chars from arguments???
Date: Thu, 03 Jun 2010 00:39:36 +0300	[thread overview]
Message-ID: <83wruhru5j.fsf@gnu.org> (raw)
In-Reply-To: <hu6fkl$h98$1@dough.gmane.org>

> From: Oleksandr Gavenko <gavenkoa@gmail.com>
> Date: Wed, 02 Jun 2010 23:40:46 +0300
> 
> I use Emacs 23.2 under Windows.
> 
> (call-process
>     "echo.exe"
>     nil (get-buffer "*Messages*") nil
>     "--bla"   "{rev}"   "}}}xxx{1}xxx{2}xxx{{{" )
> 
> put in Message buffer
> 
>    "--bla rev }}}xxx1xxx2xxx"
> 
> so remove occurrences of "{" and "}". Why???

I cannot reproduce this in Emacs 23.2 on MS-Windows.  I get the
expected result:

   --bla {rev} }}}xxx{1}xxx{2}xxx{{{

What kind of port of which program is your echo.exe?  What happens if
you invoke the same command from the shell?




  reply	other threads:[~2010-06-02 21:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-02 20:40 Why call-process removes '{' and '}' chars from arguments??? Oleksandr Gavenko
2010-06-02 21:39 ` Eli Zaretskii [this message]
2010-06-03  7:46   ` Oleksandr Gavenko
2010-06-03 15:04     ` Larry Hall (Cygwin)
2010-06-03 20:33       ` Oleksandr Gavenko
2010-06-04  8:56         ` Eli Zaretskii

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=83wruhru5j.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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.
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).