From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: CSV parsing and other issues (Re: LC_NUMERIC) Date: Fri, 11 Jun 2021 17:10:36 +0300 Message-ID: <83mtrwa3vn.fsf@gnu.org> References: <20210606233638.v7b7rwbufay5ltn7@E15-2016.optimum.net> <83a6o1hn9l.fsf@gnu.org> <20210608004510.usj7rw2i6tmx6qnw@E15-2016.optimum.net> <83h7i9f5ij.fsf@gnu.org> <73df2202-081b-5e50-677d-e4498b6782d4@gmail.com> <83eedcdw8k.fsf@gnu.org> <83lf7hbqte.fsf@gnu.org> <20210610180145.staexpqsmqpiv44c@E15-2016.optimum.net> <83a6nxbllz.fsf@gnu.org> <20210610190453.gaq5pqlfbvy4zwmp@E15-2016.optimum.net> <837dj1bk1k.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18446"; mail-complaints-to="usenet@ciao.gmane.io" Cc: manikulin@gmail.com, boruch_baum@gmx.com, emacs-devel@gnu.org To: Filipp Gunbin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 11 16:13:03 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lrhu9-0004WZ-LW for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Jun 2021 16:13:01 +0200 Original-Received: from localhost ([::1]:58998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrhu8-0005ZS-Ho for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Jun 2021 10:13:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrhs0-0003Hf-Hj for emacs-devel@gnu.org; Fri, 11 Jun 2021 10:10:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57208) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrhs0-0001mH-6S; Fri, 11 Jun 2021 10:10:48 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1599 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrhrz-0006ak-Qn; Fri, 11 Jun 2021 10:10:48 -0400 In-Reply-To: (message from Filipp Gunbin on Fri, 11 Jun 2021 16:56:34 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270700 Archived-At: > From: Filipp Gunbin > Cc: Boruch Baum , manikulin@gmail.com, > emacs-devel@gnu.org > Date: Fri, 11 Jun 2021 16:56:34 +0300 > > On 10/06/2021 22:23 +0300, Eli Zaretskii wrote: > > > I don't think it's TRT for Emacs to expose locale-dependent features > > that cannot be controlled from Lisp, sorry. We need to find a better > > way. For example, there could be a Lisp variable that specifies the > > group separator character, and then 'format' could use that character > > when the format spec includes %'. Which means we'd need to implement > > that in our own code; patches welcome. > > Maybe an alternative set of specifiers, which output data in > locale-specific format. Then a single variable to let-bound around > format, which instructs what locale to use. Very simple... Sorry, I don't think I understand what you propose. Please elaborate on the "alternative set of specifiers, which output data in locale-specific format".