all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: themes
Date: Thu, 14 Oct 2010 02:05:56 +0900	[thread overview]
Message-ID: <87r5funhu3.fsf@catnip.gol.com> (raw)
In-Reply-To: <87lj62jd4k.fsf@stupidchicken.com> (Chong Yidong's message of "Wed, 13 Oct 2010 12:01:15 -0400")

Chong Yidong <cyd@stupidchicken.com> writes:
>> I set my background by customizing the `default' (and _also_ via
>> .Xresource, since otherwise emacs flashes and goes crazy during
>> startup).  The custom-theme stuff doesn't seem to be able to cope with
>> that.
>
> Ah, yes.  This is due to a design decision in the Custom Themes code: it
> deliberately ensures that the user's own customizations override
> anything set by a theme, which in term overrides changes set outside
> Customize.  (All settings should be reversible.)
>
> The idea is that you should be able to load a theme, and then change
> individual settings to you disagree with.  This seems like a reasonable
> thing to want, though it's true that it could lead to confusion.

That might be a good policy if everybody started out using themes, chose
a theme they liked, and then made a few tweaks on top of it -- but I
think that may not reflect reality very well... a fair number of people
may be like me, and have a large number of tweaked faces already in
place when they hear about themes.  They'll try out themes, notice they
all seem a bit off, and might even abandon the concept...

> Maybe the Customize Themes buffer should display a warning about this.

I guess, though a warning doesn't seem all that useful -- what should a
user _do_ when he sees it?  Go through all his customizations and turn
them off one by one?

Maybe a "convert all my settings to a theme" function would be useful --
it could prompt for a name, and create a  theme with all the user's
default settings; then it remove them as "overriding" settings.  Then a
user could easily switch between his "original" settings, and various
themes.

On top of that, a function/mode/whatever that made it very simple to
copy individual faces from themes to/from other themes or the
"non-theme" settings.

Maybe even in "one-theme-at-a-time" mode, there could be a distinguished
"override" theme that would represent overriding non-theme settings?

I dunno...

-Miles

-- 
Ich bin ein Virus. Mach' mit und kopiere mich in Deine .signature.



  reply	other threads:[~2010-10-13 17:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13  3:35 themes Miles Bader
2010-10-13  5:57 ` themes Chong Yidong
2010-10-13  6:36   ` themes Miles Bader
2010-10-13 16:01     ` themes Chong Yidong
2010-10-13 17:05       ` Miles Bader [this message]
2010-10-13 21:20         ` themes Frank Schmitt
2010-10-17  0:07         ` themes Chong Yidong

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=87r5funhu3.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=cyd@stupidchicken.com \
    --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.