Skip to content

Automatic updating exports wrong background color under emacsclient #9

Description

@jcaw

Problem

When using emacsclient with emacs --daemon as the server, automatic theme exporting stops working. The wrong background color is extracted. Here's an example of what happens when theme-magic-export-theme-mode is active and the theme is changed to zenburn:

Mismatched background color example

To the top right, wal has a preview of the current colors. Color0 (the background color) is not the only color affected, but it is the most dramatic.

Manual theme exporting still works.

Possible Cause

What seems to be happening is the default face isn't setting its background color until after theme-magic's advice is processed, but this only happens to emacsclients. (I don't currently know what would cause that.)

This may be related to the server running as a terminal-based Emacs. I don't know how that architecture works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions