info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ColorTheme badly functioning in Emacs 22


From: Sébastien Vauban
Subject: Re: ColorTheme badly functioning in Emacs 22
Date: Mon, 21 Aug 2006 19:37:02 GMT
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

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).
>>>
>>> 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"))))
>>>     | 
>>>     |      ;; 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))))
>>>     | 
>>>     |      ;; 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))))
>>>     | 
>>>     | [...]
>>>     |
>>>     `----
>>>
>>> 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 ]
>>>     | 
>>>     | [...]
>>>     | 
>>>     | ;; 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))
>>>     `----
>>
>> It works perfectly in Fedora core 5. Did you grab color-theme from CVS?
>
> http://www.emacswiki.org/cgi-bin/wiki?ColorTheme#ColorTheme3

No, I'm using color-theme 6.6.0 fetched from the EmacsWiki site...


> CVS version is fine in Dapper 606 too using the debian snapshot.

... under Dapper 6.06, using the Emacs snapshot:

    GNU Emacs 22.0.50.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll
    bars) of 2006-01-16 on vernadsky, modified by Debian.

Seb.

-- 
Sébastien Vauban


reply via email to

[Prev in Thread] Current Thread [Next in Thread]