Closed marceloexc closed 6 months ago
this might be helpful too
$ ./doom --version
GNU Emacs v29.1 nil
Doom core v3.0.0-pre HEAD -> master 03d692f1 2023-12-08 15:11:45 -0500
Doom modules v23.12.0-pre HEAD -> master 03d692f1 2023-12-08 15:11:45 -0500
Copyright (c) 2014-2022 Henrik Lissner.
Sorry, it might be nooby question. I only installed doom-emacs yesterday
Hello there!
Nice, let's try some stuff:
1.) Did you check the README for the notes on installing it with Doom Emacs? https://github.com/LionyxML/auto-dark-emacs?tab=readme-ov-file#doom-emacs
2.) I see you're under macOS. How did you installed it? We strongly recommend you use "emacs plus" formulae, since it provides a faster method of detection, if not, you need to set OSAScript support, allow Emacs to run scripts and other stuff.
If you could just try Emacs Plus Formulae, it would be great:
brew install \
--ignore-dependencies \
emacs-plus \
--with-native-comp \
--with-xwidgets \
--with-imagemagick \
--with-mailutils \
--with-poll \
--with-no-frame-refocus
All --with are optionals, I just pasted what I usually call to install Emacs on MacOS.
Let me know how it goes.
@LionyxML please see - https://www.reddit.com/r/emacs/comments/19bf6sj/please_help_me_understand_why_modus_themes_are/
i am quoting this from reddit -
This is a bug in auto-dark, which calls ns-do-applescript exclusively. On the emacs-mac (Carbon) port, the command is mac-do-applescript. auto-dark can tell which build it's on using window-system, which is either ns or mac. Please report this.
@marceloexc try to enable '(auto-dark-allow-osascript t)
. should work for you.
@CsBigDataHub thanks for pointing (setq auto-dark-allow-osascript t)
, this somewhat "older" method is a bit slower as it depends on a pooling timer, but if set, can be used in a wider variety of emacs ports for macOS.
Regarding your post on Reddit, I like the idea of supporting more macOS Emacs ports. Could you provide me with the installer for your port of Emacs (Carbon Emacs)?
@CsBigDataHub thanks for pointing
(setq auto-dark-allow-osascript t)
, this somewhat "older" method is a bit slower as it depends on a pooling timer, but if set, can be used in a wider variety of emacs ports for macOS.Regarding your post on Reddit, I like the idea of supporting more macOS Emacs ports. Could you provide me with the installer for your port of Emacs (Carbon Emacs)?
I allowed Emacs to access system events and the problem fixed
Go to and toggle on:
Settings -> Privacy & Security -> Emacs -> System Events
@CsBigDataHub,
I just merged emacs-mac support into master, it should soon be available on Melpa (package version: 0.12).
Thanks for pointing that out!
@CsBigDataHub,
I just merged emacs-mac support into master, it should soon be available on Melpa (package version: 0.12).
Thanks for pointing that out!
Thank you. Tested and working great.
when running
auto-dark-mode
viaM-x
, i get the following message:auto-dark--determine-detection-method: Could not determine a viable theme detection mechanism!
doom doctor prompt:
this is on a 2019 macbook pro running ventura 13.6.3