From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0L3fFDywuF8OQgAA0tVLHw (envelope-from ) for ; Sat, 21 Nov 2020 06:14:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4NNAEDywuF/GHgAAB5/wlQ (envelope-from ) for ; Sat, 21 Nov 2020 06:14:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D9421940366 for ; Sat, 21 Nov 2020 06:14:19 +0000 (UTC) Received: from localhost ([::1]:32884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgMA6-0000vz-RD for larch@yhetil.org; Sat, 21 Nov 2020 01:14:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kg2Kj-0005OY-9v for emacs-orgmode@gnu.org; Fri, 20 Nov 2020 04:03:57 -0500 Received: from mail-il1-x129.google.com ([2607:f8b0:4864:20::129]:33036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kg2Kh-0005Wa-KJ for emacs-orgmode@gnu.org; Fri, 20 Nov 2020 04:03:56 -0500 Received: by mail-il1-x129.google.com with SMTP id y9so7952835ilb.0 for ; Fri, 20 Nov 2020 01:03:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:mime-version:message-id:date:from:to:subject; bh=F50IW9TuybvucEg6RYtfHvnm0mUiygnjad6RSbGm3Ig=; b=StJOnH0p7GYQ3tkBECaz4jJCwheEQ1jamlIqkejIj2q31eYGmgz1a7Aw16KFAZChaj G078gbjOZlObkjBb9FtqCbO2SBB2VokAyrbY8mX9OmsmN8jk8/L60TDcoAjOqgAG9Dza 3GDbg57fdLzEsG3MdAJX5sUoqGnVzc0R+B33BbJzo1qBpbf/s3AiFJbzX7bNOSce5+cd sCF0NyJ3WgbQbeBZDJ0UE+Lkkgpnwv+1ItMVYRDzX7LhDzQRBFhO49NgSfNNRKX/2fBd ZrXsnvw/AC2efcIg7Cw80ctv+3Qy9UWOZ+5j5Oj8VPZg+Hhg0QpnS18UD7HjfSIcjd19 H+XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:mime-version:message-id:date:from:to :subject; bh=F50IW9TuybvucEg6RYtfHvnm0mUiygnjad6RSbGm3Ig=; b=mIdTxTpiZCSznvPnO1HGccumHcgoOCN+iioPdAtESxV4Am11DS0G0UOk6Po+oumXzR qSSM6fhmbtzxs2vFwGmGNt3vwQolSHNGpmmR4GXJg7pb3Q1669GvDYlecRMy8VX6VjMH KWAOM5mJaok0Rv0HIUa2Fk1OLIOSQYofLTlMm2pXUaojTijeJSauQMdqYzlQWU6Pvomb moQWnEddQd7heJdh4+OqukKEEy2Zm3e3J16yYhnNNWWQo5vcLPMn51UNM93eDUaiOiZG Eu5KfC9lzd9i3OMyc7h5rV7HS7Mwpg6Q01ChPWfFdPTnZRub65leMYA//yxzBlFplPgS v30A== X-Gm-Message-State: AOAM5329IwIo8fz+VmcTTFVP4sw29GAbiemLZIm4+B5n9Gl2hP2uXGwR qNX9W515dOK5IqeSEqbFkQ1a+RH6eT4= X-Google-Smtp-Source: ABdhPJyzt/ltmUD76Xtm9iYne5YMMVfxSE2IEkY3khoefLXxPpIKvy+kQovoAyq+8ANRRCBH0d89pw== X-Received: by 2002:a92:da10:: with SMTP id z16mr25292631ilm.20.1605863033962; Fri, 20 Nov 2020 01:03:53 -0800 (PST) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com. [66.111.4.227]) by smtp.gmail.com with ESMTPSA id l8sm1166676ioc.19.2020.11.20.01.03.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Nov 2020 01:03:52 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 8512427C005A for ; Fri, 20 Nov 2020 04:03:47 -0500 (EST) Received: from imap36 ([10.202.2.86]) by compute3.internal (MEProxy); Fri, 20 Nov 2020 04:03:47 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudefledgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehmtderre erredtnecuhfhrohhmpedfvehhvghonhhgucgjihhuucfhuhhnghdfuceotghhvghonhhg hihiuhhfuhhnghesghhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepudejleeije fgkedvledufeefleeugfeuheejvdevheffleejgefhfefhueekhfejnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrihhlodhmvghsmhhtph gruhhthhhpvghrshhonhgrlhhithihqdelieejjeefjedvkedqvdduheeikeekvdegqdgt hhgvohhnghihihhufhhunhhgpeepghhmrghilhdrtghomheshihiuhhfuhhnghdrnhgvth X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 058E518801E2; Fri, 20 Nov 2020 04:03:46 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-622-g4a97c0b-fm-20201115.001-g4a97c0b3 Mime-Version: 1.0 Message-Id: Date: Fri, 20 Nov 2020 17:03:25 +0800 From: "Cheong Yiu Fung" To: Emacs-orgmode Subject: [PATCH] ox-odt.el: quote output file name Content-Type: multipart/mixed; boundary=978a7340b89f445888da8c8f4fc0e499 Received-SPF: pass client-ip=2607:f8b0:4864:20::129; envelope-from=cheongyiufung@gmail.com; helo=mail-il1-x129.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 21 Nov 2020 01:13:12 -0500 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=StJOnH0p; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.40 X-TUID: 44VpiBnl6vcP --978a7340b89f445888da8c8f4fc0e499 Content-Type: text/plain Hello, Here's a patch to quote output file name following the fashion of input file name as used in `org-odt-convert'. It avoids conversion errors in the underlying shell commands. Yiufung --978a7340b89f445888da8c8f4fc0e499 Content-Disposition: attachment;filename="0001-ox-odt.el-quote-output-file-name.patch" Content-Type: text/x-patch; name="0001-ox-odt.el-quote-output-file-name.patch" Content-Transfer-Encoding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