From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/7852 Path: news.gmane.org!not-for-mail From: Leon Newsgroups: gmane.emacs.gnus.user Subject: Re: ColorTheme badly functioning in Emacs 22 Date: Sun, 20 Aug 2006 21:32:40 +0100 Message-ID: References: <87hd0749yz.fsf@missioncriticalit.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1156105985 11356 80.91.229.2 (20 Aug 2006 20:33:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 20 Aug 2006 20:33:05 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Aug 20 22:33:02 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GEtyd-0005N3-Pf for gegu-info-gnus-english@m.gmane.org; Sun, 20 Aug 2006 22:33:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GEtyc-0006pT-PU for gegu-info-gnus-english@m.gmane.org; Sun, 20 Aug 2006 16:32:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GEtyZ-0006mi-Dj for info-gnus-english@gnu.org; Sun, 20 Aug 2006 16:32:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GEtyW-0006ic-Af for info-gnus-english@gnu.org; Sun, 20 Aug 2006 16:32:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GEtyW-0006iH-18 for info-gnus-english@gnu.org; Sun, 20 Aug 2006 16:32:52 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GEu5j-0008UA-WB for info-gnus-english@gnu.org; Sun, 20 Aug 2006 16:40:20 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GEtyJ-0005Jo-BW for info-gnus-english@gnu.org; Sun, 20 Aug 2006 22:32:39 +0200 Original-Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Aug 2006 22:32:39 +0200 Original-Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Aug 2006 22:32:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: info-gnus-english@gnu.org Original-Lines: 186 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: sl392.st-edmunds.cam.ac.uk Face: iVBORw0KGgoAAAANSUhEUgAAAEAAAAAUCAMAAAAKqMsNAAAAwFBMVEUfIB4qLCk8PjxAQT9E RkNHSUZKS0lOUE1SVFFWV1VWWFVaW1lcXltfYV5kZWNpa2hsbmtub21vcW5ydHF3eXZ5e3h7fXp+ f32Agn+EhoOGiIWKjImNjouTlZKWmJWZm5icnpugop+jpaKnqaarraqwsq6ztbG4ure7vbq+wL3D xcLJy8jP0c3R09DT1dLV19TY2tfe4Nzf4d7h5ODj5eLn6ebq7Ont7+vv8e3y9PHz9fL19/T3+fb4 +/f8/vv+//wkcdDPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1gIaAyMPYYdloAAAAZlJ REFUOMudVH9TgkAQxWhqGBrqSueSQM2QUgQERxKBt9//W3V3IJKZf7A33I+927ePtxwaESWrveip oD6mEW3m4LkYbr77AWAXZ/NFaDkD+3Hfi8H7IjR8PS90fPI+ALEF6JkRFrd4m10/nH1fAvBmlAxR OEx7+cCV6O10OnQuAODgfE4qACVvw7dVPaylhbVPnMDmnNFWiSiNRDult1M1+APbtses9Yf+b4Yz 7rxKEUlGdzcwTuqceiqyhq07k6eqQplcm8Bzpv15qSo/8DjP5XRlEXktM49L3AlTJjgWJtE40Cjw O7YnvLOhbjEWSwr3URSLeDwlhDK3DtKnCAh8lA8Evm40aE0tx6mciWloeKgFlI8pfe4Lk00wgFGQ WWro6t7oXWsgY1ithuo2vCmGSiSmEWNLqgHc1E1oXR0B5llbORwB8okddZIc91UVUHrYjWCeKLSl 79D6Ss/i630FkE6WLvPvgvOC/ALAn88UzWUi3BXgHyv3+kXAv7eRdgbIKHm07QkAjMJpAL6Mev6R BMJOFrpEH4AfGukf4kwTGH0AAAAASUVORK5CYII= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:NSLig1BDxhjw4woddHOCd9I4C+w= X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:7852 Archived-At: It works perfectly in Fedora core 5. Did you grab color-theme from CVS? On Sun, 20 Aug 2006 17:01:56 GMT, Sébastien Vauban wrote: > Hello, > > I'm a long time user (and a big fan) of ColorTheme, but have now > problems within Emacs 22 (both in Ubuntu and in the Windows > port): many buffers are not colored anymore (Gnus groups for > example), or not the first time the buffer is visited (Org list > of tasks for example). > > Note -- I don't have any color trouble with the message > buffer, for example. Very very weird. > > Going back and forth from/to Emacs 21/22 with the same .emacs > configuration file, I can see the differences: my color theme is > no more applied... > > ,----[ color-theme-seb.el ] > | > | (require 'color-theme) > | > | (defun color-theme-seb () > | "Initialize faces according to my preferences." > | (interactive) > | (color-theme-install > | '(color-theme-seb > | ((background-color . "white") > | (background-mode . light) > | (border-color . "black") > | (cursor-color . "rgb:15/FF/00") > | (foreground-color . "black") > | (mouse-color . "black")) > | > | (default ((t (nil)))) > | (bold ((t (:bold t :weight bold)))) > | (bold-italic ((t (:italic t :bold t :slant italic :weight bold)))) > | (italic ((t (:italic t :slant italic)))) > | (underline ((t (:underline t)))) > | (highlight ((t (:foreground "white" :background "rgb:31/6A/C5")))) ;; darkolivegreen > | > | ;; Gnus group buffer > | (gnus-group-mail-1-empty-face ((t (:foreground "rgb:50/50/B0")))) > | (gnus-group-mail-1-face ((t (:foreground "rgb:50/50/B0" :bold t)))) > | (gnus-group-mail-2-empty-face ((t (:foreground "rgb:66/00/66")))) > | (gnus-group-mail-2-face ((t (:foreground "rgb:66/00/66" :bold t)))) > | (gnus-group-mail-3-empty-face ((t (:foreground "rgb:00/77/77")))) > | (gnus-group-mail-3-face ((t (:foreground "rgb:00/77/77" :bold t)))) > | > | (gnus-group-news-1-empty-face ((t (:foreground "rgb:50/50/B0")))) > | (gnus-group-news-1-face ((t (:foreground "rgb:50/50/B0" :bold t)))) > | (gnus-group-news-2-empty-face ((t (:foreground "rgb:66/00/66")))) > | (gnus-group-news-2-face ((t (:foreground "rgb:66/00/66" :bold t)))) > | (gnus-group-news-3-empty-face ((t (:foreground "rgb:00/77/77")))) > | (gnus-group-news-3-face ((t (:foreground "rgb:00/77/77" :bold t)))) > | (gnus-group-news-4-empty-face ((t (:foreground "rgb:99/00/00")))) > | (gnus-group-news-4-face ((t (:foreground "rgb:99/00/00" :bold t)))) > | (gnus-group-news-5-empty-face ((t (:foreground "rgb:00/00/99")))) > | (gnus-group-news-5-face ((t (:foreground "rgb:00/00/99" :bold t)))) > | (gnus-group-news-6-empty-face ((t (:foreground "rgb:BB/66/00")))) > | (gnus-group-news-6-face ((t (:foreground "rgb:BB/66/00" :bold t)))) > | > | ;; Gnus summary buffer > | (gnus-summary-selected-face ((t (:foreground "rgb:FF/66/33" :bold t)))) > | (gnus-summary-high-unread-face ((t (:foreground "blue" :bold t)))) > | (gnus-summary-high-read-face ((t (:foreground "rgb:80/00/80" :bold t)))) > | (gnus-summary-high-ticked-face ((t (:foreground "hot pink" :bold t)))) > | (gnus-summary-high-ancient-face ((t (:foreground "rgb:77/77/99" :bold t)))) > | (gnus-summary-normal-unread-face ((t (:foreground "blue")))) > | (gnus-summary-normal-read-face ((t (:foreground "rgb:80/00/80")))) > | (gnus-summary-normal-ticked-face ((t (:foreground "hot pink")))) > | (gnus-summary-normal-ancient-face ((t (:foreground "rgb:77/77/99")))) > | (gnus-summary-low-unread-face ((t (:low t :foreground "blue" :italic t)))) > | (gnus-summary-low-read-face ((t (:low t :foreground "rgb:80/00/80" > | :italic t)))) > | (gnus-summary-low-ticked-face ((t (:low t :foreground "hot pink" > | :italic t)))) > | (gnus-summary-low-ancient-face ((t (:low t :foreground "rgb:77/77/99" > | :italic t)))) > | (gnus-summary-cancelled-face ((t (:italic t :foreground "gray55" > | :strike-through t)))) > | > | ;; Gnus article buffer > | (gnus-header-name-face ((t (:foreground "rgb:33/99/CC" :bold t > | :family "Arial")))) > | (gnus-header-from-face ((t (:foreground "blue" :family "Arial")))) > | (gnus-header-subject-face ((t (:foreground "rgb:FF/66/33" :bold t)))) > | (gnus-header-newsgroups-face ((t (:foreground "rgb:33/99/CC" > | :family "Arial")))) > | (gnus-header-content-face ((t (:foreground "rgb:33/99/CC" > | :family "Arial")))) > | (gnus-cite-attribution-face ((t (:foreground "rgb:50/50/B0")))) > | (gnus-cite-face-1 ((t (:foreground "rgb:50/50/B0")))) > | (gnus-cite-face-2 ((t (:foreground "rgb:66/00/66")))) > | (gnus-cite-face-3 ((t (:foreground "rgb:00/77/77")))) > | (gnus-cite-face-4 ((t (:foreground "rgb:99/00/00")))) > | (gnus-cite-face-5 ((t (:foreground "rgb:00/00/99")))) > | (gnus-cite-face-6 ((t (:foreground "rgb:BB/66/00")))) > | (gnus-cite-face-7 ((t (:foreground "rgb:50/50/B0")))) > | (gnus-cite-face-8 ((t (:foreground "rgb:66/00/66")))) > | (gnus-cite-face-9 ((t (:foreground "rgb:00/77/77")))) > | (gnus-cite-face-10 ((t (:foreground "rgb:99/00/00")))) > | (gnus-signature-face ((t (:foreground "rgb:7F/7F/7F")))) > | (gnus-emphasis-bold ((t (:bold t)))) > | > | (widget-button-face ((t (:bold t :weight bold)))) > | (widget-button-pressed-face ((t (:foreground "red")))) > | (widget-documentation-face ((t (:foreground "dark green")))) > | (widget-field-face ((t (:background "gray85")))) > | (widget-inactive-face ((t (:foreground "dim gray")))) > | (widget-single-line-field-face ((t (:background "gray85")))) > | > | ;; when replying > | (message-header-name-face ((t (:foreground "rgb:33/99/CC" :bold t > | :family "Arial")))) > | (message-header-to-face ((t (:foreground "blue" :family "Arial")))) > | (message-header-cc-face ((t (:foreground "blue" :family "Arial")))) > | (message-header-subject-face ((t (:foreground "rgb:FF/66/33" :bold t)))) > | (message-header-newsgroups-face ((t (:foreground "rgb:33/99/CC" > | :family "Arial")))) > | (message-header-xheader-face ((t (:foreground "red")))) > | (message-header-other-face ((t (:foreground "rgb:33/99/CC" > | :family "Arial")))) > | (message-separator-face ((t (:foreground "red" :bold t :family "Arial")))) > | (message-cited-text-face ((t (:foreground "rgb:50/50/B0")))) > | (message-mml-face ((t (:foreground "ForestGreen")))) > | > | ;; Gnus/Message > | (gnus-emphasis-highlight-words ((t (:background "black" > | :foreground "yellow")))) > | (gnus-picon-face ((t (:background "white" :foreground "yellow")))) > | (gnus-picon-xbm-face ((t (:background "white" :foreground "yellow")))) > | (gnus-x-face ((t (:background "white" :foreground "black")))) > | > | ;; org > | (org-done ((t (:foreground "gray55" :strike-through t)))) > | (org-level-1 ((t (:foreground "blue" :bold t :height 1.4)))) > | (org-level-2 ((t (:foreground "red" :bold t :height 1.2)))) > | (org-level-3 ((t (:foreground "Purple")))) > | (org-scheduled-previously ((t (:foreground "blue" :bold t)))) > | (org-scheduled-today ((t (:foreground "blue")))) > | (org-upcoming-deadline ((t (:foreground "DarkOrange" :bold t)))) > | > | ))) > | > | (provide 'color-theme-seb) > `---- > > I don't know if it's of importance, but here are the fonts I'm > using (one under Ubuntu, the other under Windows, in 9 points): > > ,----[ Extract of my .emacs ] > | > | ;;; ----[ Faces > | > | ;; set default color theme > | (when (try-require 'color-theme) > | (color-theme-initialize) > | (when (try-require 'color-theme-seb) > | (color-theme-seb))) > | > | ;; allow any scalable font > | (when running-ms-windows > | (setq scalable-fonts-allowed t)) > | > | ;; set default font family and font size > | (assq-delete-all 'font default-frame-alist) > | (defvar my-default-font > | (if running-ms-windows > | "-*-Courier New-*-*-*-*-12-90-*-*-*-*-*-*" > | "-Misc-Fixed-Medium-R-SemiCondensed-*-13-*-*-*-*-*-*-*")) > | ;; this latest face supports bold (in Gnus) while > | ;; "-misc-*-*-*-*-*-12-90-*-*-*-*-*-*" does not!! > | > | (add-to-list 'default-frame-alist (cons 'font my-default-font)) > `---- > > Can you help? > > Thanks a lot, > Seb -- Leon