From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KBGzNqSMt19jYQAA0tVLHw (envelope-from ) for ; Fri, 20 Nov 2020 09:30:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wLikMqSMt1+vQAAA1q6Kng (envelope-from ) for ; Fri, 20 Nov 2020 09:30:12 +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 289389401C0 for ; Fri, 20 Nov 2020 09:30:11 +0000 (UTC) Received: from localhost ([::1]:35822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kg2k5-0006Uf-Jw for larch@yhetil.org; Fri, 20 Nov 2020 04:30:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kg2jK-0006Rg-Lh for emacs-orgmode@gnu.org; Fri, 20 Nov 2020 04:29:22 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:33105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kg2jI-0006b8-Qy for emacs-orgmode@gnu.org; Fri, 20 Nov 2020 04:29:22 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 67B455C013E for ; Fri, 20 Nov 2020 04:29:18 -0500 (EST) Received: from imap36 ([10.202.2.86]) by compute4.internal (MEProxy); Fri, 20 Nov 2020 04:29:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yiufung.net; h= mime-version:message-id:date:from:to:subject:content-type; s= fm2; bh=wJwjue4OXsex5SDU9Gm2LnTJaiU0iB9iGYtfD8hvP1M=; b=Yz0ngabk FmDsu3PcEIisg7NdJiasaBHqjb1LmB3ZEKjFrV1Ir/QvlCjufYyL8beD7DqioYi1 0s23RbKeRT22+F/NZhWk9Q1AKDZQNaIwMFRkuvGm2Y6oaoSQvAlR5Yv4oZl+4SMr 9oGKC4axWiz18/dhEhKavt9FEWSh/vnnVRwpy1lPlEE//jcSR7UHNuogfQakClYi cs4JSEGU41sHOlgRESnzzOg7gcv4SqKdlR5k90icZOI8JmOzlpmii1he1U2XOol7 ZohgznU/a33dS3/CjrQArI2q9L1h28UXHLohD4TCwwn6zlvsVc5E4R7Be6d3PlRj jpw9mLN/yDPVzg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=wJwjue4OXsex5SDU9Gm2LnTJaiU0i B9iGYtfD8hvP1M=; b=VM7BZjnWApC9yGRYXoRj6TaVY97gQ8EEaBBBARUUE/f+b fyiAoiuTz1vnwGI6Lq/zc7Bdgfauq2YTwCwBvAT/H3diSa1z9cc/Aku6PmoAirzX u0e80aNpvDwntHAs2EsE/xks5jLjaSNi1oC89VhcWSlTIb4uqd1E8kWFrA2k+Itz aEa8wqjuyrtpu11PydPfpSrSOggJlX/wx+u+ODnxjmZVcU2HEnDwWeTIsfXsMse3 JcObRr4ioqb/coaVcTgRgW7KyQl9FJbe9hCDSJSrglFwckBw3VLrbmDEIxweYs25 /W0aZaI0hl6nFsIY6LyBTwAICKEH2xQMMy9OIsgfw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegtddgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehmtderre erredtnecuhfhrohhmpedfvehhvghonhhgucgjihhuucfhuhhnghdfuceomhgrihhlseih ihhufhhunhhgrdhnvghtqeenucggtffrrghtthgvrhhnpefgudffjeekueelfeeuleetke evvdffkeeuleeihefhvdekgeekgfekgfeugfeiheenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghilheshihiuhhfuhhnghdrnhgvth X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 1B81818801E2; Fri, 20 Nov 2020 04:29:17 -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: <826d6e43-6cde-41fd-a9e6-9517fd892a89@www.fastmail.com> Date: Fri, 20 Nov 2020 17:28:57 +0800 From: "Cheong Yiu Fung" To: Emacs-orgmode Subject: [PATCH] ox-odt.el: quote output file name Content-Type: multipart/mixed; boundary=202edfe000e144c8ab904e4594e365c0 Received-SPF: pass client-ip=66.111.4.26; envelope-from=mail@yiufung.net; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=yiufung.net header.s=fm2 header.b=Yz0ngabk; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=VM7BZjnW; dmarc=none; 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.90 X-TUID: 91AKvmryNeZe --202edfe000e144c8ab904e4594e365c0 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 --202edfe000e144c8ab904e4594e365c0 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: BASE64 RnJvbSBlNzcyODRjYzUxMWFmYzlkM2U5YWQ2OGM5YjM2ZjlmNjliY2FkNDEzIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBDaGVvbmcgWWl1IEZ1bmcgPGNoZW9uZ3lpdWZ1bmdA Z21haWwuY29tPgpEYXRlOiBGcmksIDIwIE5vdiAyMDIwIDE2OjQzOjUzICswODAwClN1Ympl Y3Q6IFtQQVRDSF0gb3gtb2R0LmVsOiBxdW90ZSBvdXRwdXQgZmlsZSBuYW1lCgoqIGxpc3Av b3gtb2R0LmVsIChvcmctb2R0LWRvLWNvbnZlcnQpOiBBZGQgYHNoZWxsLXF1b3RlLWFyZ3Vt ZW50Jwphcm91bmQgb3V0cHV0IGZpbGUgbmFtZS4KClRJTllDSEFOR0UKLS0tCiBsaXNwL294 LW9kdC5lbCB8IDQgKystLQogMSBmaWxlIGNoYW5nZWQsIDIgaW5zZXJ0aW9ucygrKSwgMiBk ZWxldGlvbnMoLSkKCm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