From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aBZ2M14JN2Q9LgAASxT56A (envelope-from ) for ; Wed, 12 Apr 2023 21:41:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cBizMl4JN2RR1AAAG6o9tA (envelope-from ) for ; Wed, 12 Apr 2023 21:41:18 +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 9C456147B3 for ; Wed, 12 Apr 2023 21:41:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmgKM-0005a4-Pd; Wed, 12 Apr 2023 15:40:22 -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 1pmgKL-0005Zu-P3 for emacs-orgmode@gnu.org; Wed, 12 Apr 2023 15:40:21 -0400 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmgKK-0006DE-6y for emacs-orgmode@gnu.org; Wed, 12 Apr 2023 15:40:21 -0400 Received: by mail-pj1-x102c.google.com with SMTP id f2so4188736pjs.3 for ; Wed, 12 Apr 2023 12:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681328418; x=1683920418; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=g/69UllNRN4Rd9tIYdMbEuwW/7oGcHnXoNVADV9xR0I=; b=jxwREfezNtYLU83K2FBgfGrLjPNhKIwFv2bU28iMKs6xjcGLnQdXEtEGATUxynkq1G vBzbqIbS/DvGdreHbhE4HB2ruRvhykqsDy8OpvQ3Eq8HknMwZsFYq6PiZaJe3mv09DPs VvfiQzwwL5MQNYPDCcKo5u6OrTAdml4V0jqpli2pSR5rVhNimilHn1bVW1jZM6vrA/Nb ui5iC/Q+tK+VqzKrfdSCceo1UPSaoNFsnPhl45Wu6eq3p9mVccKFtnj0lqQVShWl24u3 nR5A4TDPV9ijMEmzEqAVOesLKqH9CHkJutE+dZZB6P475v7sGcUbIzQd6tATTEx7bEFU FxPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681328418; x=1683920418; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=g/69UllNRN4Rd9tIYdMbEuwW/7oGcHnXoNVADV9xR0I=; b=K5Yn4HAIpaYx0lAn+IQGMPd835ZI9gaZmxVjRrpSRWGfwbx08V4r48w1udHH+twgfg O6050ow1jMxIR2kc7d7V+TDbqD2i6Y5N0nMHTEIiA8niNzr6hOoSq5qqXGOqkMFvC4Hl kIjYB8Bsxvbcu9J/nXWtHGeAtPncriEGX/BnVHOQoDJhVlKrccaA7/19CywBPSkAAgMR GFGKHaukw0VSpen47W4n4m3dNkhRKkIgREh5NUTXJ9x1l9BChbv6CHoqV6LsBAVW9Mum oVg8qghcZwFZEsYusWCa8YcciC2ixTcaseqrdVvRTStEdtuwyk7guHby0LppPBXaM9qy 0HZg== X-Gm-Message-State: AAQBX9fYRWUmDC3KWD7V7Jj84gJT6f2BFGhw44IqGNO6D72ni0esLhzb m4KnCc5y6TBflIW/1YCwXx5ighNOwXdOTwo9S6FogEHNtHX6mQ== X-Google-Smtp-Source: AKy350a2D0aQZt+RehTdsjTCeliWecvYseyG+szwor5pCAE43Qf1HGfDP6CYqSdZ5oYj+Q/cbENrjcxWcnyrSThLcXQ= X-Received: by 2002:a17:90a:1a0b:b0:233:ee67:8eb3 with SMTP id 11-20020a17090a1a0b00b00233ee678eb3mr23054141pjk.24.1681328417507; Wed, 12 Apr 2023 12:40:17 -0700 (PDT) MIME-Version: 1.0 From: Gustavo Barros Date: Wed, 12 Apr 2023 16:40:06 -0300 Message-ID: Subject: [BUG] org-latex-packages-alist type specification [9.6.3 (release_9.6.3-2-gf2949d @ /usr/local/share/emacs/29.0.90/lisp/org/)] To: org-mode list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=gtvbrs@gmail.com; helo=mail-pj1-x102c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681328478; a=rsa-sha256; cv=none; b=ev/kfa9NEZwl/MqQeSHGs8FECaPbwYeW/gjRIGNDDXNuebq2twx51fzp+h5ewLfNnzaJf/ orGFMtGMPy68QvtwYzaDnTRzbtfS+5wr3P/LzeuDEBzyih/AI8YkgPQXOlKESZmsPe4gQa 6WikE+JU+BDzr9yPvl1rvZV1gy6wMaeHrHINn0XSd+P9/d1mBGgk5gWU8Tslvmqow0yF7m oJ8MERDtGFZ+H0MURcErbYC7wga+E3oRZ1ozXXVAXDt3KMq1V1ZLyZXieoa32vQ6QLr9+A 3B3Szp6piOWvSqs+Lf+7lFw+dXVtYlpSJ/QzhNPHCHjeF5ZsPrVijWqzo/Z98Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=jxwREfez; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681328478; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=g/69UllNRN4Rd9tIYdMbEuwW/7oGcHnXoNVADV9xR0I=; b=LoZjl1C9x99hwSDfraZrBiJp/cEYoyZoca/iAiZl/NXXBvp9PBo3OCgeaevVvJU/agKwBc eDYNN79LzXwiyDfV/UpuZtVJSSGB/gTV0EYpb0t1poDFhDByG3Z92F4R1wg5CKB38EJvp1 U/I4Fg+qTo3HNnWh8bvAmFQiGrhfClJtMjYH9Ulc5/LApFTjK1MO3qWsKctWAMsLCcPRVB p5wVssIZYchu08cO1308w+hxKwh+Qs0vVczMIDte/WRE6MwXzkzgQ30vC367tGwkQClvMO 5G8lQxrwqK6ywccoO3+177pFV60NOdqyVFvsl0zlwt17qQvfSjF70LSwHlramg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.45 X-Spam-Score: -6.45 X-Migadu-Queue-Id: 9C456147B3 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=jxwREfez; 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=gmail.com X-TUID: SIJ2FVg7rg9l Hi All, I'm testing here the new pretest for Emacs 29, and I noticed a small problem in the type specification of the `org-latex-packages-alist' defcustom. The docstring states that each element of the alist is composed of up to four elements, but the type specification comprises just the first three. So, if you use the new `setopt' to set it, and the variable includes something like `("AUTO" "babel" t ("pdflatex"))', you get a warning somewhat like: #+begin_example Warning (emacs): Value =E2=80=98(("final" "microtype" nil) ("" "soul" t) ("= " "booktabs" nil) ("AUTO" "babel" t ("pdflatex")) ("autostyle" "csquotes" nil) "\\MakeAutoQuote{=E2=80=9C}{=E2=80=9D}" ("" "enumitem" nil) "\\setlistdepth{8}" "\\renewlist{itemize}{itemize}{8}" "\\setlist[itemize,1,5]{label=3D\\textbullet}" "\\setlist[itemize,2,6]{label=3D$\\circ$}" "\\setlist[itemize,3,7]{label=3D\\textasteriskcentered}" "\\setlist[itemize,4,8]{label=3D{\\normalfont\\bfseries \\textendash}}")=E2=80=99 does not match type (repeat (choice (list :tag options/package pair (string :tag options) (string :tag package) (boolean :tag Snippet)) (string :tag A line of LaTeX))) #+end_example Some testing here shows the offending entry is the one with the fourth element, that of `babel'. Best regards, Gustavo. Emacs : GNU Emacs 29.0.90 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2023-04-10 Package: Org mode version 9.6.3 (release_9.6.3-2-gf2949d @ /usr/local/share/emacs/29.0.90/lisp/org/)