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 MHmAMPEA3GIxjAAAbAwnHQ (envelope-from ) for ; Sat, 23 Jul 2022 16:08:49 +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 2L5bMPEA3GIHcQEAauVa8A (envelope-from ) for ; Sat, 23 Jul 2022 16:08:49 +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 405A33B8E8 for ; Sat, 23 Jul 2022 16:08:49 +0200 (CEST) Received: from localhost ([::1]:38142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFFoF-0004P8-V4 for larch@yhetil.org; Sat, 23 Jul 2022 10:08:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFFnU-0004On-VZ for emacs-orgmode@gnu.org; Sat, 23 Jul 2022 10:08:01 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:43930 helo=outgoing.mit.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFFnT-0005cW-2w for emacs-orgmode@gnu.org; Sat, 23 Jul 2022 10:08:00 -0400 Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (authenticated bits=0) (User authenticated as fintel@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 26NE7tUj000937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Sat, 23 Jul 2022 10:07:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1658585277; bh=JHiX/FTSQ5/TLosbyzQeHeS24g9XVnaZEpmphqQ7nvg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kE/PgZd+ghXCpAT3VQIAA2hZAAsq+iNCGZHjryCAASuUxPaHDWo75nkJPgBuvhyat igWH5r0Az6igBDgHx29eT8UKYti7EJp1y5e6OdHfu59QdXelbgtv+DkMJfHn58pd46 4Y4SxE+i6MWI5xBr5BWKW3pFQczs8c89alV2PtuaAH3EvMk4e6qZH3ONnWHlQ0SJFC i1a8uX3ZGtGcmkHR6Aoq7Oyqr0hnqJYnxpN3KukEQEzXmkcNb4v7rtOfRsPUIoVALJ euKhJCDTNw+zTaUUy4c5c0k+O3YVl2fZ9Dif3Y2xx3uVHav4O7mJ5e1Y2FyyIQjvli RihEW4VDPXSPw== Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id ADC2427C0054; Sat, 23 Jul 2022 10:07:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 23 Jul 2022 10:07:55 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvddtgedgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffoffkjghfgggtgfesth hqmhdtredtjeenucfhrhhomhepmfgrihcuvhhonhcuhfhinhhtvghluceofhhinhhtvghl sehmihhtrdgvughuqeenucggtffrrghtthgvrhhnpeeihfdtvdfgvdefueeiheduteeltd egleeihedvtddvkeelheelgfeivdegueduieenucffohhmrghinhepghhnuhdrohhrghen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehfihhnth gvlhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqvddtjeejfeekieehqdej udeileeiqdhfihhnthgvlheppehmihhtrdgvughusehmrghilhifohhrkhhsrdhorhhg X-ME-Proxy: Feedback-ID: ice304092:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 23 Jul 2022 10:07:54 -0400 (EDT) From: Kai von Fintel To: Ihor Radchenko Cc: emacs-orgmode@gnu.org, maciaschain@posteo.net Subject: Re: BUG Re: [PATCH] ox-latex.el: Unify in one single list Babel and Polyglossia languages alists Date: Sat, 23 Jul 2022 17:07:52 +0300 X-Mailer: MailMate (1.14r5852) Message-ID: In-Reply-To: <87pmhw9bfu.fsf@localhost> References: <87pmhw9bfu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=18.9.28.11; envelope-from=fintel@mit.edu; helo=outgoing.mit.edu 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=1658585329; 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=JHiX/FTSQ5/TLosbyzQeHeS24g9XVnaZEpmphqQ7nvg=; b=CL1a9382szFAsJBUcKnUx4IPMy14DB3RgwX0z5HZnpE+5tJkKPwk+2DD3vVIepLAkPc35z ebzpIprP8RwRObO9AndXaIDb4icoxeINNDVlWL1SVy+jON/N9P/s9Vs6QUEt57tblo4qb4 /sgB8xLi+eTkRlbldSGNLRFOo3dcyo6KKPUsYR/18lg3J+qFur2bAcAh0IPGKhyRrXNGaH rZXXyCK8YU1IvapCoTtq+uu9Nnb295wa+YBEcCA1xQQXWli+xu8VoC83l9SLNgnDN1dzmy sPWowLWwj97TF+9BrGCL1hwXrBxh36f9au3hARl+qGvxkXW/Ye841cIcQG/gsA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658585329; a=rsa-sha256; cv=none; b=dbyxHDtFF2TtVkQGCeyqK7u+LAlPcYSoRAYPFAL6YmVdeFvyOpPIom3M8w6LPG7aNahlic Msh2S0qbgi3710pn1gZR0+guXitotaHBKXSANH1djo9EU2lx6jETd+N2fCubeZAL3HRZb9 eLGDoVvZqa3bqdBQFCMyvySG0poB0jRamkr+i6oojSHfaDyb7tBK2PH2edKZRA4wfvI1z+ qX1Bv/5HMQy2WMhjrcNkuzz1z+ZeYBasukNvDqBrXBcUYuR+ZCMMFD3CCE1Gg85C5n8s8r lUYla1KxhLefJGkopFKHpuNry08sC/WH1JpR+wo3wPt39AhsqFDPN0woGQpeKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mit.edu header.s=outgoing header.b="kE/PgZd+"; dmarc=pass (policy=none) header.from=mit.edu; 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: -10.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mit.edu header.s=outgoing header.b="kE/PgZd+"; dmarc=pass (policy=none) header.from=mit.edu; 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: 405A33B8E8 X-Spam-Score: -10.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7lyINW4TQS7Z On 23 Jul 2022, at 16:59, Ihor Radchenko wrote: > Kai von Fintel writes: > >> I believe that that this patch has made it impossible to export to lat= ex, because the function =3Dorg-latex--format-spec=3D in =3Dox-latex.el=3D= still refers to the old variables, which are now not bound: >> >>> Debugger entered--Lisp error: (void-variable org-latex-babel-language= -alist) >>> org-latex--format-spec( > > org-latex-babel-language-alist is the new variable introduced in the > patch. You seem to be loading "mixed" Org versions - built-in + latest.= No, I=E2=80=99m looking just at the HEAD version of =3Dox-latex.el=3D at = https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/ox-latex.e= l The new variable is =3Dorg-latex-language-alist=3D, defined on line 175f.= But, =3Dorg-latex=E2=80=94format-spec=3D, defined on line 1860ff, uses th= e old variable names: (defun org-latex--format-spec (info) "Create a format-spec for document meta-data. INFO is a plist used as a communication channel." (let ((language (let ((lang (plist-get info :language))) (or (cdr (assoc-string lang org-latex-babel-language-alist t)) (nth 1 (assoc-string lang org-latex-polyglossia-language-alist t)) lang)))) This borks my latex exports. =E2=80=94 Kai.