emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: Re: Strange behaviour detected today
@ 2024-03-11 17:54 Pedro Andres Aranda Gutierrez
  2024-03-11 22:53 ` Detlev Zundel
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2024-03-11 17:54 UTC (permalink / raw)
  To: dzu; +Cc: Org Mode List

[-- Attachment #1: Type: text/plain, Size: 1915 bytes --]

Hi,

> Message: 15
> Date: Mon, 11 Mar 2024 13:53:38 +0100
> From: Detlev Zundel <dzu@member.fsf.org>
> To: emacs-orgmode@gnu.org
> Subject: Re: Strange behaviour detected today
> Message-ID: <87bk7l53ql.fsf@member.fsf.org>
> Content-Type: text/plain; charset=utf-8
>
> Hi,
>
> > Thanks a ton. I could bisect the issue and filed a bug yesterday. It
> > seems to be the same commit that broke the themes.
>
> May I ask what the outcome of all this was?  I am now seeing the same
> problem with Emacs from master as of today and wonder about the best way
> to solve this in the short and long term.
>
> Thanks in advance
>   Detlev
>
> [...]
>
> >  On Wed, 13 Dec 2023 at 15:57, William Denton <wtd@pobox.com> wrote:
> >
> >  On 13 December 2023, Pedro Andres Aranda Gutierrez wrote:
> >
> >  > I've recompiled emacs master today and when I try to export an org
> >  > presentation to latex and I get the following error:
> >  >
> >  > Exporting to LaTeX [class: beamer]...
> >  > set-face-attribute: Invalid face box: :line-width, 1, :color, grey40
> >  >
> >  > This happens when calling
> >  >
> >  > (org-beamer-export-to-latex)
> >  >
> >  > both from emacs in interactive and in batch mode.
> >
> >  Is that perhaps related to commit
dcd755dabcf9ef95d6d0534c11c668f44c6f89c2, "Fix
> >  validation of :box face attribute"?  It caused similar errors in
solarized-theme
> >  (for example this bug¹).
> >
> >  Bill

Just for the record. The root cause for this problem is a :color definition
with is not a string.
So find the offending face definition and make sure the :color is a string,

Best, /PA
-- 
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

[-- Attachment #2: Type: text/html, Size: 2800 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Strange behaviour detected today
  2024-03-11 17:54 Re: Strange behaviour detected today Pedro Andres Aranda Gutierrez
@ 2024-03-11 22:53 ` Detlev Zundel
  0 siblings, 0 replies; 2+ messages in thread
From: Detlev Zundel @ 2024-03-11 22:53 UTC (permalink / raw)
  To: emacs-orgmode

Hi Pedro Andres,

[...]

> Just for the record. The root cause for this problem is a :color definition
> with is not a string.
> So find the offending face definition and make sure the :color is a string,

Thanks for that useful tip which helped me to find the problem.  Indeed
I was still using org-mode in a local straight repository checkout
predating this fix in upstream:

  https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=65def05f6c6f7ce706a0116ad666c86eb0ecdae2
  
  lisp/ox-beamer.el: Fix face definition
  * lisp/ox-beamer.el (org-beamer-tag): Fix face definition.

Updating my local repo fixed it.

Thinking about it, I probably should stop using straight at all for
org-mode, as I seem to update Emacs more often lately than the straight
repos.  In this setup the old checkout from straight shadowed the
correct code in upstream Emacs.  Another interesting way to shoot my own
foot :/

Thanks!
  Detlev



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-11 22:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-11 17:54 Re: Strange behaviour detected today Pedro Andres Aranda Gutierrez
2024-03-11 22:53 ` Detlev Zundel

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).