From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp11.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms9.migadu.com with LMTPS
	id kKZnL8a0Q2QLbAAASxT56A
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 22 Apr 2023 12:19:50 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp11.migadu.com with LMTPS
	id YOlyL8a0Q2QRJAEA9RJhRA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 22 Apr 2023 12:19:50 +0200
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 67EA83F849
	for <larch@yhetil.org>; Sat, 22 Apr 2023 12:19:50 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1pqAKd-0001RI-Vd; Sat, 22 Apr 2023 06:19:04 -0400
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 <ruijie@netyu.xyz>) id 1pqAKc-0001Qx-2i
 for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 06:19:02 -0400
Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ruijie@netyu.xyz>) id 1pqAKZ-0004Ju-8p
 for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 06:19:01 -0400
Received: from fw.net.yu.netyu.xyz (<unknown> [222.248.4.98])
 by netyu.xyz (OpenSMTPD) with ESMTPSA id 80584b0c
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sat, 22 Apr 2023 10:18:56 +0000 (UTC)
References: <D140FA73-9995-4467-963E-00D5964485C0@axelkielhorn.de>
 <sdvzg70utif.fsf@netyu.xyz>
User-agent: mu4e 1.9.22; emacs 30.0.50
To: Ruijie Yu <ruijie@netyu.xyz>
Cc: Axel Kielhorn <org-mode@axelkielhorn.de>, emacs-orgmode@gnu.org
Subject: Re: Test failure due to LANG
Date: Sat, 22 Apr 2023 18:15:04 +0800
In-reply-to: <sdvzg70utif.fsf@netyu.xyz>
Message-ID: <sdvv8housn7.fsf@netyu.xyz>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz;
 helo=mail.netyu.xyz
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Reply-to:  Ruijie Yu <ruijie@netyu.xyz>
From:  Ruijie Yu via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
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=1682158790; a=rsa-sha256; cv=none;
	b=kodjt/PrxYMcofJ35/3x2ATxeMExuQXh6bVVJ0/UMI4gYPxfqM9neJupLknCUCVhmvks7R
	e7ZQqOHayGSuX9XAa1l+TTh+uBBunnphePzi2m0yvoxlY2YmZvX07KeYiugYxTfTT2n0GQ
	JdCcbjq2MamCCvVuXEASOnFLIiqY+SPlojHZySGARCFPEZWZs2HALEsxZkYLXh//5iOvJX
	v8wjXebXCxEh+K7zIIla5WCwOe/zrkfKpen9AvCUmLh7KAbTxSKKnZDT1u6qs67+rWHXi7
	cCbfkQVd3Eq+pIpf/vw5XhiwqWwI1Dlh4UFeeOw7ubcbQbwys2Wmg6bCTDaIMg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=none;
	dmarc=pass (policy=none) header.from=gnu.org;
	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"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1682158790;
	h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post; bh=Xy+Prk1chOsnYn97pJIYej7ko45nzCyRs60OIZgyVXs=;
	b=UtnHeFbdzR0AhyxUz3QKFWQhCf/xacOg2GlZmT9tPqbecKQ+9SsHAcf7uWstsCidVVNIwH
	AuGkoVULuSQDwm1XhcgHyveCLRW0N8lTF93gyef/lsa1ADgFt3DI0ZIuRiHt/XVE/JiU++
	PCwJtdYnEJYmob2IOKEdhDQJdp8W9GLC79J3Aw+irsKnE7FTKi+WqytcwKUz53RUkkbJcl
	TdL40FR1ryvfVOvg6m+h5Et+l0HKxMQxr0GPFvKZM8Bk4/nDTlG1AanERZHCS/Xok+P3M/
	f1SEm8UnlKmq8rQ8m2tmo0nOP4RSKWANCLnCP1EwfarlmLNE2fj8m6Ayf0fwww==
X-Migadu-Spam-Score: -3.51
X-Spam-Score: -3.51
X-Migadu-Queue-Id: 67EA83F849
X-Migadu-Scanner: scn0.migadu.com
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=pass (policy=none) header.from=gnu.org;
	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"
X-TUID: UGiYRkY9JIM3

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Ruijie Yu via "General discussions about Org-mode." <emacs-orgmode@gnu.org>=
 writes:

> Axel Kielhorn <org-mode@axelkielhorn.de> writes:
>
>> Hello!
>>
>> I=E2=80=99m building org with LANG=3Dde.
>> As a result I get two failed tests:
>
> Reproducible using "LANG=3Dzh_CN.UTF-8".  In fact, I got more failed tests
> in my testing.  I think the OP's two test failures are due to hardcoded
> English expected result, whereas the additional test failures on my
> testing are probably due to the fact that each Chinese character is as
> wide as two latin letters, which catches some testing code offguard.
>
> Here are the test names that failed unexpectedly for me.  All the
> "should"'s and "should-not"'s are in the attachment below.
>
> --8<---------------cut here---------------start------------->8---
> 8 unexpected results:
>    FAILED  test-org-clock/clock-drawer-dwim
>    FAILED  test-org-clock/clocktable/lang
>    FAILED  test-org-clok/org-clock-timestamps-change
>    FAILED  test-org-colview/columns-width
>    FAILED  test-org/add-planning-info
>    FAILED  test-org/clone-with-time-shift
>    FAILED  test-org/deadline
>    FAILED  test-org/schedule
> --8<---------------cut here---------------end--------------->8---
>
> [3. text/plain; lang.txt]...

