From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Locating the default colors used by emacs Date: Wed, 4 Jul 2007 10:44:10 +0200 Message-ID: <845582FA-ADFE-4E40-B29F-8735CB7F238E@Web.DE> References: <11425562.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1183538696 22476 80.91.229.12 (4 Jul 2007 08:44:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Jul 2007 08:44:56 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: tigerleopard Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 04 10:44:54 2007 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I60Ti-0000fh-Pg for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jul 2007 10:44:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I60Ti-0001Ei-1H for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jul 2007 04:44:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I60TH-0001EV-1B for help-gnu-emacs@gnu.org; Wed, 04 Jul 2007 04:44:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I60TF-0001EJ-FP for Help-gnu-emacs@gnu.org; Wed, 04 Jul 2007 04:44:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I60TF-0001EG-5k for Help-gnu-emacs@gnu.org; Wed, 04 Jul 2007 04:44:21 -0400 Original-Received: from fmmailgate01.web.de ([217.72.192.221]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I60TE-00018n-4o for Help-gnu-emacs@gnu.org; Wed, 04 Jul 2007 04:44:20 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id 5F0DB8CC89E7; Wed, 4 Jul 2007 10:44:18 +0200 (CEST) Original-Received: from [62.134.227.205] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1I60TC-0006gr-00; Wed, 04 Jul 2007 10:44:18 +0200 In-Reply-To: <11425562.post@talk.nabble.com> X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX18bUOQJ8FJOoTNr3IS7j0unP8at/JRyrFR9URIH MYEomJEDQUZFBg2et1uAaQClt/DAO1iQcu41b6j+pfUaeQG0IQ KVmxj+3EjVJqIVqEWqjg== X-detected-kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45461 Archived-At: Am 04.07.2007 um 08:31 schrieb tigerleopard: > I am trying to find out where the color information from emacs is > located. There are two sections in ~/.emacs: a free-form section and the one starting with "(custom-set-variables" and having as comment a warning not to edit this section. Usually this section is "maintained" by the customise interface in GNU Emacs. Look at menu entries "Options -> Customize Emacs!" Another way is to determine the characteristics of some character (C-u C-x = in GNU Emacs 22) and then choose (RET or [long-]click on the underlined hyperlink) the "face value" to enter the customisation interface. In GNU Emacs 21 you would need to invoke describe-text-properties. In the free-form or Lisp section you can use for example: (setq initial-frame-alist '( (mouse-color . "midnightblue") (foreground-color . "grey20") (background-color . "alice blue") (internal-border-width . 2) (line-spacing . 1) (active-alpha . 0.875) (inactive-alpha . 0.75) (font . "-*-*-medium-r-normal--10-*-*-*-*-*-fontset- hiraginomin") (top . 25) (left . 650) (width . 91) (height . 50))) (setq default-frame-alist '( (border-color . "#4e3831") (foreground-color . "grey10") (background-color . "ghost white") (vertical-scroll-bars . left) (cursor-color . "purple") (cursor-type . box) (active-alpha . 0.75) (inactive-alpha . 0.875) (font . "-*-*-medium-r-normal--9-*-*-*-*-*-fontset- hiraginokaku") (top . 50) (left . 150) (width . 89) (height . 56))) X11 users can use X Ressources (look into the GNU Emacs manual, i.e. C-h i m Emacs and then search for the "Command Line Options and Arguments" node), which are organised in files like ~/.Xdefaults or ~/.Xressources (depends on the actual code in ~/.xinit or similiar files which set up the X11 environment). ~/.Xdefaults or ~/.Xressources can #include other files with set X application defaults. A lot "templates" exist in directories like /usr/X11R6/lib/ X11/app-defaults or /usr/X11R7/share/X11/app-defaults. -- Greetings Pete We are usually convinced more easily by reasons we have found ourselves than by those which have occurred to others. (Blaise Pascal)