From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 UHlxC0Kd2mK6GAAAbAwnHQ (envelope-from ) for ; Fri, 22 Jul 2022 14:51:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iCeLC0Kd2mLGggAA9RJhRA (envelope-from ) for ; Fri, 22 Jul 2022 14:51:14 +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 C2B55C696 for ; Fri, 22 Jul 2022 14:51:13 +0200 (CEST) Received: from localhost ([::1]:36654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEs7c-0006Vp-1s for larch@yhetil.org; Fri, 22 Jul 2022 08:51:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEs6d-0006Uj-3F for emacs-orgmode@gnu.org; Fri, 22 Jul 2022 08:50:11 -0400 Received: from mout02.posteo.de ([185.67.36.66]:60235) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEs6Y-0001Bu-7I for emacs-orgmode@gnu.org; Fri, 22 Jul 2022 08:50:10 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 06E44240108 for ; Fri, 22 Jul 2022 14:50:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1658494201; bh=j0VY3S1dH54Pn9TS1aZfF6Iaj+drlb5Q++i2oQrIBO0=; h=From:To:Cc:Subject:Date:From; b=W+WkHSumcdBZHVRPzLFtMimRSXNCZm1qgrjSn+MYl9W6oOj1Xth/HFYfuyvgb1Se5 6ZnsFLZAxQ9TsVUPd6pNDWOd9Upy7/lnawZA27tDMM/DucVhQ9m2AkB5+uJUKGBxqK 4XL1mjPxRgLIkAzTfKZJ944Ft524FY9gpYSOtRRMePu9aOklaUhVA8POhcV/uU5zwE yuYx8K7oZKvAXWNWvMpbyl/WmGE78CCjljStZd83vdwdZZ/utQITHKjbV9dW8r/uhN 6+XJ6GhnVA50COlXTDqx5g57iqWCW1Fn25Sb8mmn9Q6/V8e1RS/9nOAmAYb1i3xPos hvsT++X7p4L3w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Lq8R903gqz6tm9; Fri, 22 Jul 2022 14:49:56 +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> <87wnc6wk3n.fsf@posteo.net> Date: Fri, 22 Jul 2022 12:49:54 +0000 In-Reply-To: (Max Nikulin's message of "Fri, 22 Jul 2022 19:16:44 +0700") Message-ID: <87v8rp48i5.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain 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_H2=-0.001, 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=1658494274; 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=7TYwY2I6ywguAXRQcdeQFODKMMKzw+zhdAmKPtZhVnc=; b=jBbVFHTs+PWA1eumLmzINwEgVpGMvhWfzUZ0AiRTEOcBmCme87mNYUzef5mlmlQ1/dt44l oNswv7MsjzDG4giRP6SnliOMJ0aIzzlv7FWJO+7r2OFERwyoFZUmo5d8xl1OvyBlMCe0tc +TOpjEis4v/ph1D727wLxmaVWMkRamO813mc/0kb0JsXvxR6ZsLLQXaMx0DTqVsdLxQ9sO JE1YkVkuU+jEv/SxzyfvFjjGeSKQi9nFHJ1HO+X5K1Wbv9EBebesBTTWwt1NawTUqpnvKv sUG10HAaSHH9LhaOt76ilswuYLCV4AJNtS0DYyNALKcetOenoeeIUep2szsYsg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658494274; a=rsa-sha256; cv=none; b=cALr6bFCcqGYe7w/pKfzTGMF6ouLI63rMVbyhRbc8lmHJUrfIQrIDT1WMEEQxuUFYxaUJI jQn1BHYfC/hNOdCjUbIMUwljhAog1NuDamYlFcWNTV8BUyy23pqYV43LvCzgtIeTe2g0MU 7vKDqFuDcQxS+jqveftm6K1/H4fVYkt42/7Se2185jvBXcFD6lXxvI7qt32h+oJXJu4vFa 0KvEmPHe+89cxcAzXav+hPSPt2uTLNGT6iZuaFHslcvvQCfrx1B0wK6V8pxuupU3cSHX9h neMneng6QEieo74VgAN3N2o6QVpHj8+QbrQk8yYfZErhLDnnP/UN2Y9vcEt0GA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=W+WkHSum; 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: -6.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=W+WkHSum; 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: C2B55C696 X-Spam-Score: -6.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: S7SCb0MQeE0p Max Nikulin writes: > Form my point of view it is unnecessary magic. Originally #+latex_header > is intended for valid LaTeX code OK, so why not just: #+latex_header: % NOLANG ? I think this has in its favor: a) it is simple and obvious to remember; b) it's a single string, and of course c) it's valid LaTeX code. And it can be easily controlled from org-latex-guess-babel/polyglossia-language with a conditional. Anyway, whatever the choice, I would vote for Org not to load babel or polyglossia by default, and for the default option of the custom variable that handles that globally to be nil. For example, I'm in the group of users that load babel using an external preamble (a .tex or a .sty file or a 'latex-class'), and frankly I don't want to have to add a new line to all my documents to prevent Org from reloading babel for me and return an error on the compilation. Best regards, Juan Manuel