Skip to content

background mode/color, foreground color incorrect after modus-themes-toggle  #120

@shipmints

Description

@shipmints

This is Emacs 29.4. I haven't yet tried it on an Emacs 30 build and latest ELPA modus-themes-20241028.849.

Starting with vivendi from a clean restart.

image

M-x modus-themes-toggle to operandi.

image

Now M-x make-frame with operandi in effect. The new frame is screwed up.

image

I've added this stanza to solve the issue.

    ;; these parameters are not correctly copied by make-frame.
    (add-to-list 'frame-inherited-parameters 'background-mode)
    (add-to-list 'frame-inherited-parameters 'background-color)
    (add-to-list 'frame-inherited-parameters 'foreground-color)

Now after the toggle, the new frame looks fine:

image

FYI, clone-frame works fine but not make-frame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    external bugNot a problem with the modus-themes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions