From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oErIH1qfomD26gAAgWs5BA (envelope-from ) for ; Mon, 17 May 2021 18:52:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KOdhG1qfomArKAAAbx9fmQ (envelope-from ) for ; Mon, 17 May 2021 16:52:42 +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 EFBD02364C for ; Mon, 17 May 2021 18:52:41 +0200 (CEST) Received: from localhost ([::1]:49066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ligTw-0003Jm-Tu for larch@yhetil.org; Mon, 17 May 2021 12:52:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lig8f-0004v2-AW for emacs-orgmode@gnu.org; Mon, 17 May 2021 12:30:48 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:42754) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lig8d-00066n-L6 for emacs-orgmode@gnu.org; Mon, 17 May 2021 12:30:41 -0400 Received: by mail-pj1-x1032.google.com with SMTP id j6-20020a17090adc86b02900cbfe6f2c96so4013078pjv.1 for ; Mon, 17 May 2021 09:30:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=y6HozWxDMxpw494P7W1aO7EZHlz2vRQAhBHRtFlG57g=; b=jb4hxUwrb595OLr2bBBzj5UaABkqzokAW/IRnABSB2pz7sbYWX0w0T0yewwQFrkk1i tpc2ROSjir+pOLybfcES9YhwlohGQm4Us5pwcGqvKy3B3x1VnYwm6R9yiRqtJNF5ba27 eV3N2ANNyYMGWBvWY5FFKl2UxmOsTNyDA3rmEs2D9ctylPigeJyF03B611OiBQml3Ii9 E2iqbJsAf7oXUXs2cbT5ych7gpfLoOZSZE5SM8Oq8tf/2LyIlOWLik2TQsszcQjwHcsY GagahkKNmrHziffL3I+vs4PJwuJ11UokvmE+nEyqQB4lAJfHBeuf8/qB0ebDdlJ3ZVn3 Zwtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=y6HozWxDMxpw494P7W1aO7EZHlz2vRQAhBHRtFlG57g=; b=ovklcxFFkyZwqN/5BgPUd2YRffraa1a7l/ONUGnwjTT4YuEwp8L1PpyO3xZ+/N0REf aGdET55PzAOK/Ypt+1EBq1uXDsNfNJglE5fQ6MhyRkrxEqBaumkZ6CK7CFgMduKqaSZe El51a+VcNNpuRl2o2c/zqqhP9tWuNulIbF2SiPqhoYJd0Qa2qKK2rufGNZ4TjJUlMzoR BpGm3LJj+iB7QZIWY8P8MfTXNkfqPvt3iVvnuGaUCxpBvrJN9JkdRRA+SKfaKtmXUml+ upjbqbw1Zs7WG5MeJaAlxi9GwWxrv1yvoYJij1vaFjTitxG/iXE/6bAZkw2CY3NycSCc geQg== X-Gm-Message-State: AOAM530tcPo/f5US3WPQdqCClhVssQWXkj+pFehWd2qTpv5w71a15WWR yVMlu6Gzh8Gnhau+WqjxOJI= X-Google-Smtp-Source: ABdhPJzAShcsjD5bsBkg6fDAnosuCzldXTvgIFyH5r2sF0o+ZMWRA/seNLoatUGmhvA99tAJWVhLWQ== X-Received: by 2002:a17:902:7787:b029:f0:a7c0:f9e5 with SMTP id o7-20020a1709027787b02900f0a7c0f9e5mr850347pll.5.1621269038247; Mon, 17 May 2021 09:30:38 -0700 (PDT) Received: from localhost ([103.77.0.147]) by smtp.gmail.com with ESMTPSA id g202sm3487382pfb.54.2021.05.17.09.30.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 09:30:37 -0700 (PDT) From: Utkarsh Singh To: Maxim Nikulin , emacs-orgmode@gnu.org Subject: Re: bug#47885: [PATCH] org-table-import: Make it more smarter for interactive use In-Reply-To: References: <87czuq9958.fsf@gmail.com> <8735vmelfs.fsf@nicolasgoaziou.fr> <87k0oyfj4y.fsf@gmail.com> <87im4h9irn.fsf@nicolasgoaziou.fr> <87zgxpwqa7.fsf@gmail.com> <875z07jx6n.fsf@nicolasgoaziou.fr> <87tunqby9a.fsf@gmail.com> <875yzq77w8.fsf@gmail.com> <87o8dd74dv.fsf@gmail.com> Date: Mon, 17 May 2021 22:00:45 +0530 Message-ID: <87y2cdgw5m.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=utkarsh190601@gmail.com; helo=mail-pj1-x1032.google.com X-Spam_score_int: 16 X-Spam_score: 1.6 X-Spam_bar: + X-Spam_report: (1.6 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_NONE=-0.0001, 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=1621270362; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=y6HozWxDMxpw494P7W1aO7EZHlz2vRQAhBHRtFlG57g=; b=IZlsaQ7nTIo0lWreSMbohDyeunfrnamUuskTc4NXWEUXwzowVb7Ljqmvq3RhpOxTEb+flw U1yeJkUBS/p1MR7blma+SSqsjK9GuH2arOgvSPGk8rDBor4uO7V3yfKrA5h7241Uu4Z/Zm UNOW6DkaYVbFDRONGPUcNHDeCSMQmhAfU4UyqRa5GpYrNTX1iBjvvp3K8zvOyjpfSXStho TGN9o7Vd8q6JrNOL9TH6+Pnr3sjwwH1eC0JcGHxDCHMXRMdJvusTXBuS61NifjrsltpM6o /VU414bhThXevZ8eJtS68wWEzxClFuhFjorFd0/mQg31VkEELWyZ7/BY7fle2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621270362; a=rsa-sha256; cv=none; b=qfIiE95CcfUQhBzTWfacFgKCP8CSvnigzRvL+XQFEdFtFKnYqv+RCcw8aWihDmmbYrA2vb RAeGrMF/huKgEgomWJSVw+FDMMh4ZDZhsvzIace9X3VbT2iXXNJC7o2HyuNxFw1e/Y4AVc SuPLJTi83JiTEfBTvjkMRW3ZXLHrZ9xDptyf3mjdyeGZcqAKxpWbgyi/8KGndcTdVyBDUt HBTOSdzXKAYThnlhklGwHYhb2Jjng0Ghp7a8iOwm5W08tPeVVIv/6447cL84ind2E1rwyH 6KBG48MQmzdlB377mc/PYru+B55p1xVCIcHMhf9OJIHRNE70csoBnxUKZYeLeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=jb4hxUwr; dmarc=pass (policy=none) header.from=gmail.com; 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.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=jb4hxUwr; dmarc=pass (policy=none) header.from=gmail.com; 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: EFBD02364C X-Spam-Score: -1.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: bqKnz/ZCGuth On 2021-05-16, 23:24 +0700, Maxim Nikulin wrote: > On 14/05/2021 21:54, Utkarsh Singh wrote: >> On 2021-05-13, 00:08 +0700, Maxim Nikulin wrote: >> >>> Comma is decimal separator for es_ES, de_DE, ru_RU, etc. The point is >>> that order in which separator candidates are tried should depend on >>> active locale. >>> >> I am willing to work on this problem but before this can you identify >> any other locale with similar problem or a resource from where I can >> information's about locale. > > I do not think list of locales should be hard coded. I am not familiar > with elisp enough to tell you if locale properties such as decimal > separator are exposed through some function. I expect, it is quite > probable. As a last measure, some number, e.g. 0.5 or 1.5 could be > formatted using a locale-aware function and result string could be > checked if it contains ",". I will go through the Elisp manual to find solution for this problem. If you now any other better resource fell free to mail me. -- Utkarsh Singh http://utkarshsingh.xyz