From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Custom themes and precedence Date: Sat, 01 Oct 2011 22:04:30 -0400 Message-ID: References: <87pqigh9v6.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317521081 8009 80.91.229.12 (2 Oct 2011 02:04:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 Oct 2011 02:04:41 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Dave Abrahams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 02 04:04:37 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RABPw-000680-TP for ged-emacs-devel@m.gmane.org; Sun, 02 Oct 2011 04:04:37 +0200 Original-Received: from localhost ([::1]:59482 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RABPw-0002yf-Cg for ged-emacs-devel@m.gmane.org; Sat, 01 Oct 2011 22:04:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RABPt-0002yK-Ss for emacs-devel@gnu.org; Sat, 01 Oct 2011 22:04:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RABPs-000294-SI for emacs-devel@gnu.org; Sat, 01 Oct 2011 22:04:33 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:54952 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RABPs-00028I-Pi for emacs-devel@gnu.org; Sat, 01 Oct 2011 22:04:32 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAMrFh05FpZLc/2dsb2JhbABAqDSBBoFTAQEEAVYjEAs0EhQYDSSIDrcKhyEEoHeEQw X-IronPort-AV: E=Sophos;i="4.68,475,1312171200"; d="scan'208";a="139573699" Original-Received: from 69-165-146-220.dsl.teksavvy.com (HELO ceviche.home) ([69.165.146.220]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 01 Oct 2011 22:04:31 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id B8CF2660B6; Sat, 1 Oct 2011 22:04:30 -0400 (EDT) In-Reply-To: (Dave Abrahams's message of "Sat, 01 Oct 2011 14:27:52 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144525 Archived-At: >>> I customized default-frame-alist in the theme for machine X... which >>> worked fine until I customized default-frame-alist "non-themedly" >>> somewhere else. That caused the new setting to go into the "user" theme >>> *which takes precedence over all others*. That last bit isn't working >>> out so well for my use-case. Should this usage be accomodated, is it >>> outside the intended applications of themes, or...? >> Non-theme customization settings are intended to take precedence over >> theme settings. The idea is that if you load a theme that's not written >> by you, it is easy to use Customize to override some of its settings. > I guess the question is, what about themes that *are* written by me, > that I may want to switch on or off programmatically? One approach is to encourage such users to put all their customizations into themes (i.e. avoid the "user" theme). Stefan