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 ms0.migadu.com with LMTPS id GGdgL8elNGFY2gAAgWs5BA (envelope-from ) for ; Sun, 05 Sep 2021 13:11:03 +0200 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 cPw6K8elNGEfbQAAB5/wlQ (envelope-from ) for ; Sun, 05 Sep 2021 11:11:03 +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 D8BD41F76A for ; Sun, 5 Sep 2021 13:11:02 +0200 (CEST) Received: from localhost ([::1]:45680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMq3A-0003sl-Kt for larch@yhetil.org; Sun, 05 Sep 2021 07:11:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMq1E-0003sa-0a for emacs-orgmode@gnu.org; Sun, 05 Sep 2021 07:09:00 -0400 Received: from ciao.gmane.io ([116.202.254.214]:37868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMq19-0000sx-Ps for emacs-orgmode@gnu.org; Sun, 05 Sep 2021 07:08:59 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mMq16-0007sj-Fp for emacs-orgmode@gnu.org; Sun, 05 Sep 2021 13:08:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Jarmo Hurri Subject: Re: Org table: numeric locale Date: Sun, 05 Sep 2021 14:08:48 +0300 Message-ID: <874kaz46v3.fsf@iki.fi> References: <8735qut5co.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:iyQY2WwUkrg6xFiuKdbHr54lRG0= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630840263; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=8UTdXJ0QKTzMS6TflQvMt6oxScq6CsPtjHuIaddJ4yQ=; b=t1WOwhGAuRROcsvwOOpahKImjOwZ0jNZtZTGG2RYPlsXj6tEvfe6QWdRDpwP9s+jAlkqJa kQPW1y6V15nn2+r9NMM6GF9hBksxqfQLktZxJvPDdK111aMkfu0WM/1BwQL3QuXvuXUOgh TUSAQzXPa5FY0E9HWa/G6y9t2ro0uCmXDb3ytcfS9aIXkQHQcGH/55Oi/1dTO8b0eXLzvn wSEus8nEKpnN4gfX3h9/7R4z0CC9+YRB4bgykfYOA3RuyVKqklvj2aIfLkSP2WKJMGJiaB kLQUSJSjmmszNzjG1Do+xq7uf0z4skXVhYVAZkBYLADWa+kXX7zTnqFslxnrNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630840263; a=rsa-sha256; cv=none; b=fuZ8yDP0Iwciqebr9792LycxBqz6fUep/CcVqRY3oTF/4pqLUokH+zdoMutihWesHmXPmw y3prtf3VlXhBDkbOsyiOdT0pmnxz2CHhG8qWGclP0+TdbAfbaeB+u0yM9W7f2VZX/gGo9B ZWx7PQezoVioa8jg6h4iJ0LyXpbYBWBy8mQBXyj7pdGEyKZk23FBGOv1CgcgXzEKACjBUI Alqvd9wrrCpYQKMdB+/M49ow09bKuq3hfZUYcWw0Uvzi4sbCsw9mLwGMkUUCUtIdZPKJaZ g4tYnjz4ecNgvZ/y++pz7kVcB8PbkDGGBa8wWonoIVpRMbhbdn58/sKJMEoNdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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-Migadu-Spam-Score: -1.91 Authentication-Results: aspmx1.migadu.com; dkim=none; 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-Migadu-Queue-Id: D8BD41F76A X-Spam-Score: -1.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: gq43Fd5rkf23 Maxim Nikulin writes: > On 28/08/2021 14:07, Jarmo Hurri wrote: >> I wonder if it is possible to get org table formulas to respect >> numeric locale. > > Even to add some functions to Emacs that respect numeric locales, it > is necessary to use e.g. dynamic modules >> Emacs documentation says that Emacs uses the value of LC_NUMERIC: >> https://www.gnu.org/software/emacs/manual/html_node/emacs/General-Variables.html > > It is a confusing statement, see: > - https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29645 > #29645 Feature Request: Locale aware formatting > Date: Sun, 10 Dec 2017 15:05:02 UTC > - https://lists.gnu.org/archive/html/emacs-devel/2021-06/msg00327.html > https://lists.gnu.org/archive/html/emacs-devel/2021-06/msg00139.html > > The state of numeric locales in Emacs is a little worse than just > unsupported. Mostly "C" is forced for LC_NUMERIC, so e.g. grouping is > not used. I see. I am surprised by the disparity between documentation and reality, given the quality I have learned to associate with emacs. Thank you very much, Jarmo