From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: torys.anderson@gmail.com (Tory S. Anderson) Newsgroups: gmane.emacs.help Subject: Re: Why do themes stack? Date: Sat, 31 Jan 2015 09:32:41 -0500 Message-ID: <87zj8zdnqu.fsf@gmail.com> References: <87vbjnnm9z.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422714787 8785 80.91.229.3 (31 Jan 2015 14:33:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Jan 2015 14:33:07 +0000 (UTC) Cc: help-gnu-emacs To: bruce.connor.am@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 31 15:33:02 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YHZ6c-0006EY-5K for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Jan 2015 15:33:02 +0100 Original-Received: from localhost ([::1]:41776 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHZ6b-00088P-9c for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Jan 2015 09:33:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHZ6P-00088K-E1 for help-gnu-emacs@gnu.org; Sat, 31 Jan 2015 09:32:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHZ6O-0003s5-Fo for help-gnu-emacs@gnu.org; Sat, 31 Jan 2015 09:32:49 -0500 Original-Received: from mail-yh0-x22e.google.com ([2607:f8b0:4002:c01::22e]:63849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHZ6O-0003rv-BA for help-gnu-emacs@gnu.org; Sat, 31 Jan 2015 09:32:48 -0500 Original-Received: by mail-yh0-f46.google.com with SMTP id c41so12997955yho.5 for ; Sat, 31 Jan 2015 06:32:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=Bic6LeM7GBq3QoLXa3w/DLahEpdEcvYtxqnfkiF6Ah0=; b=PYpp4st8hpxvkJCtIEXeP4KHnCTk5+Z3U2oHLbsi76dXyyBc1HU0vzIeBtmzFBaPSQ 6AxbKc9OH9D8pQ7GnPxz9eEey8eiApC64eIlh7355K/ogmJowgr1fZOVWwiQX3rp7Dvf AbmmHN41R4iIE1XUz0EqY/B0LcTxt620SYcytR7UEqZrfSkgP5gyRnf6EkkHsChSobrn r4OsSBLWs5l5WmoJLpw9XgTH+x/7TS6nl9SwTneKZFJv8W3NTjafzyvnIr82hgX1Sq+p FJPucK9isFIfEsEgKnRzRN7Cr5thepx2f49S3bRtkgd0hqS/Dx1qjbwmiPbwXqbj2zb/ ePNg== X-Received: by 10.236.39.9 with SMTP id c9mr5440029yhb.117.1422714767920; Sat, 31 Jan 2015 06:32:47 -0800 (PST) Original-Received: from localhost.localdomain ([2601:0:a000:4a1:ee55:f9ff:feb5:5589]) by mx.google.com with ESMTPSA id o47sm8475054yhd.48.2015.01.31.06.32.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 31 Jan 2015 06:32:46 -0800 (PST) In-Reply-To: (Artur Malabarba's message of "Sat, 31 Jan 2015 11:56:08 -0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c01::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102398 Archived-At: Ah--themes can be mode specific! I had no idea. Thanks for the revelation. Artur Malabarba writes: > Because then you can have different themes which apply to different > faces. > > For instance, if you really like Magit you could release a theme that > only customizes Magit faces. > > If themes didn't stack, nobody would ever use your theme because it > doesn't do anything outside Magit buffers. Since themes DO stack, > users can use your theme in addition to their global theme. This way, > people get all the Magit-dedicated love of your theme while still > having another nice theme everywhere else. > > The fact that extremely few special themes like this exist is a shame. > It increases confusion on the users, and increases pressure on the > theme developers to support every single major-mode under the sun. > > On 31 Jan 2015 12:54, "Tory S. Anderson" > wrote: > > Throughout my work day I'll switch themes now and again to go from > high contrast to lower, or from dark to light. This process > requires disabling the present theme and then loading the next > theme; if you forget to disable, the themes stack, usually with > undesirable consequences. > > Why is it implemented this way? Does anyone out there actually > gain utility from theme stacking? Or am I doing something wrong? I > would think the simpler implementation would simply to have "load > theme" automatically disable the present theme, which is both > conceptually and pragmatically easier. But the manual doesn't seem > to mention much about themes, so I haven't found an explanation > (or possible use) for this stacking implementation. >