From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Emacs i18n Date: Tue, 19 Mar 2019 22:40:36 +0200 Organization: LINKOV.NET Message-ID: <87pnqmk523.fsf@mail.linkov.net> References: <87o97aq6gz.fsf@jidanni.org> <871s3p0zdz.fsf@mail.linkov.net> <83h8ckezyt.fsf@gnu.org> <83o96qegv1.fsf@gnu.org> <32b1ab1b-bef4-629a-8830-b1dcc6915087@cs.ucla.edu> <83a7iae9va.fsf@gnu.org> <05ed2dec-2a84-f7dc-1af5-c9d923992785@cs.ucla.edu> <87bm2p56gu.fsf@mail.linkov.net> <838sxrdgco.fsf@gnu.org> <831s3jdbrk.fsf@gnu.org> <507BBC71-4E90-476A-9F1D-E0D7F0EB56C9@gmail.com> <87k1h5w08o.fsf@mail.linkov.net> <1b23d0ff-3998-b795-9895-7320e7028f70@cs.ucla.edu> <87d0mvu6wo.fsf@mail.linkov.net> <87va0htcss.fsf@mail.linkov.net> <87o967yjcf.fsf@mail.linkov.net> <7f5a6a09-9cdf-4522-7eda-4fa0e288563c@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="69820"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: emacs-devel To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 19 22:18:11 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6M7e-000I25-Iy for ged-emacs-devel@m.gmane.org; Tue, 19 Mar 2019 22:18:11 +0100 Original-Received: from localhost ([127.0.0.1]:37414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6M7d-0003jC-El for ged-emacs-devel@m.gmane.org; Tue, 19 Mar 2019 17:18:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6M4v-0001cG-Ug for emacs-devel@gnu.org; Tue, 19 Mar 2019 17:15:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6Lxb-0002w1-EJ for emacs-devel@gnu.org; Tue, 19 Mar 2019 17:07:48 -0400 Original-Received: from bisque.maple.relay.mailchannels.net ([23.83.214.18]:60606) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h6LxY-0002mk-Bh for emacs-devel@gnu.org; Tue, 19 Mar 2019 17:07:47 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 9E08F5C34B3; Tue, 19 Mar 2019 21:07:34 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a70.g.dreamhost.com (unknown [100.96.35.41]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 3C0D75C4308; Tue, 19 Mar 2019 21:07:34 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a70.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.3); Tue, 19 Mar 2019 21:07:34 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Chemical-Abortive: 60a2bf7a253e180c_1553029654412_1501780178 X-MC-Loop-Signature: 1553029654411:2436901909 X-MC-Ingress-Time: 1553029654411 Original-Received: from pdx1-sub0-mail-a70.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a70.g.dreamhost.com (Postfix) with ESMTP id C596780639; Tue, 19 Mar 2019 14:07:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=soVL1b /Ud582LlcXgMxj7gCxJ/0=; b=u2h6edcw4ngaK9a53ykrQ2M1xDRF0YOXDDE5YV tAmFtNxP9k/PRoUJi6FpvJCyAFeszgVtsRWWS2htG3vLvdYPUFD/dawi2w4ZHa/a 5HuWjTqCDDMHZd/VVlKIw5SZdXAZyi8bPksqqCgXhA8uw+WdcxZI09du5vQ+BgFz rryYc= Original-Received: from mail.jurta.org (m91-129-106-13.cust.tele2.ee [91.129.106.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a70.g.dreamhost.com (Postfix) with ESMTPSA id 6A7C380620; Tue, 19 Mar 2019 14:07:31 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a70 In-Reply-To: <7f5a6a09-9cdf-4522-7eda-4fa0e288563c@cs.ucla.edu> (Paul Eggert's message of "Mon, 18 Mar 2019 14:55:44 -0700") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrieeggddugeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtiedrudefnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtiedrudefpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepvghgghgvrhhtsegtshdruhgtlhgrrdgvughunecuvehluhhsthgvrhfuihiivgeptd X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 23.83.214.18 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:234380 Archived-At: >> =E2=80=98format-message=E2=80=99 should check if its first argument is= translated, >> and not to call gettext again. >> > I'd rather not involve dynamic checking like that, as it's fragile and > more complicated to explain and a bit slower. format-message should > either always translate, or never translate. In practice, it'll be more > convenient for format-message to always translate, so I expect we shoul= d > do it that way. I see this as a kind of optimization. But I don't know if it is necessar= y until trying how fast gettext is on very large translation files (if it hashes translations strings then should be fast enough).