dark-notify VS emacs-buttercup

Compare dark-notify vs emacs-buttercup and see what are their differences.

dark-notify

Watcher for macOS 10.14+ light/dark mode changes (by cormacrelf)

emacs-buttercup

Behavior-Driven Emacs Lisp Testing (by jorgenschaefer)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
dark-notify emacs-buttercup
4 4
169 355
- -
0.0 8.0
about 1 year ago about 1 month ago
Rust Emacs Lisp
- GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

dark-notify

Posts with mentions or reviews of dark-notify. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-07.
  • How to detect dark/light/system mode in macos and windows?
    2 projects | /r/learnrust | 7 Jul 2023
    I found this neovim plugin for macos https://github.com/cormacrelf/dark-notify that does exactly that, looking at the source code, it spawn a new macos application and looks for changes
  • Is there a way for neovim to know my terminal background color?
    2 projects | /r/neovim | 21 May 2023
    I use https://github.com/cormacrelf/dark-notify
  • Emacs’s Builtin Elisp Cheat Sheet
    8 projects | news.ycombinator.com | 6 Jul 2022
    > I'd say that's kinda a big selling point of Emacs though: you can write elisp code to make anything you do (not just writing code) less of a pain.

    I agree in principle, but in practice, I find myself writing a lot of ELisp just to work around Emacs' shortcomings. E.g. on macOS, to support dark/light theme switching integrated with the rest of the system, I need an external program[0], a shell script to tell that program to call emacsclient, a LaunchAgent to keep it running, an unholy build of Emacs with all of the GNU-unapproved Cocoa integrations that some kind soul is maintaining, and only THEN a piece of ELisp (which is also calling out to AppleScript) to actually change the theme[1]. And as I wrote this, I realised half of this glue didn't even make it into version control.

    [0]: https://github.com/cormacrelf/dark-notify

    [1]: https://github.com/rollcat/dotfiles/blob/7f6a6d7/.emacs.d/in...

    I've been using Emacs for about 20 years, and with every passing year I just wish there was *less* ELisp for me to think about. The actual useful customisations (like adding the +x bit on shell scripts) are few and far between, most of it is just glue and fixes.

  • 'set bg=light/dark' on the fly not fixed yet?
    2 projects | /r/neovim | 23 Oct 2021
    If you’re struggling with background toggling, I suggest having a look at https://github.com/cormacrelf/dark-notify. Its Lua plugin doesn’t require macOS, it can be used through a mapping as a generic background toggler between two different schemes, and you get to run arbitrary code when it does toggle, which is useful for integration with themed status bars etc.

emacs-buttercup

Posts with mentions or reviews of emacs-buttercup. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-01.
  • Emacs is big, emacs is god, emacs makes unit tests a major PITA
    2 projects | /r/emacs | 1 Apr 2023
    ERT doesn't have much to help with this, but Buttercup has a number of facilities to help with controlling the environment around each test: https://github.com/jorgenschaefer/emacs-buttercup/
  • Emacs’s Builtin Elisp Cheat Sheet
    8 projects | news.ycombinator.com | 6 Jul 2022
    > (For example, when trying to test things out I haven't really found a way much better than typing into scratch, selecting code and running it while staring at messages....)

    Are you talking about when you're noodling, trying to figure how things work, or actually trying to build something?

    For playing around, I found that scratch works ok, but I found a better workflow.

    I end up using a daily note in org-roam, with #begin_src elisp... I then tag the heading with :REFILE:ELISP: so I can always find it later. Basically evaluate everything inline within that org-babel block.

    When I'm building something, or driving towards a specific goal, I use buttercup [0] to write actual unit tests. If I squint, it kinda looks like TDD.

    Finally, for debugging of running elisp, take a look at edebug [1]. It's a pretty standard looking debugger (if you used something like gdb). By default emacs uses debug which is not as friendly.

    [0]: https://github.com/jorgenschaefer/emacs-buttercup

    [1]: https://www.gnu.org/software/emacs/manual/html_node/elisp/Ed...

  • Writing my first tests in elisp
    1 project | /r/emacs | 9 Sep 2021
    Ok, before posting this I looked up a bit and found this and this. Buttercup seems great. Links or tips from experienced developers are welcome.
  • emacs-buttercup: Behavior-Driven Emacs Lisp Testing
    1 project | /r/planetemacs | 25 Feb 2021

What are some alternatives?

When comparing dark-notify and emacs-buttercup you can also consider the following projects:

Shade.nvim - An Nvim lua plugin that dims your inactive windows

treemacs

neovim-gtk - gtk ui for neovim

straight.el - 🍀 Next-generation, purely functional package manager for the Emacs hacker.

dotfiles - My dotfiles: macOS, OpenBSD, Linux. Setup: git init; git remote add github https://github.com/rollcat/dotfiles; git pull github master

neovide - No Nonsense Neovim Client in Rust

prelude - Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.

magit - It's Magit! A Git Porcelain inside Emacs.

rust-dark-light - Rust crate to detect if dark mode or light mode is enabled

neovim - Vim-fork focused on extensibility and usability