From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.devel Subject: Re: CSV parsing and other issues (Re: LC_NUMERIC) Date: Fri, 11 Jun 2021 16:56:34 +0300 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19335"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: manikulin@gmail.com, Boruch Baum , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 11 15:57:19 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 1lrhew-0004n2-VV for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Jun 2021 15:57:19 +0200 Original-Received: from localhost ([::1]:40646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrhew-0000ex-15 for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Jun 2021 09:57:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrheM-0008Eo-Tu for emacs-devel@gnu.org; Fri, 11 Jun 2021 09:56:42 -0400 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:38273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrheL-0003MA-8C; Fri, 11 Jun 2021 09:56:42 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id A660517F1; Fri, 11 Jun 2021 09:56:37 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 11 Jun 2021 09:56:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=8j5RFOE6rMi2kh+8+41FLRUZRT XogK1injgP/8FfoRc=; b=Cw53nNIIVtq8HtNp9BRVww1ab8+wNEXWthA11I6AN8 2fl/uUSfxS6trmGZPuIjZ9Os893zTiGyndPrew39pWOzAfqGcyTHiyiI2oHa7DS/ gkjHdhhdWZ8YGR+87o9scEW+Q2NcQU+SeWgu/FiyZt+aght2H2i1q/jL2F2EGoK6 M1gT2ro65AI4+Ru0uH0eg5U+Z3FY6MhoizMBnIJshDCE6/kguRtKHN/KHodwsGvb W6nGDKEKwUId+lxL589QWsiG5Q385FHWC//Kgu6ByTgWlcjEsByujd+VAG7dY8qg U6h2K2LdA+qodFz3NZIiHHuVzPNypsjz7FRHE8pT9nEw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=8j5RFO E6rMi2kh+8+41FLRUZRTXogK1injgP/8FfoRc=; b=Lhkyg0S/8xj7TbDaJudmFM aXfidjzGHDZaBwickaP/AN0jKNtFEGwFOtJ3o7bP0LEqW6sDZcJ5JHQowp4o23Jj 1Tplm8KHEtrqH/tAOdNxAZnMhbJFXukHz4scUmyHuP1o3k5rcIapiYj+NgHWqbV8 Dnnr6Z4bgZglhXnqBuPWnpaLPoyja2Th0NCUn5edCHlGjyrWHZVuhIewrEjHvdJg 7oR+CwtZ0WumqUKyv6vpykaqy1iVsjRpzoVPhjY6j5LfARXIlSL0AHchome5JnqK zc/AjIKMr5EvCCl/31HAYZBEeMc25cyc+xldJ4Rhoy13n5Y0MnZ+Q+8jbzkqB+Hw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedujedgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpefhihhlihhp phcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecuggftrf grthhtvghrnhepvdevkeffvdeuvefhuddtjeehkedvueefveettddtveduudfgieffieev ieevhfdtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epfhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 11 Jun 2021 09:56:36 -0400 (EDT) In-Reply-To: <837dj1bk1k.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 10 Jun 2021 22:23:51 +0300") Mail-Followup-To: Eli Zaretskii , Boruch Baum , manikulin@gmail.com, emacs-devel@gnu.org Received-SPF: pass client-ip=64.147.123.24; envelope-from=fgunbin@fastmail.fm; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:270699 Archived-At: 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... Filipp