emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: night-mode?


From: Juri Linkov
Subject: Re: night-mode?
Date: Sat, 21 Nov 2020 21:21:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> Based on previous discussions, I think we should add some way to toggle
> the dark/light mode.  I'm not completely sure what the interface should
> look like, nor what'd be the better implementation, but see the patch
> below for a first cut to add a `night-mode` command, which does
> basically the "inverse video" by swapping the foreground and the
> background of the default face (and then resetting the background-mode
> accordingly, of course).

I've tested it with `emacs -rv`, and the effect of `night-mode`
is the same as `--reverse-video'.  But a minor problem is that
after starting Emacs with `-rv`, the first invocation of `night-mode`
has no effect.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]