From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lucas Newsgroups: gmane.emacs.help Subject: Re: Colorizing Emacs Date: Wed, 05 Mar 2003 12:27:00 +0100 Organization: Conteur Corp. Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84llzuffpr.fsf@lucy.is.informatik.uni-duisburg.de> <84el5m5h4f.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1046863974 8361 80.91.224.249 (5 Mar 2003 11:32:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2003 11:32:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 05 12:32:53 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 18qX8n-0002Ab-00 for ; Wed, 05 Mar 2003 12:32:53 +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 18qX6j-0001lG-01 for gnu-help-gnu-emacs@m.gmane.org; Wed, 05 Mar 2003 06:30:45 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!wanadoo.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 98 Original-NNTP-Posting-Host: alyon-110-1-13-99.abo.wanadoo.fr Original-X-Trace: news-reader11.wanadoo.fr 1046863600 21417 80.11.138.99 (5 Mar 2003 11:26:40 GMT) Original-X-Complaints-To: abuse@wanadoo.fr Original-NNTP-Posting-Date: 5 Mar 2003 11:26:40 GMT User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386-msvc-nt5.1.2600) Cancel-Lock: sha1:g8cL0F9Yzvdt6sNj+sFL2tCjBio= Original-Xref: shelby.stanford.edu gnu.emacs.help:110843 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:7344 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7344 Un beau jour, kai.grossjohann@uni-duisburg.de (Kai Großjohann) nous a dit: > Hm. Lessee now... > > ~/.Xresources has this: > > #define KAIFG black > #define KAIBG gainsboro Not so bad, I'll test for a few. > #define KAIBG_ALT grey Too sad :) > #define KAIBG_HILITE ghostwhite Highlight ? Highlight what ? :) Is there a way do define it in .emacs ? [...] > Emacs*pointerColor: KAIFG No way to do that on XP, bloody OS. > Emacs.pane.menubar.background: KAIBG_ALT > Emacs.pane.menubar.buttonForeground: red > Emacs.pane.menubar.buttonBackground: green [...] Fruit Salad :) And still no way to do that *easily* on XP... > Emacs.fringe.attributeBackground: KAIBG_ALT fringe ? You even set the border colour ? :) > And ~/.emacs has this: > > (set-mouse-color "black") > (eval-after-load "custom" > '(progn > (set-face-bold-p 'custom-button-face t))) Face not found :( > ;; if font has no italic, use color > (unless (condition-case nil > (x-resolve-font-name > (x-make-font-italic (x-get-resource "emacs" "font"))) My Emacs tells that x-make-font-italic is obsolete, but I'm sure you've got a good reason to keep using it :) [...] Nice colours too :) > > And then there is some stuff in ~/.gnus: > > (set-face-foreground 'gnus-header-content-face "indianred4") > (set-face-foreground 'gnus-header-newsgroups-face "midnightblue") I've much more colours, here's mine : (set-face-foreground 'gnus-summary-normal-read-face "blue") (set-face-foreground 'gnus-signature-face "purple4") (copy-face 'default 'gnus-cite-face-1) (set-face-foreground 'gnus-cite-face-1 "ligh slate gray") (copy-face 'default 'gnus-cite-face-2) (set-face-foreground 'gnus-cite-face-2 "sea green") (copy-face 'default 'gnus-cite-face-3) (set-face-foreground 'gnus-cite-face-3 "RosyBrown4") (copy-face 'default 'gnus-header-content-face) (set-face-foreground 'gnus-header-content-face "DeepPink1") (copy-face 'default 'gnus-header-from-face) (set-face-foreground 'gnus-header-from-face "olive drab") (copy-face 'default 'gnus-header-name-face) (set-face-foreground 'gnus-header-name-face "orchid") (copy-face 'italic 'gnus-header-subject-face) (set-face-foreground 'gnus-header-subject-face "lightcoral") (copy-face 'italic 'gnus-cite-attribution-face) (set-face-foreground 'gnus-cite-attribution-face "tan") (copy-face 'bold 'gnus-emphasis-bold) (set-face-foreground 'gnus-emphasis-bold "medium blue") (set-face-foreground 'message-header-other-face "pale violet red") (set-face-foreground 'message-cited-text-face "midnight blue") (copy-face 'bold 'gnus-group-news-3-face) (set-face-foreground 'gnus-group-news-3-face "LightBlue4") (set-face-foreground 'gnus-group-news-3-empty-face "SpringGreen4") (copy-face 'bold 'gnus-group-mail-3-face) (set-face-foreground 'gnus-group-mail-3-face "medium purple") (copy-face 'default 'gnus-group-mail-3-empty-face) (set-face-foreground 'gnus-group-mail-3-empty-face "khaki4") (set-face-foreground 'gnus-cite-face-1 "blue violet") I really enjoy whene there's tons of colour everywhere, as you can see > Does this help? Yes, sure, thanks. I still need to learn Elisp :) -- Lucas, fruit salad fan