GNU bug report logs - #67815
Commit dcd755dabcf9ef95d6d0534c11c668f44c6f89c2 kills org-beamer-export-to-pdf

Previous Next

Package: emacs;

Reported by: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>

Date: Wed, 13 Dec 2023 19:42:02 UTC

Severity: normal

Merged with 67827

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67815 in the body.
You can then email your comments to 67815 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#67815; Package emacs. (Wed, 13 Dec 2023 19:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 13 Dec 2023 19:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Commit dcd755dabcf9ef95d6d0534c11c668f44c6f89c2 kills
 org-beamer-export-to-pdf
Date: Wed, 13 Dec 2023 20:40:05 +0100
[Message part 1 (text/plain, inline)]
;; org-export.el
(require 'org)
(require 'python)
(python-shell-prompt-detect)
(setq org-src-preserve-indentation t
      org-src-fontify-natively t
      org-export-latex-listings t
 org-latex-listings 'listings
      org-latex-prefer-user-labels t
      org-confirm-babel-evaluate nil
      org-cite-export-processors nil
;     org-cite-export-processors '((beamer . biblatex)
;                                  (latex .  biblatex))
      org-cite-biblatex-options

"backend=biber,style=numeric,sorting=none,isbn=false,doi=false,url=true"
      ;; Make sure you have bibtex integrated in the production loop
      org-latex-pdf-process
        '("latexmk -bibtex -pdflatex='pdflatex --shell-escape
--interaction=nonstopmode' -pdf -f %f")
        org-babel-python-command (executable-find "python3"))
(add-to-list 'org-latex-packages-alist '("" "listings"))
(org-babel-do-load-languages  'org-babel-load-languages
                              '((python . t)
                                (shell . t)))

command:

emacs -Q -l export-beamer.el --batch flat.org --eval
'(org-beamer-export-to-pdf)'

error produced

File mode specification error: (error Invalid face box :line-width 1 :color
grey40)

Previous commit (a91185211924f65adf7c1376b7f2d710099a5903) produces the PDF
file


-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet
[Message part 2 (text/html, inline)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Thu, 14 Dec 2023 07:11:02 GMT) Full text and rfc822 format available.

Notification sent to Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>:
bug acknowledged by developer. (Thu, 14 Dec 2023 07:11:02 GMT) Full text and rfc822 format available.

Message #10 received at 67815-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>,
 Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 67815-done <at> debbugs.gnu.org
Subject: Re: bug#67815: Commit dcd755dabcf9ef95d6d0534c11c668f44c6f89c2 kills
 org-beamer-export-to-pdf
Date: Thu, 14 Dec 2023 09:09:42 +0200
> From: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>
> Date: Wed, 13 Dec 2023 20:40:05 +0100
> 
> command:
> 
> emacs -Q -l export-beamer.el --batch flat.org --eval '(org-beamer-export-to-pdf)'
> error produced
> 
> File mode specification error: (error Invalid face box :line-width 1 :color grey40)

In fact, just loading ox-beamer.el produces the same error.

> Previous commit (a91185211924f65adf7c1376b7f2d710099a5903) produces the PDF file

It's a bug in org-beamer.el.  It defines that face incorrectly:

  (defface org-beamer-tag '((t (:box (:line-width 1 :color grey40))))
                                                           ^^^^^^
"grey40" should be a string, not a symbol.

This bug is already fixed in Org on the emacs-29 release branch, so it
will be fixed soon on master as well, when we next merge emacs-29 onto
master.

I'm therefore closing this bug.

P.S. In general, whenever any errors pop up due to the above commit,
it is almost certainly a bug in the face definition (which previously
went unnoticed), so people should first and foremost look at the face
definition, because more often than not, there's a real bug there.




Forcibly Merged 67815 67827. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 14 Dec 2023 16:57:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 67827 <at> debbugs.gnu.org and Niels Søndergaard <niels <at> algon.dk> Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 14 Dec 2023 16:57:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 12 Jan 2024 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.