From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Why call-process removes '{' and '}' chars from arguments??? Date: Thu, 03 Jun 2010 00:39:36 +0300 Message-ID: <83wruhru5j.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1275514883 30289 80.91.229.12 (2 Jun 2010 21:41:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Jun 2010 21:41:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 02 23:41:21 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OJvga-00047Q-5W for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Jun 2010 23:41:16 +0200 Original-Received: from localhost ([127.0.0.1]:55191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJvgZ-00005w-JP for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Jun 2010 17:41:15 -0400 Original-Received: from [140.186.70.92] (port=39186 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJvg1-0008W7-Jf for help-gnu-emacs@gnu.org; Wed, 02 Jun 2010 17:40:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJvg0-0007C5-4P for help-gnu-emacs@gnu.org; Wed, 02 Jun 2010 17:40:41 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:35729) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJvfz-0007Bm-Kr for help-gnu-emacs@gnu.org; Wed, 02 Jun 2010 17:40:40 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0L3E00200PBNR400@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Thu, 03 Jun 2010 00:39:31 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.62.239]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L3E0001WPHURI40@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Thu, 03 Jun 2010 00:39:31 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73811 Archived-At: > From: Oleksandr Gavenko > 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?