From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Demi Obenour Newsgroups: gmane.emacs.bugs Subject: bug#19350: #19350 24.4; Incorrect quoting of %-signs for Windows command shell Date: Thu, 18 Aug 2016 07:54:20 -0400 Message-ID: References: <87k2fmyg16.fsf@users.sourceforge.net> <87shu6vi54.fsf@users.sourceforge.net> <83twemf550.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11478678117c9a053a573ed7 X-Trace: blaine.gmane.org 1471521321 26040 195.159.176.226 (18 Aug 2016 11:55:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 18 Aug 2016 11:55:21 +0000 (UTC) Cc: 19350@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 18 13:55:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1baLun-0006Yi-9q for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Aug 2016 13:55:17 +0200 Original-Received: from localhost ([::1]:52036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baLuk-00032f-IO for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Aug 2016 07:55:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baLue-00030j-Rh for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2016 07:55:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baLuY-0002g7-Vs for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2016 07:55:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baLuY-0002g3-SY for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2016 07:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1baLuY-00057I-Hx for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2016 07:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Demi Obenour Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Aug 2016 11:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19350 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix confirmed Original-Received: via spool by 19350-submit@debbugs.gnu.org id=B19350.147152126819624 (code B ref 19350); Thu, 18 Aug 2016 11:55:02 +0000 Original-Received: (at 19350) by debbugs.gnu.org; 18 Aug 2016 11:54:28 +0000 Original-Received: from localhost ([127.0.0.1]:60925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1baLu0-00056S-GX for submit@debbugs.gnu.org; Thu, 18 Aug 2016 07:54:28 -0400 Original-Received: from mail-ua0-f176.google.com ([209.85.217.176]:36479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1baLtz-00056F-1O for 19350@debbugs.gnu.org; Thu, 18 Aug 2016 07:54:27 -0400 Original-Received: by mail-ua0-f176.google.com with SMTP id 97so23749394uav.3 for <19350@debbugs.gnu.org>; Thu, 18 Aug 2016 04:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wzXcYL83I2JsAZMSJm+bZ8woL4GOzK4iyqa1sFk53Rk=; b=oV76xymZCc1jAeBlopQwxDzqI+8ve6kDM1vOhxRxSAQmsI3OwA/LVZMw5JNTxBmG3y xq635+pHEK654yyz3aoBGIA31+QaW3P/haX2j8kdJ9uVYl6TdA0L3BX3yojHhuZeOAnm xNyl9V1oOyHfPPDUQ6t7Ya/BpEHUDp6y9EDuUFHRcub4tbPtqZAPAyToYh/9ci7dqMjQ 9qwKOpDBlUdRKIlRrsr80oqG4vL8bwNL480USNSrtHg45To3HXZk3e+XEZCqlPq3yLLu abUxRb+reP9zPmD2VnYIEwndd26M3bOwjZpotijKeufEOwobLyavEaq62SHFyNGRHqAI hD9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wzXcYL83I2JsAZMSJm+bZ8woL4GOzK4iyqa1sFk53Rk=; b=K/fF212YNUZ1XWtup8SsRsGt5oB7pbkD8mckGe6gNVV7l2MI2jLb3C4xMC8wTj/kdF yh7yXgwHg7Rl6/k63AuViaAYCHoyVFqr367l2II531o6DvV25Ssw64AEyFiY7Lkcfbuv f8tjFvad0Tx9H/U4Frx74fx334rIiKhFHx1T0pW8e5wWr55+I/rg5KouXnt3e0DKhZw4 isYo4+GimEFfPInaPg9s7SKlJC5so/4sLg+RnAqDw7xTmnwdWyaTYOtPTf9NSctU0OHR lf85oqBQ0E50HahlS/qc3mV6oDjlGxjljB9BQCUul8JeN9FfmxYCZMBdwCbmzftpvyBZ uV0A== X-Gm-Message-State: AEkoouu9I2au89HfBoJNwq8/cpNqhbLLj30Ez5i7ZY7duy3V59gX49TFD1QeRTxJs42C+Jjj6l3X9K2bLzPCng== X-Received: by 10.31.107.89 with SMTP id g86mr669410vkc.52.1471521261450; Thu, 18 Aug 2016 04:54:21 -0700 (PDT) Original-Received: by 10.176.69.131 with HTTP; Thu, 18 Aug 2016 04:54:20 -0700 (PDT) Original-Received: by 10.176.69.131 with HTTP; Thu, 18 Aug 2016 04:54:20 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122356 Archived-At: --001a11478678117c9a053a573ed7 Content-Type: text/plain; charset=UTF-8 No, I mean that such environment variables affect shell escaping. On Aug 17, 2016 10:21 PM, "Noam Postavsky" wrote: > On Wed, Aug 17, 2016 at 10:02 PM, Demi Obenour > wrote: > > But *nix has no such feature, nor the associated gotcha. > > By "feature" you mean having variables whose name ends in a caret (or > other escape character)? It's true that existing *nix shells don't, > but the OS does support them (and so hypothetical shells could do as > well): > > (let ((process-environment (cons "ca^=with-caret" process-environment))) > (shell-command-to-string "python -c 'import > os;print(os.environ[\"ca^\"])'")) ;=> "with-caret\n" > --001a11478678117c9a053a573ed7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

No, I mean that such environment variables affect shell esca= ping.


On Aug 17, 2016 1= 0:21 PM, "Noam Postavsky" <npostavs@users.sourceforge.net> wrote:
On Wed, Aug 17, 2016 at 10:02 PM, = Demi Obenour <demiobenour@gmail= .com> wrote:
> But *nix has no such feature, nor the associated gotcha.

By "feature" you mean having variables whose name ends in a caret= (or
other escape character)? It's true that existing *nix shells don't,=
but the OS does support them (and so hypothetical shells could do as
well):

(let ((process-environment (cons "ca^=3Dwith-caret" process-envir= onment)))
=C2=A0 (shell-command-to-string "python -c 'import
os;print(os.environ[\"ca^\"])'")) ;=3D> "wi= th-caret\n"
--001a11478678117c9a053a573ed7--