From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Andrea Corallo <akrl@sdf.org>
Cc: emacs-devel@gnu.org
Subject: Re: A modern-mode?
Date: Tue, 15 Sep 2020 11:08:53 -0400 [thread overview]
Message-ID: <jwvr1r3w0e5.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <xjfmu1rrtks.fsf@sdf.org> (Andrea Corallo via's message of "Tue, 15 Sep 2020 14:41:07 +0000")
Hi Andrea,
Any chance you could turn it into a custom-theme?
AFAIK most of your minor-mode could be turned into a theme fairly
easily, so what I'm asking is for you try and do the extra work to cover
the remaining non-trivial part (e.g. the key-bindings).
Part of the difference between a minor mode and a custom theme is that
a custom theme is more declarative, with consequences such as the fact
that a user can enable your hypothetical "modern theme" but with
`fido-mode` disabled, and it won't have the effect of "enabling and then
disabling" `fido-mode` (e.g. running `fido-mode-hook` twice along the
way).
I'm mostly interested in pushing the limits of what can be done with
custom themes, so try to keep an eye on what generic/infrastructure
changes would make a "modern theme" easier to write cleanly.
> I had a look but for now I gave-up on the idea of picking up a dark mode
> to enable as is not so easy.
I thought setting the foreground and the background of the `default`
face is all it takes (it should change the frame-background-mode and
thus cause all other faces to choose their dark-background alternative).
What problem did you encounter?
Stefan
next prev parent reply other threads:[~2020-09-15 15:08 UTC|newest]
Thread overview: 96+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-15 14:41 A modern-mode? Andrea Corallo via Emacs development discussions.
2020-09-15 14:51 ` Ergus
2020-09-16 0:16 ` Andrea Corallo via Emacs development discussions.
2020-09-15 15:08 ` Stefan Monnier [this message]
2020-09-15 15:26 ` Drew Adams
2020-09-15 16:34 ` Teemu Likonen
2020-09-15 18:36 ` Andrea Corallo via Emacs development discussions.
2020-09-15 21:08 ` Antoine Kalmbach
2020-09-16 4:15 ` Teemu Likonen
2020-09-16 7:52 ` Andrea Corallo via Emacs development discussions.
2020-09-15 15:13 ` Drew Adams
2020-09-15 16:31 ` Theodor Thornhill
2020-09-15 15:56 ` Göktuğ Kayaalp
2020-09-15 16:47 ` Gregory Heytings via Emacs development discussions.
[not found] ` <a4bc94ca-3130-463a-bd79-3dbffbbce492@default>
2020-09-15 17:11 ` Gregory Heytings via Emacs development discussions.
2020-09-15 17:32 ` Drew Adams
2020-09-15 17:35 ` Drew Adams
2020-09-15 18:47 ` Andrea Corallo via Emacs development discussions.
2020-09-15 20:48 ` Gregory Heytings via Emacs development discussions.
2020-09-16 0:07 ` Andrea Corallo via Emacs development discussions.
2020-09-16 8:58 ` Gregory Heytings via Emacs development discussions.
2020-09-16 9:03 ` Dmitry Gutov
2020-09-16 10:39 ` Göktuğ Kayaalp
2020-09-16 10:47 ` João Távora
2020-09-16 12:20 ` Arthur Miller
2020-09-16 5:14 ` Alfred M. Szmidt
2020-09-16 7:27 ` Andrea Corallo via Emacs development discussions.
2020-09-16 7:36 ` Alfred M. Szmidt
2020-09-16 8:36 ` Alan Third
2020-09-16 14:37 ` Drew Adams
2020-09-16 15:00 ` Arthur Miller
2020-09-16 15:22 ` Thibaut Verron
2020-09-17 3:54 ` Richard Stallman
2020-09-16 10:30 ` Göktuğ Kayaalp
2020-09-16 11:17 ` Alfred M. Szmidt
2020-09-16 14:32 ` Eli Zaretskii
2020-09-16 14:46 ` Andrea Corallo via Emacs development discussions.
2020-09-16 21:53 ` Dmitry Gutov
2020-09-16 15:18 ` Lars Ingebrigtsen
2020-09-16 15:33 ` Andrea Corallo via Emacs development discussions.
2020-09-16 15:46 ` Eli Zaretskii
2020-09-16 15:54 ` Andrea Corallo via Emacs development discussions.
2020-09-16 16:08 ` Eli Zaretskii
2020-09-16 16:17 ` Andrea Corallo via Emacs development discussions.
2020-09-16 16:28 ` Eli Zaretskii
2020-09-16 16:32 ` Noam Postavsky
2020-09-16 16:45 ` Alfred M. Szmidt
2020-09-16 16:30 ` Alan Third
2020-09-16 16:45 ` Alfred M. Szmidt
2020-09-16 22:11 ` arthur miller
2020-09-16 21:54 ` Dmitry Gutov
2020-09-16 15:18 ` Alfred M. Szmidt
2020-09-16 15:27 ` Andrea Corallo via Emacs development discussions.
2020-09-16 16:45 ` Alfred M. Szmidt
2020-09-17 3:58 ` Richard Stallman
2020-09-17 4:45 ` Alfred M. Szmidt
2020-09-17 9:54 ` Lars Brinkhoff
2020-09-18 4:09 ` Richard Stallman
2020-09-16 16:45 ` tomas
2020-09-16 21:47 ` arthur miller
2020-09-16 18:19 ` Daniel Martín
2020-09-16 18:45 ` Thibaut Verron
2020-09-16 18:53 ` Eli Zaretskii
2020-09-16 20:02 ` Thibaut Verron
2020-09-16 21:36 ` Alan Third
2020-09-17 0:11 ` arthur miller
2020-09-17 19:17 ` Alan Third
2020-09-17 19:43 ` Stefan Monnier
2020-09-17 19:54 ` arthur miller
2020-09-18 4:50 ` Arthur Miller
2020-09-17 3:18 ` Thibaut Verron
2020-09-16 21:48 ` Lars Ingebrigtsen
2020-09-17 3:53 ` Richard Stallman
2020-09-16 8:15 ` Ergus
2020-09-16 7:33 ` Robert Pluim
2020-09-16 8:55 ` tomas
2020-09-16 9:36 ` João Távora
2020-09-16 9:48 ` tomas
2020-09-16 9:54 ` João Távora
2020-09-16 10:20 ` tomas
2020-09-16 10:30 ` João Távora
2020-09-16 10:53 ` tomas
2020-09-16 11:09 ` João Távora
2020-09-16 12:40 ` Arthur Miller
2020-09-16 13:04 ` João Távora
2020-09-16 14:10 ` Arthur Miller
2020-09-16 15:26 ` João Távora
2020-09-16 15:43 ` Thibaut Verron
2020-09-16 15:45 ` João Távora
2020-09-16 14:20 ` Arthur Miller
2020-09-16 16:42 ` tomas
2020-09-16 21:46 ` arthur miller
2020-09-17 19:28 ` Alan Third
2020-09-17 19:47 ` arthur miller
2020-09-16 12:32 ` Arthur Miller
[not found] <<xjfmu1rrtks.fsf@sdf.org>
[not found] ` <<E1kIPmO-0001u5-0m@fencepost.gnu.org>
2020-09-16 14:37 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvr1r3w0e5.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=akrl@sdf.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.