From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rasmus Newsgroups: gmane.emacs.help Subject: Re: Why do themes stack? Date: Sat, 31 Jan 2015 14:16:53 +0100 Message-ID: <87sierrsxm.fsf@gmx.us> References: <87vbjnnm9z.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422710244 5232 80.91.229.3 (31 Jan 2015 13:17:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Jan 2015 13:17:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 31 14:17:20 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 1YHXvL-0001M8-DW for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Jan 2015 14:17:19 +0100 Original-Received: from localhost ([::1]:41611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHXvK-0002HP-GR for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Jan 2015 08:17:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHXv8-0002GS-8N for help-gnu-emacs@gnu.org; Sat, 31 Jan 2015 08:17:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHXv5-0001jE-34 for help-gnu-emacs@gnu.org; Sat, 31 Jan 2015 08:17:06 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:40415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHXv4-0001ip-Sb for help-gnu-emacs@gnu.org; Sat, 31 Jan 2015 08:17:03 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YHXv3-000196-6j for help-gnu-emacs@gnu.org; Sat, 31 Jan 2015 14:17:01 +0100 Original-Received: from tsn109-201-154-203.dyn.nltelcom.net ([109.201.154.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Jan 2015 14:17:01 +0100 Original-Received: from rasmus by tsn109-201-154-203.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Jan 2015 14:17:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: tsn109-201-154-203.dyn.nltelcom.net Face: iVBORw0KGgoAAAANSUhEUgAAAB8AAAAwCAMAAADeilHoAAAAPFBMVEUHBwcoFxH7+/vW1tYr LCttbm2enp5PT06/xcDaBQX7BgajDglDWzNPi1CF0nme75DD87i6863Q6sxboFgNFnOCAAAACXBI WXMAAAsTAAALEwEAmpwYAAAB+UlEQVQ4T5WUgXbDIAhFERXo2sTY/v+/7gFJ1zVnPWfUqvHi02CQ 6KMVIv5kcKmNiQu3wl2kCeGp94KRIuqcSbo17hjW1s3UuXVCV4L7lKodxmJS4ajCDUNQcs4VP+ao 9n8Wi/VLayh7dXSOB/DL5fKV/yw/FQr41yf7L4foB37tzHL9gxdEB1FqtcBO/GIeAu1UvLVe3riw UldF5DxCRHb9xa8eqpxZmyr65Z2bhg/WqR0qT369LTCMiHPBK+AEhZ/669jm3GbD8THOrMd3octy 2/k2Ny/b/RGkNsNSc4zVPcDHdljzY23eu9+3bYyx+PmM4fLhMNdhgIf/HEtw159zezNozJF8hsJ8 9UmR6Xym7e1vkdi/j46w9HhxKsd8vM8jfUL3cIn1R/ClP5Z1HDrplnwd019W7oxAHy4h63xd3d3n mx/O48VljH2+26OqOwib3J4u4LfDWlNqHeeky62UHAOvSC8vbnuzt6g9/0UgWnH6VSTST4DM28g/ bizI/WaGHhucrFolT/jM71J78MrqvEMV2yQMZn6rVtwU6ldAfOLoVCwnaIPXvGqyqcavj873K6qh EXKLBMjOG6fmHeydJJxOnFI+OJ95d1V1HknU37nnjocseD/tr0ruedd/8rj7wI0K3vzMS4SZQoRy 6y/8k2Ucyh812m8qoiXtHI7X+wAAAABJRU5ErkJggg== User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:WsboxHzutFMDyNGDcUK8B9c/giQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:102395 Archived-At: torys.anderson@gmail.com (Tory S. Anderson) writes: > 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. Some people use it for overlaying themes on top of the default theme, e.g. for different. You could just do something like this, I guess: (defun my/load-theme () "call load-theme, but disable all themes first" (interactive) (call-interactively 'load-theme) (mapc 'disable-theme (cdr-safe custom-enabled-themes))) -- A clever person solves a problem. A wise person avoids it