From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: j_del_strother@hotmail.com (Jon) Newsgroups: gmane.emacs.help Subject: Creating a function to change custom-set-faces Date: 15 Apr 2003 02:44:17 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <445cd6bf.0304150144.2715e520@posting.google.com> NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1050400105 23200 80.91.224.249 (15 Apr 2003 09:48:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2003 09:48:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 15 11:48:24 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195N0i-0005to-00 for ; Tue, 15 Apr 2003 11:45:52 +0200 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 195N0j-0002o6-03 for gnu-help-gnu-emacs@m.gmane.org; Tue, 15 Apr 2003 05:45:53 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 20.138.254.2 Original-X-Trace: posting.google.com 1050399857 25035 127.0.0.1 (15 Apr 2003 09:44:17 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 15 Apr 2003 09:44:17 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:111990 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8490 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8490 I have a set of custom colors set up in emacs that I find much easier on the eyes - lots of greens & pastels. Unfortunately, it doesn't print too nicely. My current solution is two .emacs files - when I want to print, quit emacs, swap the files, start emacs, print, etc etc. Obviously, this doesn't seem like the best way of doing things. The .emacs file contains a section custom-set-faces, with all of my customizations in. I was hoping to create a function to set these for me, so I could swap colors on the fly. I tried M-x custom-set-faces, which doesn't exist. And that's about where my emacs knowledge runs out... How can I set custom faces up, based on info from the .emacs file? Thanks, Jon