Git Product home page Git Product logo

darkman.el's People

Contributors

aerz avatar grtcdr avatar lexa avatar tarsius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

darkman.el's Issues

Themes will sometimes switch infinitely

This causes Emacs to go haywire. The first time this happened was a
short time after merging #5. I can reproduce it, but I haven't yet
understood what exactly causes it to occur.

Wrong number of arguments in event handler

Hi, it's me again ๐Ÿ˜„

I'm getting the following error that is preventing to apply a theme:

;;; *Messages* Buffer
apply: Wrong number of arguments: #<subr darkman--event-handler>, 1 [3 times]
apply: Wrong number of arguments: #<subr darkman--event-handler>, 2
apply: Wrong number of arguments: #<subr darkman--event-handler>, 1 [2 times]
apply: Wrong number of arguments: #<subr darkman--event-handler>, 0
apply: Wrong number of arguments: #<subr darkman--event-handler>, 1 [3 times]
apply: Wrong number of arguments: #<subr darkman--event-handler>, 0
apply: Wrong number of arguments: #<subr darkman--event-handler>, 1 [3 times]
apply: Wrong number of arguments: #<subr darkman--event-handler>, 0
apply: Wrong number of arguments: #<subr darkman--event-handler>, 2
apply: Wrong number of arguments: #<subr darkman--event-handler>, 0
apply: Wrong number of arguments: #<subr darkman--event-handler>, 1 [3 times]
...

It seems like an infinite loop that never ends. Maybe someone could try to reproduce the issue by doing:

  1. The current theme mode is light, Emacs is running in daemon mode on a systemd service and one frame is opened. I suspend the computer.
  2. Some time goes by and I wake up the computer. darkman detects the new time is and changes the theme mode to dark but darkman.el doesn't change the theme. I run darkman-get to verify it's communicating correctly with DBus and the response is dark.
  3. Several seconds after that the error starts to appear and enters an infinite loop throwing these messages.

I need to investigate it more and I think it's very specific but I want to leave the problem open in case someone might know more or how to debug it.

dot service file?

Hi there. Thanks for creating this mode. Wondering, do I need to create a --user level service file or am I missing something?

Error caused by user's config or system: /home/oatmeal/.config/doom/config.el, (error nl.whynothugo.darkman D-Bus service not available.)

doesn't change emacs theme

(use-package darkman
  :config
  (darkman-mode 1)
  :elpaca (darkman
            :host github
            :repo "grtcdr/darkman.el")
  :custom
  (darkman-themes '(:light modus-operandi
                    :dark modus-vivendi)))

M-x darkman-toggle changes the darkman mode (other apps change color) but not the emacs theme itself. This used to work until a few days ago.

The theme is the same as the darkman mode at startup time though ie darkman is able to set the theme initially

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.