all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gustavo Barros <gusbrs.2016@gmail.com>
To: org-mode list <emacs-orgmode@gnu.org>
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/)]
Date: Wed, 12 Apr 2023 16:40:06 -0300	[thread overview]
Message-ID: <CAM9ALR-uZmSO-CKOSfu2Bgp=xpMQaf0ErBqyU=XD4__WmJPKXg@mail.gmail.com> (raw)

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 ‘(("final" "microtype" nil) ("" "soul" t) (""
"booktabs" nil) ("AUTO" "babel" t ("pdflatex")) ("autostyle"
"csquotes" nil) "\\MakeAutoQuote{“}{”}" ("" "enumitem" nil)
"\\setlistdepth{8}" "\\renewlist{itemize}{itemize}{8}"
"\\setlist[itemize,1,5]{label=\\textbullet}"
"\\setlist[itemize,2,6]{label=$\\circ$}"
"\\setlist[itemize,3,7]{label=\\textasteriskcentered}"
"\\setlist[itemize,4,8]{label={\\normalfont\\bfseries
\\textendash}}")’ 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/)


             reply	other threads:[~2023-04-12 19:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-12 19:40 Gustavo Barros [this message]
2023-04-13  5:12 ` [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/)] Ruijie Yu via General discussions about Org-mode.
2023-04-13 11:26   ` Ihor Radchenko
2023-04-13 11:30     ` Ruijie Yu via General discussions about Org-mode.
2023-04-19  9:48       ` Bastien Guerry
2023-04-22 13:29         ` Ihor Radchenko
2023-04-20  8:53       ` Ihor Radchenko
2023-04-20  9:28         ` Ruijie Yu via General discussions about Org-mode.
2023-04-22 13:30           ` Ihor Radchenko
2023-04-22 13:35             ` Gustavo Barros

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM9ALR-uZmSO-CKOSfu2Bgp=xpMQaf0ErBqyU=XD4__WmJPKXg@mail.gmail.com' \
    --to=gusbrs.2016@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.