From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KJLSDpQUwWPuKgAAbAwnHQ (envelope-from ) for ; Fri, 13 Jan 2023 09:21:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gN61DpQUwWN/BwAAauVa8A (envelope-from ) for ; Fri, 13 Jan 2023 09:21:40 +0100 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 B679545389 for ; Fri, 13 Jan 2023 09:21:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGFIq-0007pe-Uy; Fri, 13 Jan 2023 03:20:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGFIa-0007fH-Dn for emacs-orgmode@gnu.org; Fri, 13 Jan 2023 03:20:38 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGFIW-0000Bd-Hh for emacs-orgmode@gnu.org; Fri, 13 Jan 2023 03:20:27 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 15A11240483 for ; Fri, 13 Jan 2023 09:20:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1673598022; bh=bTXEHNy1dKsBozG9ug5BacDEj6Q9LMIppwVqGd3Y7kY=; h=From:To:Cc:Subject:Date:From; b=NKttu0dy8VuHj4yOeHZVut2FE+7icC1aKSqRmvABclm+8eFqx8RI9nnn7dZNUDcWD uSCiECUo+ExLy3LfooXpuXNHa0dzGcgBoRcGPrfIbK1jzMHB2iavlLNiI+5LR8ENir AlpPJJpn/bbFwM0lspM8WXoOuStwyUXjPeGkDB93mwXQCGVqS7qCbK6qsNhPRAhbcp kBNboAvVx6lAXkKuQDUAGyRIjKPmial8vfbBEv3Qdq/Fvpq9Yjed1Rftpe1jy/ZpCr UzvMyXb8Tw/3W/0g2DAh86ZucKd98Ara/j4uFUarNixuDHb5ImMU/6xjqLlmVEJczi rjih9Km7YRWoQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NtZ9H5c9Rz9rxH; Fri, 13 Jan 2023 09:20:19 +0100 (CET) From: Ihor Radchenko To: Cantoraz Chou Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] [ox-odt] ODT export Chinese/Han script inserts unexpected spaces in each consecutive line In-Reply-To: References: Date: Fri, 13 Jan 2023 08:20:50 +0000 Message-ID: <87k01q7sm5.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673598100; a=rsa-sha256; cv=none; b=Yv8EsLcivFjElfjR/IWp0nviEuPvZnynkFMbj5lwg5/OIbXfMFt7sevFLPnSwRagbo+FYi KhiB/I8UCu+a4WK97Ht1trOyhN5VQZzFEGnHVEgGbtvS5xLMTlVKWPoqYvth4DtkkY0ASC 7ZyVMEwqw+Nzy566HuAGQu2YKykmbBwrGiufIrcqnVbif2NUAltxMegFNztjlabfEk35pn PePw+hUglUWmsE4hCM8D4LCH76jeS2R0eC8ImE1eI+xbldcLXCUPILoIo5Xapcoh7ngLYB l5uvePTFjM0zEjpZdnXARv65iSX41Jox+z/5tX6NFpXAZlBELIBtUpsIeQxMoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NKttu0dy; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673598100; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=bTXEHNy1dKsBozG9ug5BacDEj6Q9LMIppwVqGd3Y7kY=; b=YvChSfpKslZrA6B4fQOCUbRMjg0/es5BbOK3UIFNbzfhDUp+mE0Zr6X3TUVgCExdhpzhcU sfnlOzrP8bETBv/062+IS+/LSAm/q0y0M6x78vaFFUjd4n18ZIXTsKcNFKrSRWqLkytTMU THKGnBYwzKSm9D3CLpky6IFRCPi9Nb+qsVsj7P1Re7moWwhk9957jr5BMGflt6o9kjELne +J5Y/zMQyO388dYgfcWutI/pb8cYU86gu120AYXzyhlNfiS+Eefvx45rIkgSBIcXCG86Ig 5p279oHYLF/rOzFlGYs4ijj61Fv/L6dr7gDuiXtfbKGupcoiC8tb/2KZV3HzkQ== X-Migadu-Spam-Score: -4.55 X-Spam-Score: -4.55 X-Migadu-Queue-Id: B679545389 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NKttu0dy; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net X-TUID: WB4pMP0NfhWe Cantoraz Chou writes: > This commit [[https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit= /?id=3D3502ce2dbb29b70cdbb978d144322d48cb00f26d][ox-odt: > Fix newlines replaced by spaces in Han script]] > brings in a strange bug. > > Exporting ODT produces an unexpected space inserted into each line. > > Eg, the simplest code (a consecutive line conposed of two contiguous line= s) > > #+begin_src org > =E9=82=A3=E6=97=B6=EF=BC=8C=E5=A4=A9=E4=B8=8B=E4=BA=BA=E7=9A=84=E5=8F=A3= =E9=9F=B3=E3=80=81=E8=A8=80=E8=AF=AD=E9=83=BD=E6=98=AF=E4=B8=80=E6=A0=B7=E3= =80=82 > =E9=82=A3=E6=97=B6=EF=BC=8C=E5=A4=A9=E4=B8=8B=E4=BA=BA=E7=9A=84=E5=8F=A3= =E9=9F=B3=E3=80=81=E8=A8=80=E8=AF=AD=E9=83=BD=E6=98=AF=E4=B8=80=E6=A0=B7=E3= =80=82 > #+end_src > > will produce following text: > > #+begin_example > =E9=82=A3=E6=97=B6=EF=BC=8C=E5=A4=A9=E4=B8=8B=E4=BA=BA=E7=9A=84=E5=8F=A3= =E9=9F=B3=E3=80=81=E8=A8=80=E8=AF=AD=E9=83=BD=E6=98=AF=E4=B8=80=E6=A0=B7=E3= =80=82=E9=82=A3 =E6=97=B6=EF=BC=8C=E5=A4=A9=E4=B8=8B=E4=BA=BA=E7=9A=84=E5= =8F=A3=E9=9F=B3=E3=80=81=E8=A8=80=E8=AF=AD=E9=83=BD=E6=98=AF=E4=B8=80=E6=A0= =B7=E3=80=82 > #+end_example > > Notice the second sentence, the space in `=E9=82=A3 =E6=97=B6'. Thanks for reporting! Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3Dcd967ce00 That was rather silly. I forgot that Chinese characters occupy two columns. P.S. As Chinese user, do you have other gotchas Org might need to address? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at