Update: interestingly, there is one test error when setting
"LANG=3Den_US.UTF-8" or "LANG=3DC".


--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename=lang-en-us-utf8.txt
Content-Transfer-Encoding: quoted-printable

1 unexpected results:
   FAILED  test-org-clock/clocktable/lang  ((should (equal "| En-t=C3=AAte =
       | Dur=C3=A9e   |\n|----------------+---------|\n| *Dur=C3=A9e totale=
* | *26:00* |\n|----------------+---------|\n| Foo            | 26:00   |" =
(org-test-with-temp-text "* Foo\n  CLOCK: [2016-12-27 Wed 13:09]--[2016-12-=
28 Wed 15:09] =3D> 26:00" (test-org-clock-clocktable-contents ":maxlevel 1 =
:lang fr")))) :form (equal "| En-t=C3=AAte        | Dur=C3=A9e   |\n|------=
----------+---------|\n| *Dur=C3=A9e totale* | *26:00* |\n|----------------=
+---------|\n| Foo            | 26:00   |" "| En-t=C3=AAte        | Dur=C3=
=A9e |\n|---------------------+------------|\n| *Dur=C3=A9e totale* | *26:0=
0*    |\n|---------------------+------------|\n| Foo                 | 26:0=
0      |") :value nil :explanation (arrays-of-different-length 144 169 "| E=
n-t=C3=AAte        | Dur=C3=A9e   |\n|----------------+---------|\n| *Dur=
=C3=A9e totale* | *26:00* |\n|----------------+---------|\n| Foo           =
 | 26:00   |" "| En-t=C3=AAte        | Dur=C3=A9e |\n|---------------------=
+------------|\n| *Dur=C3=A9e totale* | *26:00*    |\n|--------------------=
-+------------|\n| Foo                 | 26:00      |" first-mismatch-at 25=
))

--=-=-=
Content-Type: text/plain


And, two somewhat different test errors when setting "LANG=fr_FR.UTF-8".


--=-=-=
Content-Type: text/plain
Content-Disposition: attachment; filename=lang-fr-fr-utf8.txt
Content-Transfer-Encoding: quoted-printable

2 unexpected results:
   FAILED  test-org-clock/clock-drawer-dwim  ((should (equal "* Foo\n:LOGBO=
OK:\nCLOCK: [2022-11-03 Thu 06:00]--[2022-11-03 Thu 06:01] =3D>  0:01\n:END=
:\n" (org-test-with-temp-text "* Foo\n:LOGBOOK:\n<point>CLOCK: [2022-11-03 =
??? 06:00]--[2022-11-03 ??? 06:01] =3D>  0:01\n:END:\n" (org-ctrl-c-ctrl-c)=
 (buffer-string)))) :form (equal "* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 Thu =
06:00]--[2022-11-03 Thu 06:01] =3D>  0:01\n:END:\n" #("* Foo\n:LOGBOOK:\nCL=
OCK: [2022-11-03 jeu. 06:00]--[2022-11-03 jeu. 06:01] =3D>  0:01\n:END:\n" =
0 2 (face org-level-1) 2 5 (face org-level-1) 6 15 (font-lock-fontified t f=
ace org-drawer) 16 22 (face org-special-keyword) 46 71 (face org-date keyma=
p (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mo=
use-2 . org-open-at-mouse)) mouse-face highlight) 81 86 (font-lock-fontifie=
d t face org-drawer))) :value nil :explanation (arrays-of-different-length =
85 87 "* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 Thu 06:00]--[2022-11-03 Thu 06:=
01] =3D>  0:01\n:END:\n" #("* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 jeu. 06:00=
]--[2022-11-03 jeu. 06:01] =3D>  0:01\n:END:\n" 0 2 (face org-level-1) 2 5 =
(face org-level-1) 6 15 (font-lock-fontified t face org-drawer) 16 22 (face=
 org-special-keyword) 46 71 (face org-date keymap (keymap (follow-link . mo=
use-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse))=
 mouse-face highlight) 81 86 (font-lock-fontified t face org-drawer)) first=
-mismatch-at 35))
   FAILED  test-org-clok/org-clock-timestamps-change  "Not at a timestamp"

--=-=-=
Content-Type: text/plain


-- 
Best,


RY

[Please note that this mail might go to spam due to some
misconfiguration in my mail server -- still investigating.]

--=-=-=--