From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 CpcoJQjwQ2T6wAAASxT56A (envelope-from ) for ; Sat, 22 Apr 2023 16:32:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AD9cIwjwQ2R0TgEAG6o9tA (envelope-from ) for ; Sat, 22 Apr 2023 16:32:40 +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 5B2A0D4F9 for ; Sat, 22 Apr 2023 16:32:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqEHd-0000ls-W2; Sat, 22 Apr 2023 10:32:14 -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 ) id 1pqEHc-0000lf-RL for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 10:32:12 -0400 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 1pqEHb-0007Ko-12 for emacs-orgmode@gnu.org; Sat, 22 Apr 2023 10:32:12 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 476B424025A for ; Sat, 22 Apr 2023 16:32:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1682173929; bh=GF2LMCvfsyc4eGbCLToIflz7PM6ojFnYPv80QjUXfRs=; h=From:To:Cc:Subject:Date:From; b=ZmdtvWsafjnUXgfDXcyiuryMNTX0X7pcdSfRDIM/3hY92M3acRD9TbMZe91JqGRK3 RTl6yeiRPKvWIveCOvleqHB1zmyyq1lXQM5DUYGxdF3uIkDh5cPmSG8d0xu1fC0UnI DWlGgSReEZ31/YgbcMoKCveTZihfnYBqslbOI4M4ej48IsL1mJyAgHmvcw5lFt4/ws 6z2HALvvliPQEHxoCjcheVXCLgv/AaybGhIS+zbUSnTXOxtaJ29uBeokO7YTq/TdXz GL8buJzPzkVmTAA4QC05GwtyqTaKJabRUri4NXtEKcYK+/PzuyGCl0UE73FNB76eQj kFveBjyWHYFkQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q3Ykc6Fzrz9rxN; Sat, 22 Apr 2023 16:32:08 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Test failure due to LANG In-Reply-To: References: <87bkjguma8.fsf@localhost> Date: Sat, 22 Apr 2023 14:35:01 +0000 Message-ID: <87a5z06l4a.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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, 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." 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=1682173960; a=rsa-sha256; cv=none; b=dJA76c95tJ+EXtsv8twG6FtS5502ESlDOFI882LfKpP3XP5a++k6l/K/xhFx7x1yovMTBA W+04+QJ+/DHfAqcPCz1PQPZzY1H4pvGzSZMZIc/FF8amTmPN8dEPiMR3Xf2pGbRF7uOPtT bzW3ZD69Pnu1L0EB1ry30D41/Piw3daeRUfkUEr7peyFrwKtMjuvBwbP3S1nsQ2ih4qosR 6SB8a0e53/+Ge+GWRk5ygPDdbyHU0tk46gLr1Eko9uPhvrWpVxAZFwjMPHpp3RZ6TAMr7T 6x61i7sJK93JYC2hmcpDGUAsfRlcmBUcLEZX3viocmfob7wZrfX/mWXmUX8ePw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ZmdtvWsa; dmarc=pass (policy=none) header.from=posteo.net; 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=1682173960; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ka82AWMjgCgUbd7iuOiKrPnS/9xZYYueYFJG+DRIjrw=; b=ee5+fzLlz+IuBLJozpche41ikR9nwqyikHdKNVG69pDEEqNGZHRRKrjBnuqANqWn+1Sx5f UooYOCgHyAHVyj4LhwoUoeOZVVf1p25Tt+xyc+4rkKDAsxjMWKLWr8UJ9YFQspvOiWco8+ lP1WXCUmw0aLI9lFYlejeaZH9AzhkS+K5JbX99u5tRMVpkmBAFhoi7yBXw5+ZWSnotIWu7 8brUm2FbVQJboAUxWHiQPKhDTB1QWoMWesoz0eIiHR3B0j3K8OkXxhgLNm6RCDaokr1Ee8 Sb/yDUAEywlcTJfg9V7rqOCh8Sc3EaZNLM94tsWIGrVzOmpt21P3wpRtawU7gQ== X-Migadu-Spam-Score: -8.01 X-Spam-Score: -8.01 X-Migadu-Queue-Id: 5B2A0D4F9 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ZmdtvWsa; dmarc=pass (policy=none) header.from=posteo.net; 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: Rkcmrz0eCqBP Max Nikulin writes: >> (with-environment-variables (("LANG" "de")) >> (format-time-string "%A")) >> (with-environment-variables (("LANG" "en")) >> (format-time-string "%A")) > > ("LC_TIME" "de_DE.UTF-8") > > Since it is related to dates or even "LC_ALL". E.g. Ubuntu installer may > configure LC_TIME overriding LANG. Some users may have LC_ALL that > overrides specific LC_* variable and LANG. I guess it will also depend on whether the requested locales are generated. I only generated "en" on my system, so even setting LC_TIME will change nothing for me as the only available locale is used regardless. I now think that overriding the locale is not reliable in practice. Ruijie's idea may be better. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at