From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: themes Date: Thu, 14 Oct 2010 02:05:56 +0900 Message-ID: <87r5funhu3.fsf@catnip.gol.com> References: <87eibuskhy.fsf@stupidchicken.com> <87lj62jd4k.fsf@stupidchicken.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286989575 18222 80.91.229.12 (13 Oct 2010 17:06:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 17:06:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 13 19:06:13 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P64mI-0005r9-QY for ged-emacs-devel@m.gmane.org; Wed, 13 Oct 2010 19:06:11 +0200 Original-Received: from localhost ([127.0.0.1]:53232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P64mH-0007qV-As for ged-emacs-devel@m.gmane.org; Wed, 13 Oct 2010 13:06:09 -0400 Original-Received: from [140.186.70.92] (port=35310 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P64m9-0007pJ-N6 for emacs-devel@gnu.org; Wed, 13 Oct 2010 13:06:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P64m7-0003xY-PM for emacs-devel@gnu.org; Wed, 13 Oct 2010 13:06:00 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:58769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P64m7-0003xN-IA; Wed, 13 Oct 2010 13:05:59 -0400 Original-Received: from 218.231.154.125.eo.eaccess.ne.jp ([218.231.154.125] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) id 1P64m5-0008Sp-Ed; Thu, 14 Oct 2010 02:05:57 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 9FBD6DF8E; Thu, 14 Oct 2010 02:05:56 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: <87lj62jd4k.fsf@stupidchicken.com> (Chong Yidong's message of "Wed, 13 Oct 2010 12:01:15 -0400") Original-Lines: 47 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131679 Archived-At: Chong Yidong 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.