Closed viktordoronin closed 4 months ago
Hello there @viktordoronin! Thanks for reaching out!
Could we try something a little cleaner for our tests?
I just opened Emacs with only auto-dark
installed on Windows 11.
I opened my config via C-x f
and path ~/.emacs
.
And added this:
(custom-set-variables
'(package-selected-packages '(auto-dark)))
(custom-set-faces
)
(setq auto-dark-polling-interval-seconds 2)
(setq auto-dark-dark-theme 'tango-dark)
(setq auto-dark-light-theme 'tango)
(auto-dark-mode t)
I usually enable auto-dark-mode
after setting the desired values. See if it makes any difference for you please.
Starting Emacs with Dark mode or switching it on Windows did work:
I know from experience Emacs can get a bit sentimental with theme selection, If you could please use my "minimal setup" above, run M-x customize-themes
unselect all themes, unselect "Select more than one theme at a time", save the settings and restart Emacs and let me know what happens, that would be great :)
Sorry for the late reply - yeah this seemed to work. Kind of weird since it worked on Linux exactly how I wrote it.
No problem! Glad to hear it worked!
Upon enabling the package, Emacs' theme gets set to "wombat" regardless what I actually have set in the init file. Commenting out lines that enable
auto-dark-mode
fixes the issue. So far Iload-theme
my theme after enabling the package but then both my theme and "wombat" end up being enabled, so I have todisable-theme
"wombat" too.My init file(just the relevant bits):
GNU Emacs 29.2 (build 2, x86_64-w64-mingw32) of 2024-02-01(insert (emacs-version)) OS Name: Microsoft Windows 11 Education OS Version: 10.0.22621 N/A Build 22621