From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aHdXMsNK/GTDIwEAauVa8A:P1 (envelope-from ) for ; Sat, 09 Sep 2023 12:36:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aHdXMsNK/GTDIwEAauVa8A (envelope-from ) for ; Sat, 09 Sep 2023 12:36:51 +0200 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 685B05F9CB for ; Sat, 9 Sep 2023 12:36:51 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WqpyrnUO; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694255811; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=IldASUuvulCmS3VZpDkNngaRbaB+8yplRFsYAVb8zzw=; b=mKirZYugJCHne1OU6NPmM3rBw07pLgCsSAUzJKMKh0sJKVeIRpZNFt/ZUOQiJ8pz31hDQ5 kzU8G0XoKUhBYSBMCyIY4OvcVH1Iz7jQAzyaxPRE+drs7BiSwsBjBBr/z5QmWPJc5l4JpH wHCkeKqawbB+eivBTI7jvRrrs7LJowM28a6SzmxO/I+GIi2GRJ3IC3+MlqsxkuO5iyPknK D7QpWMoD0jzMFq0diYdN4srvJNJUxosZdXCQLKDpUBzrE02AI9PlxM0UmAOhLOqS0TBgD1 Q155yeVES87ODyc+Tn3uVuVsJ0uMu3Rnoj/yXtM7NBmpsc1f3Uaz1LpUEZy6CQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WqpyrnUO; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694255811; a=rsa-sha256; cv=none; b=UYcg/KPS3A9bEurgWV1CrDGdAXHRUr9MYxjqAi3v/t5ywOb8CShf8eCLI38cGgAfwNWutF 5NdEb3pR2MQRVQEx/Mh6FMMMeyowcq1SMzZwdWnUxPfReULnbBVDyIXW5u6waa72ppvaih A8JnRIWQ5TkJ9FGzcCPZ4H4yDYMNfgIjy7mRigFll7nVsxddxEhMtUgfd6c3Mn/UccYFUj PTSbdr6aA/9nFkIYsllT+UyyFS9c39L2U6vh/EdFnSgr4F7UTqHc6yW14GUd8itxm6RNPf Mxy1Y8Olh9JakqshyGGXJMQZzAEt4Df2m45lKH3XCAhHhZMMVAQbz6nQZL+MQw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qevK1-0001yB-T3; Sat, 09 Sep 2023 06:36:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qevK0-0001xo-JS for emacs-orgmode@gnu.org; Sat, 09 Sep 2023 06:36:12 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qevJy-0006EO-6h for emacs-orgmode@gnu.org; Sat, 09 Sep 2023 06:36:12 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6ABA7240104 for ; Sat, 9 Sep 2023 12:36:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694255766; bh=IldASUuvulCmS3VZpDkNngaRbaB+8yplRFsYAVb8zzw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=WqpyrnUOxLwNhyzrMyBxhdqVNE8iQlV76O34cZ+VjL0JAVoTTaZo5NFgqVcvEqJIy 6erqquAd5w5NReaMQGWMQ/oxMV9GS3XEPe4sTzwaXevTttPo8XbtSKMSntmjhiCGJQ izQiHcBUeK9uWtL3SYyOfesMaSRiaVRPMH5De7rOBFY7Q1oaIe3sMnn+J1iu+WcSwJ uewTi8Ma/nhAvNQSNJuMAb8tWVr32B6uPfwmpDqULbfkoweOa44NhpsnTuOGIGIF3g RS83jxxA28LMRVNM9qW2OM9tPM3fahZbkKg3aYtM/JxLLYoVOvlD9B0GGcTr1CxykL hWbMk5QG/qI+g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RjTsd6V2Qz6tm4; Sat, 9 Sep 2023 12:36:05 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Ihor Radchenko Cc: emacs-orgmode@gnu.org, Max Nikulin Subject: Re: [patch] Fixes and improvements in org-latex-language-alist In-Reply-To: <87tts37lsx.fsf@localhost> (Ihor Radchenko's message of "Sat, 09 Sep 2023 09:11:58 +0000") References: <87v8cneyfu.fsf@posteo.net> <87edjanqxb.fsf@localhost> <87o7ieukum.fsf@posteo.net> <877cp0ybdg.fsf@posteo.net> <8734zoxzd0.fsf_-_@posteo.net> <87tts37lsx.fsf@localhost> Date: Sat, 09 Sep 2023 10:36:03 +0000 Message-ID: <87msxvzl9o.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 685B05F9CB X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -4.63 X-Spam-Score: -4.63 X-TUID: pbbTEMSyhAwv Ihor Radchenko writes: >> I don't know if it's a valid path to allow the car of each element to >> also be a list of languages codes, but I couldn't think of a better >> solution for the "de"/"de-de" cases. A similar case is in Chinese >> Simplified (new language added), where the possible language codes are >> zh and zh-cn, if I'm not wrong. > > I am not sure if making a breaking change to public constant is the best > approach. > What about simply adding an extra entry: > ("de" ....) > ("de-de" ) > ? At first I had done it with extra entries, but I was wondering if there wasn't a more "economical" way... If you don't mind having extra entries with identical plists, then I do it that way. After all, there are only two cases (Chinese and German). --=20 Juan Manuel Mac=C3=ADas https://juanmanuelmacias.com https://lunotipia.juanmanuelmacias.com https://gnutas.juanmanuelmacias.com