From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alex Schroeder Newsgroups: gmane.emacs.devel Subject: Re: customize-style Date: Wed, 19 Mar 2003 21:30:49 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87isufm746.fsf@gnu.org> References: <20030317152226.E536@WINPC174> <200303171543.h2HFh30m013114@rum.cs.yale.edu> <87k7exy1q8.fsf@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048106052 20178 80.91.224.249 (19 Mar 2003 20:34:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2003 20:34:12 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Mar 19 21:34:08 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vkGF-0005Er-00 for ; Wed, 19 Mar 2003 21:34:07 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18vkHA-0008Jc-00 for ; Wed, 19 Mar 2003 21:35:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vkEJ-0005rD-0A for emacs-devel@quimby.gnus.org; Wed, 19 Mar 2003 15:32:07 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vkDb-0005AC-00 for emacs-devel@gnu.org; Wed, 19 Mar 2003 15:31:23 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vkDT-00053I-00 for emacs-devel@gnu.org; Wed, 19 Mar 2003 15:31:19 -0500 Original-Received: from isp247n.hispeed.ch ([62.2.95.247] helo=smtp.hispeed.ch) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10.13) id 18vkD4-0004Xj-00 for emacs-devel@gnu.org; Wed, 19 Mar 2003 15:30:50 -0500 Original-Received: from confusibombus.gnu.org (dclient217-162-239-144.hispeed.ch [217.162.239.144])h2JKUl2H026384 for ; Wed, 19 Mar 2003 21:30:47 +0100 Original-To: emacs-devel@gnu.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX///89Pjl6hX25yeD/ 373gtJdgTEW6a14sduMzR7J4AAAAAXRSTlMAQObYZgAAAeJJREFUeNp1lMGSmzAMhvMKolOaa5wB cg3p5gGy8va8xCZn0658LlPg3Bw6PHZlArbZ2XUOJHz+f1mylM3pk7UJX8t/zf4DUOYAlJJnHuyA ARgCIVagNLCsZA0grMkuBrQQ5/aRAtII7GIA+f4TAM11AWYN4OcMntwPiuh+E2I3Q0GUphNNF3Di /UU2DD29UzxB2rZZpat+8iQKVkmRaV7VtJ988BPYttMaUebrU5XQuP0KsTJrkAoHkEH+DnQzmCVf PJiskL3kbq0goW996zR1DLhWqb0RtBniS5ygK2Jy6/lsCl8M57FU1135V6xTOyi8pDYDfx85mF+o h46DXKj7QQsoBdEflC5DvGRKZl4hsp5fToAfOlytEAPOCn6qAIqiUVJ2DJRTBnAuLGd+69Alj/Ia QG8s6dubcgJVBkVJ9I3rOExBpIgURG9aYuWKJesmKE5Edpjy49B5E81Hbsg+7hDxdxKBM1vNV/Vs ksiqtFxA5cD3V4itarKt5sPK51cDIjouWO4rKZE7y8A9gCM0mVaSo5ir2R68FTc194l7XycCxoNX HF23Z7oSBYkdHILVY4yaPDdJ9Xc7enD0Y2mSHMZxvM/AjxIBg/soZnD2fwrcXrBlhXiAZYweQzje +XP6D3vk9qXUjAFlAAAAAElFTkSuQmCC In-Reply-To: (Richard Stallman's message of "Wed, 19 Mar 2003 03:49:57 -0500") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12469 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12469 Richard Stallman writes: > That is good, as far as it goes, but you need to say how to use > a theme once it is created. How about this: ** custom themes collect a number of variable and face settings for sharing You can store a collection of variables and faces with their current definitions in theme files. The function custom-theme-create queries you for the name of the theme, a list of variables, and a list of faces, and writes the theme file for you. In order to use such a theme, put the file in your load-path, and use (require-theme 'foo) where foo is the name of the theme (and "foo.el" is the name of the file). Alex.