From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Fixing Windows and DOS command line argument quoting Date: Tue, 26 Apr 2011 03:44:31 -0700 Message-ID: <4DB6A20F.2050106@gmail.com> References: <4DB4D7DB.50101@gmail.com> <83y62yal3o.fsf@gnu.org> <4DB53599.8040703@gmail.com> <4DB537BB.1090205@gnu.org> <4DB53D57.9030606@gmail.com> <4DB5B5B7.3070801@gmail.com> <837hai9nir.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFD31B3D07DBF25E84A5F1134" X-Trace: dough.gmane.org 1303814699 19106 80.91.229.12 (26 Apr 2011 10:44:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Apr 2011 10:44:59 +0000 (UTC) Cc: jasonr@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 26 12:44:55 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QEflH-0003Qw-0k for ged-emacs-devel@m.gmane.org; Tue, 26 Apr 2011 12:44:55 +0200 Original-Received: from localhost ([::1]:53367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEflG-0006UL-A6 for ged-emacs-devel@m.gmane.org; Tue, 26 Apr 2011 06:44:54 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEflC-0006U4-A1 for emacs-devel@gnu.org; Tue, 26 Apr 2011 06:44:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEflB-0003ee-Ho for emacs-devel@gnu.org; Tue, 26 Apr 2011 06:44:50 -0400 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:56229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEflA-0003eR-7G; Tue, 26 Apr 2011 06:44:48 -0400 Original-Received: by pwi10 with SMTP id 10so522163pwi.0 for ; Tue, 26 Apr 2011 03:44:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:x-enigmail-version:content-type; bh=3/IsRKdLvKtMIL6DCxVD7uFZuobLi1tlL01FMXjJtCY=; b=vsze/7rYnn52qSkKGAoRFdXQ7+EL/dOnsInebRB5KAiHhIhpHAxi/W3EO/Eg81ApSC e2zST0/3pjBA7XCLwFYWh73k4hn4s6NCkWArc7ZbUVSjy85chaDQWJOC3t4UgxQLtO1C kYors+5ApdLqhOr4i6zgoCn3FBp9K7Z/3tP6k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=YKb0LkJ7EYuEoKGywXKgV1mnpinl671kUydpU4OWD7htRbRoRzsHOxLwbp3h+hwTSG QDckVY1ngny7G+jbm90mxENEbSET6sxTM6ARS9C60mjYOSRSc8Zcac77wR5b78+czUVw zUaEN6Khlt07m9RKLcLofntKbWSufOQ3MUy3c= Original-Received: by 10.68.29.100 with SMTP id j4mr811680pbh.197.1303814686631; Tue, 26 Apr 2011 03:44:46 -0700 (PDT) Original-Received: from [192.168.1.2] ([67.183.23.114]) by mx.google.com with ESMTPS id o3sm1598607pbt.61.2011.04.26.03.44.44 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Apr 2011 03:44:45 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 In-Reply-To: <837hai9nir.fsf@gnu.org> X-Enigmail-Version: 1.1.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.160.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138778 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFD31B3D07DBF25E84A5F1134 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 4/25/11 11:47 AM, Eli Zaretskii wrote: >> Date: Mon, 25 Apr 2011 10:56:07 -0700 >> From: Daniel Colascione >> I'd like to remove this path in the trunk and see whether the new >> 8192-character length limitation is a problem in practice. >=20 > No, I don't think it's a good idea. 8K is too low by any measure; we > already hit the shell limitations once or twice when related problems > were discussed. All right. > What are the disadvantages of detecting quoted command lines and > sending only those through the shell? Besides complexity, none. I've implemented this approach, making the necessary changes to cmdproxy.c and subr.el, and updated the trunk. --------------enigFD31B3D07DBF25E84A5F1134 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iEYEARECAAYFAk22ohsACgkQ17c2LVA10VvyFwCg2QTD9AG5t9t+SptPX3WoMn8G O+QAoJNJIF22Ng4l6EAW1M6qAJcnYpSG =+UWP -----END PGP SIGNATURE----- --------------enigFD31B3D07DBF25E84A5F1134--