|
From: | Dmitry Gutov |
Subject: | Re: Representation of the Emacs userbase on emacs-devel |
Date: | Mon, 6 Sep 2021 17:17:44 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 06.09.2021 17:11, Philip Kaludercic wrote:
From what I have been experimenting with antinews themes (ie. revert all changes since Emacs XY),
I think it's a doomed approach (too much of a good thing), since a lot of changes go uncontested, so we don't _really_ have to provide a profile with all the changes reversed. Just the important ones.
Again, just my 2c.
it requires a minor mode to be activated anyway, so it might also make sense to just provide a minor mode instead of a theme.
Perhaps we could extend the themes mechanism so that when a theme is enabled, and when it is disabled, a particular hook is run.
E.g. for a theme called good-old-days-profile, enable-theme would look up and call the function good-old-days-profile-before-enable (if it's defined), and disable-theme would try to call good-old-days-profile-before-disable.
Would that remove the minor mode requirement?
[Prev in Thread] | Current Thread | [Next in Thread] |