[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A modern-mode?
From: |
Arthur Miller |
Subject: |
Re: A modern-mode? |
Date: |
Fri, 18 Sep 2020 06:50:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
arthur miller <arthur.miller@live.com> writes:
> Can't customize already show ui to turn on/off features without showing
> elisp?
>
> Can't there be just a customize group or page where people can turn on/off
> features and similar? What makes theme more
> suitable?
>
> I am sorry if I am a tad bit obnoxious, my goal is not to be negative, just
> "thinking loud".
>
> -------- Originalmeddelande --------
> Från: Stefan Monnier <monnier@iro.umontreal.ca>
> Datum: 2020-09-17 21:43 (GMT+01:00)
> Till: Alan Third <alan@idiocy.org>
> Kopia: arthur miller <arthur.miller@live.com>, Thibaut Verron
> <thibaut.verron@gmail.com>, self@gkayaalp.com, akrl@sdf.org, Eli
> Zaretskii <eliz@gnu.org>, mardani29@yahoo.es, emacs-devel
> <emacs-devel@gnu.org>
> Ämne: Re: A modern-mode?
>
>>> By the way, why would anyone turn off features and then recreate
>>> them in their init file? It seems like very convoluted use case to
>>> me.
>> As opposed to turning on features with a theme then turning them off
>> again in their init file?
>> I've seen enough people ask how to implement spacemacs/doom features
>> in vanilla Emacs to know that this happens.
>
> BTW one of the advantages of themes is also that we could provide a UI
> that displays the various elements of that theme (without having to show
> ELisp code).
>
> Stefan
Sorry, I have been looking into manual about themes and custom.el; sure
theme can do anything so I understand it now :-).
"Custom themes are collections of settings that can be enabled or
disabled as a unit. You can use Custom themes to switch easily between
various collections of settings, and to transfer such collections from
one computer to another. "
".... loading a Custom theme can execute arbitrary Lisp code ..."
"To apply the choice of theme(s) to future Emacs sessions, type C-x C-s
(custom-theme-save) or use the ‘[Save Theme Settings]’ button."
So indeed it can be used for anything. Though I would rather call
such theme for a "mode" but that would be really a confusion since Emacs
modes are different things.
- RE: A modern-mode?, (continued)
- RE: A modern-mode?, arthur miller, 2020/09/16
- Re: A modern-mode?, Daniel Martín, 2020/09/16
- Re: A modern-mode?, Thibaut Verron, 2020/09/16
- Re: A modern-mode?, Eli Zaretskii, 2020/09/16
- Re: A modern-mode?, Thibaut Verron, 2020/09/16
- Re: A modern-mode?, Alan Third, 2020/09/16
- RE: A modern-mode?, arthur miller, 2020/09/16
- Re: A modern-mode?, Alan Third, 2020/09/17
- Re: A modern-mode?, Stefan Monnier, 2020/09/17
- RE: A modern-mode?, arthur miller, 2020/09/17
- Re: A modern-mode?,
Arthur Miller <=
- Re: A modern-mode?, Thibaut Verron, 2020/09/16
- Re: A modern-mode?, Lars Ingebrigtsen, 2020/09/16
- Re: A modern-mode?, Richard Stallman, 2020/09/16
- Re: A modern-mode?, Ergus, 2020/09/16
Re: A modern-mode?, Robert Pluim, 2020/09/16
Re: A modern-mode?, João Távora, 2020/09/16