From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CKMSGgt02WL2cAAAbAwnHQ (envelope-from ) for ; Thu, 21 Jul 2022 17:43:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8KjoGQt02WIlJQEAauVa8A (envelope-from ) for ; Thu, 21 Jul 2022 17:43:07 +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 D3BF6BAC3 for ; Thu, 21 Jul 2022 17:43:06 +0200 (CEST) Received: from localhost ([::1]:42684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEYKP-0007Ri-IK for larch@yhetil.org; Thu, 21 Jul 2022 11:43:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEYHB-0002Ze-Pw for emacs-orgmode@gnu.org; Thu, 21 Jul 2022 11:39:46 -0400 Received: from mout01.posteo.de ([185.67.36.65]:33267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEYH9-0003gN-Oz for emacs-orgmode@gnu.org; Thu, 21 Jul 2022 11:39:45 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id AA8C7240027 for ; Thu, 21 Jul 2022 17:39:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1658417981; bh=sht1Soamy47Qu460r8y/sRBxnWPh1SKQZYoJhkdRhl0=; h=From:To:Cc:Subject:Date:From; b=XSqXWOfJm92ds6h0IGTzplttYdbl1XOEjdKR7VCPzUpOGiC1Ddrg2QTRKp7ZZkihC /Udqbi8BTSQTScmUmhm7aG94/47aEe8+3wNLOPrpj4/SnEfGmtwhgjyZ1RVFvTOl83 F9W+I4ifN0zo14f63tNBEMB4z2wZVFmAll3g9hLjPXgj8tzZl5EYE5+KkUbDTldBe+ nG4/M6T6D4OVG161YyxowoKB2VQ3O/LrmlY6bhX3R4wilN0EDJfJcnJ93oOMdksyJT JFGLRGDyMbD0xy1Pwqq2MDQA3DZk0Znft7sCiO4r0Nv1lH0oF3POfMz90Sd1q3SErv lXe1FOAqgtQ8w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LpcFS5Ytlz9rxM; Thu, 21 Jul 2022 17:39:40 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Max Nikulin Cc: orgmode , Ihor Radchenko Subject: Re: [PATCH] ox-latex.el: Unify in one single list Babel and Polyglossia languages alists References: <87sfxiw2jp.fsf@posteo.net> <87czeduxnz.fsf@localhost> <87lesvlvos.fsf@posteo.net> <87bkto83n7.fsf@localhost> <87v8rtno2j.fsf@posteo.net> <87h73c527u.fsf@posteo.net> <87mtd3a2uw.fsf@posteo.net> Date: Thu, 21 Jul 2022 15:39:40 +0000 In-Reply-To: (Max Nikulin's message of "Thu, 21 Jul 2022 21:36:16 +0700") Message-ID: <87wnc6wk3n.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658418187; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pnHW644lG0XFa6lC3fgb4U/tXbPGnGa/yw5h6OM0D48=; b=RGkZ8xbg7+2Mt0Lywm1jKmcDc4RYmC8kSBg1G35TNPNdQ6wN4kJ7AUhZAPgaawEBpnpmYg SoL61zBn4ukoLhzM+qIPsj3l7l/3pOsBY/w6Ur5vcnXbEXx8k7oxY9x7SWS0O5WROrWFwI PZuV/c8DhK3FP/lhcdroaJVAoeTBNNOjx3PMdlcRDYSJBM/OsP92wZ6sVJ4JbSAmlXhFYD gHQWCY+hQG3wBLfTpvqsg+V1+Q/jECRMBEIH+Jqcr9piVzQJZsstBfCMmT1FxRKkOhXQtx yGvQCTSMdAFuVTsbhHaf45m8SXbur/ntKzTiWQOotkaiEoS2M8k70BpNWLqQ6w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658418187; a=rsa-sha256; cv=none; b=lRFHRNSPFF7G9AwULDP8m1JEQaKrbe+HosxhsKXTsVtJtGXiSCNLUMiIs1UrsFaTM4rkij ey3i9wiC7w56UjAOubGNCKhbA1uqaY2WMSqFvwqwLd/0CPm7K0OhL1kBHHvyFsq2wPy72U vryyGNfX6TVHh9+RrMJUPoewMdNWVeRFSz3Y6UGY/OGm/Wx0DWQOudbFZyQvrwwC+hPlbO CuV32mrXFCTSYJiNb5CiSnXd8soF6rJRNCUVJjruQ77ZzYKIUfLJIyvthvIBniyM3Kojfh ysRH1/2rfOtf+Lx7fUUm6lo5LjUm3Nrdc5Ox+Uf+ufr1yZ60UMF2pFC9TIkpyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XSqXWOfJ; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -7.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XSqXWOfJ; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: D3BF6BAC3 X-Spam-Score: -7.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: /29BUDcSojkd Max Nikulin writes: > The commented out command is a kind a hack, but I consider it as > acceptable for advanced users who have custom classes or who need to > compile document without babel (or polyglossia) for some reason. Yes, I think the ability to control this per document is also necessary. I would vote for a custom variable, at the global level (I agree with the options you suggest) and at the document level, to economize, perhaps this would be enough to avoid the code of both babel and polyglossia: #+latex_header: NOLANG (BTW, in the current version of my patch I'm afraid the commit message is malformed, and there's an asterisk where it shouldn't be, apologies). Best regards, Juan Manuel