~protesilaos/modus-themes

1

[Bug?] Headings override doesn't work any more

Marko Kocic <m@euptera.com>
Details
Message ID
<35588839.256749.1673272214728@office.mailbox.org>
DKIM signature
missing
Download raw message
Hi everyone,

After upgrading all my elpa packages to the latest version, looks like heading style overrides are not working any more.

My modus config looks like this:

(use-package modus-themes :ensure t
  :init
  (setq modus-themes-headings '((t . (regular))))
  :config
  (if (display-graphic-p)
      (load-theme 'modus-operandi :no-confirm)
    (load-theme 'modus-vivendi :no-confirm)))

My intention here is that all my headings are regular, and nothing is bold, italic, underlined, ...

Previously, this was enough to override headings in org-agenda to not have bold anywhere in today's tasks. After the upgrade to the latest modus-themes, I see bold agenda entries instead.

I read in the changelog and docs that modus-themes-headings customization changed, but this should still work, since I'm not changing colours.

Am I doing something wrong, or is this customization not supported any more.

Regards,
Marko
Details
Message ID
<87k01vwzrt.fsf@protesilaos.com>
In-Reply-To
<35588839.256749.1673272214728@office.mailbox.org> (view parent)
DKIM signature
missing
Download raw message
> From: Marko Kocic <m@euptera.com>
> Date: Mon,  9 Jan 2023 14:50:14 +0100
>
> Hi everyone,

Hello Marko,

> After upgrading all my elpa packages to the latest version, looks like
> heading style overrides are not working any more.
>
> My modus config looks like this:
>
> (use-package modus-themes :ensure t
>   :init
>   (setq modus-themes-headings '((t . (regular))))
>   :config
>   (if (display-graphic-p)
>       (load-theme 'modus-operandi :no-confirm)
>     (load-theme 'modus-vivendi :no-confirm)))

This looks correct.

> My intention here is that all my headings are regular, and nothing is
> bold, italic, underlined, ...
>
> Previously, this was enough to override headings in org-agenda to not
> have bold anywhere in today's tasks. After the upgrade to the latest
> modus-themes, I see bold agenda entries instead.

The only explanation I can give is that some older version of the themes
is installed where 'modus-themes-headings' does not apply to the Org
agenda.

Do you install the package from GNU ELPA?  It is still at version 3
because of some build failure there.  I have not had the time to
investigate it.

> I read in the changelog and docs that modus-themes-headings
> customization changed, but this should still work, since I'm not
> changing colours.
>
> Am I doing something wrong, or is this customization not supported any
> more.

Your configuration is correct.  It must be an older version of the
package.

If so, I will try to fix GNU ELPA as soon as possible.

All the best,
Protesilaos (or simply "Prot")

-- 
Protesilaos Stavrou
https://protesilaos.com
Reply to thread Export thread (mbox)