diff options
| author | ShengHuo ZHU | 2002-01-02 03:36:29 +0000 |
|---|---|---|
| committer | ShengHuo ZHU | 2002-01-02 03:36:29 +0000 |
| commit | 43273f39cfd837a79b6b5fb4eabe8bacb37e253b (patch) | |
| tree | 6196788da50c97a79c788d73eae1ca03f7531c54 | |
| parent | 03950b5baf42cb6ea1e518a3f023cc36c160d12c (diff) | |
| download | emacs-43273f39cfd837a79b6b5fb4eabe8bacb37e253b.tar.gz emacs-43273f39cfd837a79b6b5fb4eabe8bacb37e253b.zip | |
2002-01-01 ShengHuo ZHU <zsh@cs.rochester.edu>
* message.el, gnus-art.el, gnus.el, gnus-cite.el:
Adapt face definitions to use :weight and :slant.
| -rw-r--r-- | lisp/gnus/ChangeLog | 43 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 34 | ||||
| -rw-r--r-- | lisp/gnus/gnus-cite.el | 26 | ||||
| -rw-r--r-- | lisp/gnus/gnus.el | 102 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 34 |
5 files changed, 136 insertions, 103 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index e1dcca8c8dd..885687c043e 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-01-01 ShengHuo ZHU <zsh@cs.rochester.edu> | ||
| 2 | |||
| 3 | * message.el, gnus-art.el, gnus.el, gnus-cite.el: | ||
| 4 | Adapt face definitions to use :weight and :slant. | ||
| 5 | |||
| 1 | 2001-12-12 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 6 | 2001-12-12 Pavel Jan,Bm(Bk <Pavel@Janik.cz> |
| 2 | 7 | ||
| 3 | * gnus-mlspl.el (gnus-group-split-fancy): Doc fix (add reference | 8 | * gnus-mlspl.el (gnus-group-split-fancy): Doc fix (add reference |
| @@ -5,7 +10,11 @@ | |||
| 5 | 10 | ||
| 6 | 2001-12-05 ShengHuo ZHU <zsh@cs.rochester.edu> | 11 | 2001-12-05 ShengHuo ZHU <zsh@cs.rochester.edu> |
| 7 | 12 | ||
| 8 | * mm-view.el: Partially sync with the Gnus CVS. | 13 | * mm-view.el (mm-inline-text): w3-coding-system-for-mime-charset |
| 14 | may not defined. From: Raja R Harinath <harinath@cs.umn.edu>. | ||
| 15 | |||
| 16 | * mm-view.el (mm-inline-message): Insert a newline unless bolp. | ||
| 17 | |||
| 9 | * gnus-sum.el (gnus-summary-save-article): Nix | 18 | * gnus-sum.el (gnus-summary-save-article): Nix |
| 10 | gnus-display-mime-function and gnus-article-prepare-hook. | 19 | gnus-display-mime-function and gnus-article-prepare-hook. |
| 11 | 20 | ||
| @@ -40,8 +49,23 @@ | |||
| 40 | 49 | ||
| 41 | * gnus-util.el (gnus-directory-sep-char-regexp): New variable. | 50 | * gnus-util.el (gnus-directory-sep-char-regexp): New variable. |
| 42 | * gnus-score.el (gnus-score-find-bnews): Use it. | 51 | * gnus-score.el (gnus-score-find-bnews): Use it. |
| 43 | * mm-util.el: Sync. Read ChangeLog in Gnus CVS. | 52 | * mm-util.el (mm-iso-8859-x-to-15-region): Use |
| 44 | 53 | insert-before-markers. | |
| 54 | From Jesper Harder <harder@ifa.au.dk> | ||
| 55 | * mm-util.el (mm-coding-system-priorities): Add backslash in the doc. | ||
| 56 | * mm-util.el (mm-coding-system-priorities): New variable. | ||
| 57 | (mm-sort-coding-systems-predicate): New function. | ||
| 58 | (mm-find-mime-charset-region): Resort coding systems if needed. | ||
| 59 | Suggested by Katsumi Yamaoka <yamaoka@jpl.org>. | ||
| 60 | |||
| 61 | * mm-util.el (mm-iso-8859-15-compatible): Fix doc. | ||
| 62 | (mm-hack-charsets): Fix doc. | ||
| 63 | |||
| 64 | * mm-util.el (mm-iso-8859-15-compatible): Add inconvertible chars. | ||
| 65 | (mm-iso-8859-x-to-15-table): Ditto. | ||
| 66 | (mm-iso-8859-x-to-15-region): Ditto. | ||
| 67 | (mm-find-mime-charset-region): Ditto. | ||
| 68 | |||
| 45 | * gnus-sum.el (gnus-summary-limit-to-subject): An exclusion version. | 69 | * gnus-sum.el (gnus-summary-limit-to-subject): An exclusion version. |
| 46 | (gnus-summary-limit-to-author): Ditto. | 70 | (gnus-summary-limit-to-author): Ditto. |
| 47 | (gnus-summary-limit-to-extra): Ditto. | 71 | (gnus-summary-limit-to-extra): Ditto. |
| @@ -75,8 +99,17 @@ | |||
| 75 | 99 | ||
| 76 | 2001-10-30 ShengHuo ZHU <zsh@cs.rochester.edu> | 100 | 2001-10-30 ShengHuo ZHU <zsh@cs.rochester.edu> |
| 77 | 101 | ||
| 78 | * mm-util.el, nnultimate.el, nnweb.el, nnslashdot.el: Sync with | 102 | * mm-util.el (mm-iso-8859-x-to-15-region): New function. |
| 79 | the Gnus CVS. | 103 | (mm-hack-charsets): New variable. |
| 104 | (mm-iso-8859-15-compatible): New variable. | ||
| 105 | (mm-iso-8859-x-to-15-table): New variable. | ||
| 106 | (mm-find-mime-charset-region): Add parameter hack-charsets. | ||
| 107 | |||
| 108 | * mm-util.el (mm-charset-to-coding-system): Return nil, if charset | ||
| 109 | is nil. | ||
| 110 | |||
| 111 | * nnultimate.el, nnweb.el, nnslashdot.el: Update, because the web | ||
| 112 | pages are changed. | ||
| 80 | 113 | ||
| 81 | * mm-util.el (mm-mime-mule-charset-alist): Move down and call | 114 | * mm-util.el (mm-mime-mule-charset-alist): Move down and call |
| 82 | mm-coding-system-p. Don't correct it only in XEmacs. | 115 | mm-coding-system-p. Don't correct it only in XEmacs. |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index e3b560eaa7b..f4a1a88f41a 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; gnus-art.el --- article mode commands for Gnus | 1 | ;;; gnus-art.el --- article mode commands for Gnus |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 | 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> |
| @@ -278,11 +278,11 @@ and the latter avoids underlining any whitespace at all." | |||
| 278 | :group 'gnus-article-emphasis | 278 | :group 'gnus-article-emphasis |
| 279 | :type 'regexp) | 279 | :type 'regexp) |
| 280 | 280 | ||
| 281 | (defface gnus-emphasis-bold '((t (:bold t))) | 281 | (defface gnus-emphasis-bold '((t (:weight bold))) |
| 282 | "Face used for displaying strong emphasized text (*word*)." | 282 | "Face used for displaying strong emphasized text (*word*)." |
| 283 | :group 'gnus-article-emphasis) | 283 | :group 'gnus-article-emphasis) |
| 284 | 284 | ||
| 285 | (defface gnus-emphasis-italic '((t (:italic t))) | 285 | (defface gnus-emphasis-italic '((t (:slant italic))) |
| 286 | "Face used for displaying italic emphasized text (/word/)." | 286 | "Face used for displaying italic emphasized text (/word/)." |
| 287 | :group 'gnus-article-emphasis) | 287 | :group 'gnus-article-emphasis) |
| 288 | 288 | ||
| @@ -290,20 +290,20 @@ and the latter avoids underlining any whitespace at all." | |||
| 290 | "Face used for displaying underlined emphasized text (_word_)." | 290 | "Face used for displaying underlined emphasized text (_word_)." |
| 291 | :group 'gnus-article-emphasis) | 291 | :group 'gnus-article-emphasis) |
| 292 | 292 | ||
| 293 | (defface gnus-emphasis-underline-bold '((t (:bold t :underline t))) | 293 | (defface gnus-emphasis-underline-bold '((t (:weight bold :underline t))) |
| 294 | "Face used for displaying underlined bold emphasized text (_*word*_)." | 294 | "Face used for displaying underlined bold emphasized text (_*word*_)." |
| 295 | :group 'gnus-article-emphasis) | 295 | :group 'gnus-article-emphasis) |
| 296 | 296 | ||
| 297 | (defface gnus-emphasis-underline-italic '((t (:italic t :underline t))) | 297 | (defface gnus-emphasis-underline-italic '((t (:slant italic :underline t))) |
| 298 | "Face used for displaying underlined italic emphasized text (_/word/_)." | 298 | "Face used for displaying underlined italic emphasized text (_/word/_)." |
| 299 | :group 'gnus-article-emphasis) | 299 | :group 'gnus-article-emphasis) |
| 300 | 300 | ||
| 301 | (defface gnus-emphasis-bold-italic '((t (:bold t :italic t))) | 301 | (defface gnus-emphasis-bold-italic '((t (:weight bold :slant italic))) |
| 302 | "Face used for displaying bold italic emphasized text (/*word*/)." | 302 | "Face used for displaying bold italic emphasized text (/*word*/)." |
| 303 | :group 'gnus-article-emphasis) | 303 | :group 'gnus-article-emphasis) |
| 304 | 304 | ||
| 305 | (defface gnus-emphasis-underline-bold-italic | 305 | (defface gnus-emphasis-underline-bold-italic |
| 306 | '((t (:bold t :italic t :underline t))) | 306 | '((t (:weight bold :slant italic :underline t))) |
| 307 | "Face used for displaying underlined bold italic emphasized text. | 307 | "Face used for displaying underlined bold italic emphasized text. |
| 308 | Esample: (_/*word*/_)." | 308 | Esample: (_/*word*/_)." |
| 309 | :group 'gnus-article-emphasis) | 309 | :group 'gnus-article-emphasis) |
| @@ -489,7 +489,7 @@ Obsolete; use the face `gnus-signature-face' for customizations instead." | |||
| 489 | 489 | ||
| 490 | (defface gnus-signature-face | 490 | (defface gnus-signature-face |
| 491 | '((t | 491 | '((t |
| 492 | (:italic t))) | 492 | (:slant italic))) |
| 493 | "Face used for highlighting a signature in the article buffer." | 493 | "Face used for highlighting a signature in the article buffer." |
| 494 | :group 'gnus-article-highlight | 494 | :group 'gnus-article-highlight |
| 495 | :group 'gnus-article-signature) | 495 | :group 'gnus-article-signature) |
| @@ -502,7 +502,7 @@ Obsolete; use the face `gnus-signature-face' for customizations instead." | |||
| 502 | (background light)) | 502 | (background light)) |
| 503 | (:foreground "red3")) | 503 | (:foreground "red3")) |
| 504 | (t | 504 | (t |
| 505 | (:italic t))) | 505 | (:slant italic))) |
| 506 | "Face used for displaying from headers." | 506 | "Face used for displaying from headers." |
| 507 | :group 'gnus-article-headers | 507 | :group 'gnus-article-headers |
| 508 | :group 'gnus-article-highlight) | 508 | :group 'gnus-article-highlight) |
| @@ -515,7 +515,7 @@ Obsolete; use the face `gnus-signature-face' for customizations instead." | |||
| 515 | (background light)) | 515 | (background light)) |
| 516 | (:foreground "red4")) | 516 | (:foreground "red4")) |
| 517 | (t | 517 | (t |
| 518 | (:bold t :italic t))) | 518 | (:weight bold :slant italic))) |
| 519 | "Face used for displaying subject headers." | 519 | "Face used for displaying subject headers." |
| 520 | :group 'gnus-article-headers | 520 | :group 'gnus-article-headers |
| 521 | :group 'gnus-article-highlight) | 521 | :group 'gnus-article-highlight) |
| @@ -523,12 +523,12 @@ Obsolete; use the face `gnus-signature-face' for customizations instead." | |||
| 523 | (defface gnus-header-newsgroups-face | 523 | (defface gnus-header-newsgroups-face |
| 524 | '((((class color) | 524 | '((((class color) |
| 525 | (background dark)) | 525 | (background dark)) |
| 526 | (:foreground "yellow" :italic t)) | 526 | (:foreground "yellow" :slant italic)) |
| 527 | (((class color) | 527 | (((class color) |
| 528 | (background light)) | 528 | (background light)) |
| 529 | (:foreground "MidnightBlue" :italic t)) | 529 | (:foreground "MidnightBlue" :slant italic)) |
| 530 | (t | 530 | (t |
| 531 | (:italic t))) | 531 | (:slant italic))) |
| 532 | "Face used for displaying newsgroups headers." | 532 | "Face used for displaying newsgroups headers." |
| 533 | :group 'gnus-article-headers | 533 | :group 'gnus-article-headers |
| 534 | :group 'gnus-article-highlight) | 534 | :group 'gnus-article-highlight) |
| @@ -541,7 +541,7 @@ Obsolete; use the face `gnus-signature-face' for customizations instead." | |||
| 541 | (background light)) | 541 | (background light)) |
| 542 | (:foreground "maroon")) | 542 | (:foreground "maroon")) |
| 543 | (t | 543 | (t |
| 544 | (:bold t))) | 544 | (:weight bold))) |
| 545 | "Face used for displaying header names." | 545 | "Face used for displaying header names." |
| 546 | :group 'gnus-article-headers | 546 | :group 'gnus-article-headers |
| 547 | :group 'gnus-article-highlight) | 547 | :group 'gnus-article-highlight) |
| @@ -549,12 +549,12 @@ Obsolete; use the face `gnus-signature-face' for customizations instead." | |||
| 549 | (defface gnus-header-content-face | 549 | (defface gnus-header-content-face |
| 550 | '((((class color) | 550 | '((((class color) |
| 551 | (background dark)) | 551 | (background dark)) |
| 552 | (:foreground "forest green" :italic t)) | 552 | (:foreground "forest green" :slant italic)) |
| 553 | (((class color) | 553 | (((class color) |
| 554 | (background light)) | 554 | (background light)) |
| 555 | (:foreground "indianred4" :italic t)) | 555 | (:foreground "indianred4" :slant italic)) |
| 556 | (t | 556 | (t |
| 557 | (:italic t))) "Face used for displaying header content." | 557 | (:slant italic))) "Face used for displaying header content." |
| 558 | :group 'gnus-article-headers | 558 | :group 'gnus-article-headers |
| 559 | :group 'gnus-article-highlight) | 559 | :group 'gnus-article-highlight) |
| 560 | 560 | ||
diff --git a/lisp/gnus/gnus-cite.el b/lisp/gnus/gnus-cite.el index ef659175b14..2bca7c25d6e 100644 --- a/lisp/gnus/gnus-cite.el +++ b/lisp/gnus/gnus-cite.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; gnus-cite.el --- parse citations in articles for Gnus -*- coding: iso-latin-1 -*- | 1 | ;;; gnus-cite.el --- parse citations in articles for Gnus -*- coding: iso-latin-1 -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 | 3 | ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Per Abhiddenware | 6 | ;; Author: Per Abhiddenware |
| @@ -124,7 +124,7 @@ The text matching the first grouping will be used as a button." | |||
| 124 | :type 'regexp) | 124 | :type 'regexp) |
| 125 | 125 | ||
| 126 | (defface gnus-cite-attribution-face '((t | 126 | (defface gnus-cite-attribution-face '((t |
| 127 | (:italic t))) | 127 | (:slant italic))) |
| 128 | "Face used for attribution lines.") | 128 | "Face used for attribution lines.") |
| 129 | 129 | ||
| 130 | (defcustom gnus-cite-attribution-face 'gnus-cite-attribution-face | 130 | (defcustom gnus-cite-attribution-face 'gnus-cite-attribution-face |
| @@ -140,7 +140,7 @@ It is merged with the face for the cited text belonging to the attribution." | |||
| 140 | (background light)) | 140 | (background light)) |
| 141 | (:foreground "MidnightBlue")) | 141 | (:foreground "MidnightBlue")) |
| 142 | (t | 142 | (t |
| 143 | (:italic t))) | 143 | (:slant italic))) |
| 144 | "Citation face.") | 144 | "Citation face.") |
| 145 | 145 | ||
| 146 | (defface gnus-cite-face-2 '((((class color) | 146 | (defface gnus-cite-face-2 '((((class color) |
| @@ -150,7 +150,7 @@ It is merged with the face for the cited text belonging to the attribution." | |||
| 150 | (background light)) | 150 | (background light)) |
| 151 | (:foreground "firebrick")) | 151 | (:foreground "firebrick")) |
| 152 | (t | 152 | (t |
| 153 | (:italic t))) | 153 | (:slant italic))) |
| 154 | "Citation face.") | 154 | "Citation face.") |
| 155 | 155 | ||
| 156 | (defface gnus-cite-face-3 '((((class color) | 156 | (defface gnus-cite-face-3 '((((class color) |
| @@ -160,7 +160,7 @@ It is merged with the face for the cited text belonging to the attribution." | |||
| 160 | (background light)) | 160 | (background light)) |
| 161 | (:foreground "dark green")) | 161 | (:foreground "dark green")) |
| 162 | (t | 162 | (t |
| 163 | (:italic t))) | 163 | (:slant italic))) |
| 164 | "Citation face.") | 164 | "Citation face.") |
| 165 | 165 | ||
| 166 | (defface gnus-cite-face-4 '((((class color) | 166 | (defface gnus-cite-face-4 '((((class color) |
| @@ -170,7 +170,7 @@ It is merged with the face for the cited text belonging to the attribution." | |||
| 170 | (background light)) | 170 | (background light)) |
| 171 | (:foreground "OrangeRed")) | 171 | (:foreground "OrangeRed")) |
| 172 | (t | 172 | (t |
| 173 | (:italic t))) | 173 | (:slant italic))) |
| 174 | "Citation face.") | 174 | "Citation face.") |
| 175 | 175 | ||
| 176 | (defface gnus-cite-face-5 '((((class color) | 176 | (defface gnus-cite-face-5 '((((class color) |
| @@ -180,7 +180,7 @@ It is merged with the face for the cited text belonging to the attribution." | |||
| 180 | (background light)) | 180 | (background light)) |
| 181 | (:foreground "dark khaki")) | 181 | (:foreground "dark khaki")) |
| 182 | (t | 182 | (t |
| 183 | (:italic t))) | 183 | (:slant italic))) |
| 184 | "Citation face.") | 184 | "Citation face.") |
| 185 | 185 | ||
| 186 | (defface gnus-cite-face-6 '((((class color) | 186 | (defface gnus-cite-face-6 '((((class color) |
| @@ -190,7 +190,7 @@ It is merged with the face for the cited text belonging to the attribution." | |||
| 190 | (background light)) | 190 | (background light)) |
| 191 | (:foreground "dark violet")) | 191 | (:foreground "dark violet")) |
| 192 | (t | 192 | (t |
| 193 | (:italic t))) | 193 | (:slant italic))) |
| 194 | "Citation face.") | 194 | "Citation face.") |
| 195 | 195 | ||
| 196 | (defface gnus-cite-face-7 '((((class color) | 196 | (defface gnus-cite-face-7 '((((class color) |
| @@ -200,7 +200,7 @@ It is merged with the face for the cited text belonging to the attribution." | |||
| 200 | (background light)) | 200 | (background light)) |
| 201 | (:foreground "SteelBlue4")) | 201 | (:foreground "SteelBlue4")) |
| 202 | (t | 202 | (t |
| 203 | (:italic t))) | 203 | (:slant italic))) |
| 204 | "Citation face.") | 204 | "Citation face.") |
| 205 | 205 | ||
| 206 | (defface gnus-cite-face-8 '((((class color) | 206 | (defface gnus-cite-face-8 '((((class color) |
| @@ -210,7 +210,7 @@ It is merged with the face for the cited text belonging to the attribution." | |||
| 210 | (background light)) | 210 | (background light)) |
| 211 | (:foreground "magenta")) | 211 | (:foreground "magenta")) |
| 212 | (t | 212 | (t |
| 213 | (:italic t))) | 213 | (:slant italic))) |
| 214 | "Citation face.") | 214 | "Citation face.") |
| 215 | 215 | ||
| 216 | (defface gnus-cite-face-9 '((((class color) | 216 | (defface gnus-cite-face-9 '((((class color) |
| @@ -220,7 +220,7 @@ It is merged with the face for the cited text belonging to the attribution." | |||
| 220 | (background light)) | 220 | (background light)) |
| 221 | (:foreground "violet")) | 221 | (:foreground "violet")) |
| 222 | (t | 222 | (t |
| 223 | (:italic t))) | 223 | (:slant italic))) |
| 224 | "Citation face.") | 224 | "Citation face.") |
| 225 | 225 | ||
| 226 | (defface gnus-cite-face-10 '((((class color) | 226 | (defface gnus-cite-face-10 '((((class color) |
| @@ -230,7 +230,7 @@ It is merged with the face for the cited text belonging to the attribution." | |||
| 230 | (background light)) | 230 | (background light)) |
| 231 | (:foreground "medium purple")) | 231 | (:foreground "medium purple")) |
| 232 | (t | 232 | (t |
| 233 | (:italic t))) | 233 | (:slant italic))) |
| 234 | "Citation face.") | 234 | "Citation face.") |
| 235 | 235 | ||
| 236 | (defface gnus-cite-face-11 '((((class color) | 236 | (defface gnus-cite-face-11 '((((class color) |
| @@ -240,7 +240,7 @@ It is merged with the face for the cited text belonging to the attribution." | |||
| 240 | (background light)) | 240 | (background light)) |
| 241 | (:foreground "turquoise")) | 241 | (:foreground "turquoise")) |
| 242 | (t | 242 | (t |
| 243 | (:italic t))) | 243 | (:slant italic))) |
| 244 | "Citation face.") | 244 | "Citation face.") |
| 245 | 245 | ||
| 246 | (defcustom gnus-cite-face-list | 246 | (defcustom gnus-cite-face-list |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 10144d73fed..c34c45cc12d 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; gnus.el --- a newsreader for GNU Emacs | 1 | ;;; gnus.el --- a newsreader for GNU Emacs |
| 2 | ;; Copyright (C) 1987, 1988, 1989, 1990, 1993, 1994, 1995, 1996, | 2 | ;; Copyright (C) 1987, 1988, 1989, 1990, 1993, 1994, 1995, 1996, 1997, |
| 3 | ;; 1997, 1998, 2000, 2001 Free Software Foundation, Inc. | 3 | ;; 1998, 2000, 2001, 2002 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> | 5 | ;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> |
| 6 | ;; Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | ;; Lars Magne Ingebrigtsen <larsi@gnus.org> |
| @@ -325,10 +325,10 @@ be set in `.emacs' instead." | |||
| 325 | (defface gnus-group-news-1-face | 325 | (defface gnus-group-news-1-face |
| 326 | '((((class color) | 326 | '((((class color) |
| 327 | (background dark)) | 327 | (background dark)) |
| 328 | (:foreground "PaleTurquoise" :bold t)) | 328 | (:foreground "PaleTurquoise" :weight bold)) |
| 329 | (((class color) | 329 | (((class color) |
| 330 | (background light)) | 330 | (background light)) |
| 331 | (:foreground "ForestGreen" :bold t)) | 331 | (:foreground "ForestGreen" :weight bold)) |
| 332 | (t | 332 | (t |
| 333 | ())) | 333 | ())) |
| 334 | "Level 1 newsgroup face.") | 334 | "Level 1 newsgroup face.") |
| @@ -347,10 +347,10 @@ be set in `.emacs' instead." | |||
| 347 | (defface gnus-group-news-2-face | 347 | (defface gnus-group-news-2-face |
| 348 | '((((class color) | 348 | '((((class color) |
| 349 | (background dark)) | 349 | (background dark)) |
| 350 | (:foreground "turquoise" :bold t)) | 350 | (:foreground "turquoise" :weight bold)) |
| 351 | (((class color) | 351 | (((class color) |
| 352 | (background light)) | 352 | (background light)) |
| 353 | (:foreground "CadetBlue4" :bold t)) | 353 | (:foreground "CadetBlue4" :weight bold)) |
| 354 | (t | 354 | (t |
| 355 | ())) | 355 | ())) |
| 356 | "Level 2 newsgroup face.") | 356 | "Level 2 newsgroup face.") |
| @@ -369,10 +369,10 @@ be set in `.emacs' instead." | |||
| 369 | (defface gnus-group-news-3-face | 369 | (defface gnus-group-news-3-face |
| 370 | '((((class color) | 370 | '((((class color) |
| 371 | (background dark)) | 371 | (background dark)) |
| 372 | (:bold t)) | 372 | (:weight bold)) |
| 373 | (((class color) | 373 | (((class color) |
| 374 | (background light)) | 374 | (background light)) |
| 375 | (:bold t)) | 375 | (:weight bold)) |
| 376 | (t | 376 | (t |
| 377 | ())) | 377 | ())) |
| 378 | "Level 3 newsgroup face.") | 378 | "Level 3 newsgroup face.") |
| @@ -391,10 +391,10 @@ be set in `.emacs' instead." | |||
| 391 | (defface gnus-group-news-4-face | 391 | (defface gnus-group-news-4-face |
| 392 | '((((class color) | 392 | '((((class color) |
| 393 | (background dark)) | 393 | (background dark)) |
| 394 | (:bold t)) | 394 | (:weight bold)) |
| 395 | (((class color) | 395 | (((class color) |
| 396 | (background light)) | 396 | (background light)) |
| 397 | (:bold t)) | 397 | (:weight bold)) |
| 398 | (t | 398 | (t |
| 399 | ())) | 399 | ())) |
| 400 | "Level 4 newsgroup face.") | 400 | "Level 4 newsgroup face.") |
| @@ -413,10 +413,10 @@ be set in `.emacs' instead." | |||
| 413 | (defface gnus-group-news-5-face | 413 | (defface gnus-group-news-5-face |
| 414 | '((((class color) | 414 | '((((class color) |
| 415 | (background dark)) | 415 | (background dark)) |
| 416 | (:bold t)) | 416 | (:weight bold)) |
| 417 | (((class color) | 417 | (((class color) |
| 418 | (background light)) | 418 | (background light)) |
| 419 | (:bold t)) | 419 | (:weight bold)) |
| 420 | (t | 420 | (t |
| 421 | ())) | 421 | ())) |
| 422 | "Level 5 newsgroup face.") | 422 | "Level 5 newsgroup face.") |
| @@ -435,10 +435,10 @@ be set in `.emacs' instead." | |||
| 435 | (defface gnus-group-news-6-face | 435 | (defface gnus-group-news-6-face |
| 436 | '((((class color) | 436 | '((((class color) |
| 437 | (background dark)) | 437 | (background dark)) |
| 438 | (:bold t)) | 438 | (:weight bold)) |
| 439 | (((class color) | 439 | (((class color) |
| 440 | (background light)) | 440 | (background light)) |
| 441 | (:bold t)) | 441 | (:weight bold)) |
| 442 | (t | 442 | (t |
| 443 | ())) | 443 | ())) |
| 444 | "Level 6 newsgroup face.") | 444 | "Level 6 newsgroup face.") |
| @@ -457,10 +457,10 @@ be set in `.emacs' instead." | |||
| 457 | (defface gnus-group-news-low-face | 457 | (defface gnus-group-news-low-face |
| 458 | '((((class color) | 458 | '((((class color) |
| 459 | (background dark)) | 459 | (background dark)) |
| 460 | (:foreground "DarkTurquoise" :bold t)) | 460 | (:foreground "DarkTurquoise" :weight bold)) |
| 461 | (((class color) | 461 | (((class color) |
| 462 | (background light)) | 462 | (background light)) |
| 463 | (:foreground "DarkGreen" :bold t)) | 463 | (:foreground "DarkGreen" :weight bold)) |
| 464 | (t | 464 | (t |
| 465 | ())) | 465 | ())) |
| 466 | "Low level newsgroup face.") | 466 | "Low level newsgroup face.") |
| @@ -479,12 +479,12 @@ be set in `.emacs' instead." | |||
| 479 | (defface gnus-group-mail-1-face | 479 | (defface gnus-group-mail-1-face |
| 480 | '((((class color) | 480 | '((((class color) |
| 481 | (background dark)) | 481 | (background dark)) |
| 482 | (:foreground "aquamarine1" :bold t)) | 482 | (:foreground "aquamarine1" :weight bold)) |
| 483 | (((class color) | 483 | (((class color) |
| 484 | (background light)) | 484 | (background light)) |
| 485 | (:foreground "DeepPink3" :bold t)) | 485 | (:foreground "DeepPink3" :weight bold)) |
| 486 | (t | 486 | (t |
| 487 | (:bold t))) | 487 | (:weight bold))) |
| 488 | "Level 1 mailgroup face.") | 488 | "Level 1 mailgroup face.") |
| 489 | 489 | ||
| 490 | (defface gnus-group-mail-1-empty-face | 490 | (defface gnus-group-mail-1-empty-face |
| @@ -495,18 +495,18 @@ be set in `.emacs' instead." | |||
| 495 | (background light)) | 495 | (background light)) |
| 496 | (:foreground "DeepPink3")) | 496 | (:foreground "DeepPink3")) |
| 497 | (t | 497 | (t |
| 498 | (:italic t :bold t))) | 498 | (:slant italic :weight bold))) |
| 499 | "Level 1 empty mailgroup face.") | 499 | "Level 1 empty mailgroup face.") |
| 500 | 500 | ||
| 501 | (defface gnus-group-mail-2-face | 501 | (defface gnus-group-mail-2-face |
| 502 | '((((class color) | 502 | '((((class color) |
| 503 | (background dark)) | 503 | (background dark)) |
| 504 | (:foreground "aquamarine2" :bold t)) | 504 | (:foreground "aquamarine2" :weight bold)) |
| 505 | (((class color) | 505 | (((class color) |
| 506 | (background light)) | 506 | (background light)) |
| 507 | (:foreground "HotPink3" :bold t)) | 507 | (:foreground "HotPink3" :weight bold)) |
| 508 | (t | 508 | (t |
| 509 | (:bold t))) | 509 | (:weight bold))) |
| 510 | "Level 2 mailgroup face.") | 510 | "Level 2 mailgroup face.") |
| 511 | 511 | ||
| 512 | (defface gnus-group-mail-2-empty-face | 512 | (defface gnus-group-mail-2-empty-face |
| @@ -517,18 +517,18 @@ be set in `.emacs' instead." | |||
| 517 | (background light)) | 517 | (background light)) |
| 518 | (:foreground "HotPink3")) | 518 | (:foreground "HotPink3")) |
| 519 | (t | 519 | (t |
| 520 | (:bold t))) | 520 | (:weight bold))) |
| 521 | "Level 2 empty mailgroup face.") | 521 | "Level 2 empty mailgroup face.") |
| 522 | 522 | ||
| 523 | (defface gnus-group-mail-3-face | 523 | (defface gnus-group-mail-3-face |
| 524 | '((((class color) | 524 | '((((class color) |
| 525 | (background dark)) | 525 | (background dark)) |
| 526 | (:foreground "aquamarine3" :bold t)) | 526 | (:foreground "aquamarine3" :weight bold)) |
| 527 | (((class color) | 527 | (((class color) |
| 528 | (background light)) | 528 | (background light)) |
| 529 | (:foreground "magenta4" :bold t)) | 529 | (:foreground "magenta4" :weight bold)) |
| 530 | (t | 530 | (t |
| 531 | (:bold t))) | 531 | (:weight bold))) |
| 532 | "Level 3 mailgroup face.") | 532 | "Level 3 mailgroup face.") |
| 533 | 533 | ||
| 534 | (defface gnus-group-mail-3-empty-face | 534 | (defface gnus-group-mail-3-empty-face |
| @@ -545,12 +545,12 @@ be set in `.emacs' instead." | |||
| 545 | (defface gnus-group-mail-low-face | 545 | (defface gnus-group-mail-low-face |
| 546 | '((((class color) | 546 | '((((class color) |
| 547 | (background dark)) | 547 | (background dark)) |
| 548 | (:foreground "aquamarine4" :bold t)) | 548 | (:foreground "aquamarine4" :weight bold)) |
| 549 | (((class color) | 549 | (((class color) |
| 550 | (background light)) | 550 | (background light)) |
| 551 | (:foreground "DeepPink4" :bold t)) | 551 | (:foreground "DeepPink4" :weight bold)) |
| 552 | (t | 552 | (t |
| 553 | (:bold t))) | 553 | (:weight bold))) |
| 554 | "Low level mailgroup face.") | 554 | "Low level mailgroup face.") |
| 555 | 555 | ||
| 556 | (defface gnus-group-mail-low-empty-face | 556 | (defface gnus-group-mail-low-empty-face |
| @@ -561,7 +561,7 @@ be set in `.emacs' instead." | |||
| 561 | (background light)) | 561 | (background light)) |
| 562 | (:foreground "DeepPink4")) | 562 | (:foreground "DeepPink4")) |
| 563 | (t | 563 | (t |
| 564 | (:bold t))) | 564 | (:weight bold))) |
| 565 | "Low level empty mailgroup face.") | 565 | "Low level empty mailgroup face.") |
| 566 | 566 | ||
| 567 | ;; Summary mode faces. | 567 | ;; Summary mode faces. |
| @@ -578,23 +578,23 @@ be set in `.emacs' instead." | |||
| 578 | (defface gnus-summary-high-ticked-face | 578 | (defface gnus-summary-high-ticked-face |
| 579 | '((((class color) | 579 | '((((class color) |
| 580 | (background dark)) | 580 | (background dark)) |
| 581 | (:foreground "pink" :bold t)) | 581 | (:foreground "pink" :weight bold)) |
| 582 | (((class color) | 582 | (((class color) |
| 583 | (background light)) | 583 | (background light)) |
| 584 | (:foreground "firebrick" :bold t)) | 584 | (:foreground "firebrick" :weight bold)) |
| 585 | (t | 585 | (t |
| 586 | (:bold t))) | 586 | (:weight bold))) |
| 587 | "Face used for high interest ticked articles.") | 587 | "Face used for high interest ticked articles.") |
| 588 | 588 | ||
| 589 | (defface gnus-summary-low-ticked-face | 589 | (defface gnus-summary-low-ticked-face |
| 590 | '((((class color) | 590 | '((((class color) |
| 591 | (background dark)) | 591 | (background dark)) |
| 592 | (:foreground "pink" :italic t)) | 592 | (:foreground "pink" :slant italic)) |
| 593 | (((class color) | 593 | (((class color) |
| 594 | (background light)) | 594 | (background light)) |
| 595 | (:foreground "firebrick" :italic t)) | 595 | (:foreground "firebrick" :slant italic)) |
| 596 | (t | 596 | (t |
| 597 | (:italic t))) | 597 | (:slant italic))) |
| 598 | "Face used for low interest ticked articles.") | 598 | "Face used for low interest ticked articles.") |
| 599 | 599 | ||
| 600 | (defface gnus-summary-normal-ticked-face | 600 | (defface gnus-summary-normal-ticked-face |
| @@ -611,23 +611,23 @@ be set in `.emacs' instead." | |||
| 611 | (defface gnus-summary-high-ancient-face | 611 | (defface gnus-summary-high-ancient-face |
| 612 | '((((class color) | 612 | '((((class color) |
| 613 | (background dark)) | 613 | (background dark)) |
| 614 | (:foreground "SkyBlue" :bold t)) | 614 | (:foreground "SkyBlue" :weight bold)) |
| 615 | (((class color) | 615 | (((class color) |
| 616 | (background light)) | 616 | (background light)) |
| 617 | (:foreground "RoyalBlue" :bold t)) | 617 | (:foreground "RoyalBlue" :weight bold)) |
| 618 | (t | 618 | (t |
| 619 | (:bold t))) | 619 | (:weight bold))) |
| 620 | "Face used for high interest ancient articles.") | 620 | "Face used for high interest ancient articles.") |
| 621 | 621 | ||
| 622 | (defface gnus-summary-low-ancient-face | 622 | (defface gnus-summary-low-ancient-face |
| 623 | '((((class color) | 623 | '((((class color) |
| 624 | (background dark)) | 624 | (background dark)) |
| 625 | (:foreground "SkyBlue" :italic t)) | 625 | (:foreground "SkyBlue" :slant italic)) |
| 626 | (((class color) | 626 | (((class color) |
| 627 | (background light)) | 627 | (background light)) |
| 628 | (:foreground "RoyalBlue" :italic t)) | 628 | (:foreground "RoyalBlue" :slant italic)) |
| 629 | (t | 629 | (t |
| 630 | (:italic t))) | 630 | (:slant italic))) |
| 631 | "Face used for low interest ancient articles.") | 631 | "Face used for low interest ancient articles.") |
| 632 | 632 | ||
| 633 | (defface gnus-summary-normal-ancient-face | 633 | (defface gnus-summary-normal-ancient-face |
| @@ -643,12 +643,12 @@ be set in `.emacs' instead." | |||
| 643 | 643 | ||
| 644 | (defface gnus-summary-high-unread-face | 644 | (defface gnus-summary-high-unread-face |
| 645 | '((t | 645 | '((t |
| 646 | (:bold t))) | 646 | (:weight bold))) |
| 647 | "Face used for high interest unread articles.") | 647 | "Face used for high interest unread articles.") |
| 648 | 648 | ||
| 649 | (defface gnus-summary-low-unread-face | 649 | (defface gnus-summary-low-unread-face |
| 650 | '((t | 650 | '((t |
| 651 | (:italic t))) | 651 | (:slant italic))) |
| 652 | "Face used for low interest unread articles.") | 652 | "Face used for low interest unread articles.") |
| 653 | 653 | ||
| 654 | (defface gnus-summary-normal-unread-face | 654 | (defface gnus-summary-normal-unread-face |
| @@ -660,26 +660,26 @@ be set in `.emacs' instead." | |||
| 660 | '((((class color) | 660 | '((((class color) |
| 661 | (background dark)) | 661 | (background dark)) |
| 662 | (:foreground "PaleGreen" | 662 | (:foreground "PaleGreen" |
| 663 | :bold t)) | 663 | :weight bold)) |
| 664 | (((class color) | 664 | (((class color) |
| 665 | (background light)) | 665 | (background light)) |
| 666 | (:foreground "DarkGreen" | 666 | (:foreground "DarkGreen" |
| 667 | :bold t)) | 667 | :weight bold)) |
| 668 | (t | 668 | (t |
| 669 | (:bold t))) | 669 | (:weight bold))) |
| 670 | "Face used for high interest read articles.") | 670 | "Face used for high interest read articles.") |
| 671 | 671 | ||
| 672 | (defface gnus-summary-low-read-face | 672 | (defface gnus-summary-low-read-face |
| 673 | '((((class color) | 673 | '((((class color) |
| 674 | (background dark)) | 674 | (background dark)) |
| 675 | (:foreground "PaleGreen" | 675 | (:foreground "PaleGreen" |
| 676 | :italic t)) | 676 | :slant italic)) |
| 677 | (((class color) | 677 | (((class color) |
| 678 | (background light)) | 678 | (background light)) |
| 679 | (:foreground "DarkGreen" | 679 | (:foreground "DarkGreen" |
| 680 | :italic t)) | 680 | :slant italic)) |
| 681 | (t | 681 | (t |
| 682 | (:italic t))) | 682 | (:slant italic))) |
| 683 | "Face used for low interest read articles.") | 683 | "Face used for low interest read articles.") |
| 684 | 684 | ||
| 685 | (defface gnus-summary-normal-read-face | 685 | (defface gnus-summary-normal-read-face |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index ea92525e8d9..c6eac7c9aeb 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; message.el --- composing mail and news messages -*- coding: iso-latin-1 -*- | 1 | ;;; message.el --- composing mail and news messages -*- coding: iso-latin-1 -*- |
| 2 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 | 2 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
| 3 | ;; Free Software Foundation, Inc. | 3 | ;; Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> | 5 | ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> |
| @@ -716,24 +716,24 @@ Defaults to `text-mode-abbrev-table'.") | |||
| 716 | (defface message-header-to-face | 716 | (defface message-header-to-face |
| 717 | '((((class color) | 717 | '((((class color) |
| 718 | (background dark)) | 718 | (background dark)) |
| 719 | (:foreground "green2" :bold t)) | 719 | (:foreground "green2" :weight bold)) |
| 720 | (((class color) | 720 | (((class color) |
| 721 | (background light)) | 721 | (background light)) |
| 722 | (:foreground "MidnightBlue" :bold t)) | 722 | (:foreground "MidnightBlue" :weight bold)) |
| 723 | (t | 723 | (t |
| 724 | (:bold t :italic t))) | 724 | (:weight bold :slant italic))) |
| 725 | "Face used for displaying From headers." | 725 | "Face used for displaying From headers." |
| 726 | :group 'message-faces) | 726 | :group 'message-faces) |
| 727 | 727 | ||
| 728 | (defface message-header-cc-face | 728 | (defface message-header-cc-face |
| 729 | '((((class color) | 729 | '((((class color) |
| 730 | (background dark)) | 730 | (background dark)) |
| 731 | (:foreground "green4" :bold t)) | 731 | (:foreground "green4" :weight bold)) |
| 732 | (((class color) | 732 | (((class color) |
| 733 | (background light)) | 733 | (background light)) |
| 734 | (:foreground "MidnightBlue")) | 734 | (:foreground "MidnightBlue")) |
| 735 | (t | 735 | (t |
| 736 | (:bold t))) | 736 | (:weight bold))) |
| 737 | "Face used for displaying Cc headers." | 737 | "Face used for displaying Cc headers." |
| 738 | :group 'message-faces) | 738 | :group 'message-faces) |
| 739 | 739 | ||
| @@ -743,21 +743,21 @@ Defaults to `text-mode-abbrev-table'.") | |||
| 743 | (:foreground "green3")) | 743 | (:foreground "green3")) |
| 744 | (((class color) | 744 | (((class color) |
| 745 | (background light)) | 745 | (background light)) |
| 746 | (:foreground "navy blue" :bold t)) | 746 | (:foreground "navy blue" :weight bold)) |
| 747 | (t | 747 | (t |
| 748 | (:bold t))) | 748 | (:weight bold))) |
| 749 | "Face used for displaying subject headers." | 749 | "Face used for displaying subject headers." |
| 750 | :group 'message-faces) | 750 | :group 'message-faces) |
| 751 | 751 | ||
| 752 | (defface message-header-newsgroups-face | 752 | (defface message-header-newsgroups-face |
| 753 | '((((class color) | 753 | '((((class color) |
| 754 | (background dark)) | 754 | (background dark)) |
| 755 | (:foreground "yellow" :bold t :italic t)) | 755 | (:foreground "yellow" :weight bold :slant italic)) |
| 756 | (((class color) | 756 | (((class color) |
| 757 | (background light)) | 757 | (background light)) |
| 758 | (:foreground "blue4" :bold t :italic t)) | 758 | (:foreground "blue4" :weight bold :slant italic)) |
| 759 | (t | 759 | (t |
| 760 | (:bold t :italic t))) | 760 | (:weight bold :slant italic))) |
| 761 | "Face used for displaying newsgroups headers." | 761 | "Face used for displaying newsgroups headers." |
| 762 | :group 'message-faces) | 762 | :group 'message-faces) |
| 763 | 763 | ||
| @@ -769,7 +769,7 @@ Defaults to `text-mode-abbrev-table'.") | |||
| 769 | (background light)) | 769 | (background light)) |
| 770 | (:foreground "steel blue")) | 770 | (:foreground "steel blue")) |
| 771 | (t | 771 | (t |
| 772 | (:bold t :italic t))) | 772 | (:weight bold :slant italic))) |
| 773 | "Face used for displaying newsgroups headers." | 773 | "Face used for displaying newsgroups headers." |
| 774 | :group 'message-faces) | 774 | :group 'message-faces) |
| 775 | 775 | ||
| @@ -781,7 +781,7 @@ Defaults to `text-mode-abbrev-table'.") | |||
| 781 | (background light)) | 781 | (background light)) |
| 782 | (:foreground "cornflower blue")) | 782 | (:foreground "cornflower blue")) |
| 783 | (t | 783 | (t |
| 784 | (:bold t))) | 784 | (:weight bold))) |
| 785 | "Face used for displaying header names." | 785 | "Face used for displaying header names." |
| 786 | :group 'message-faces) | 786 | :group 'message-faces) |
| 787 | 787 | ||
| @@ -793,7 +793,7 @@ Defaults to `text-mode-abbrev-table'.") | |||
| 793 | (background light)) | 793 | (background light)) |
| 794 | (:foreground "blue")) | 794 | (:foreground "blue")) |
| 795 | (t | 795 | (t |
| 796 | (:bold t))) | 796 | (:weight bold))) |
| 797 | "Face used for displaying X-Header headers." | 797 | "Face used for displaying X-Header headers." |
| 798 | :group 'message-faces) | 798 | :group 'message-faces) |
| 799 | 799 | ||
| @@ -805,7 +805,7 @@ Defaults to `text-mode-abbrev-table'.") | |||
| 805 | (background light)) | 805 | (background light)) |
| 806 | (:foreground "brown")) | 806 | (:foreground "brown")) |
| 807 | (t | 807 | (t |
| 808 | (:bold t))) | 808 | (:weight bold))) |
| 809 | "Face used for displaying the separator." | 809 | "Face used for displaying the separator." |
| 810 | :group 'message-faces) | 810 | :group 'message-faces) |
| 811 | 811 | ||
| @@ -817,7 +817,7 @@ Defaults to `text-mode-abbrev-table'.") | |||
| 817 | (background light)) | 817 | (background light)) |
| 818 | (:foreground "red")) | 818 | (:foreground "red")) |
| 819 | (t | 819 | (t |
| 820 | (:bold t))) | 820 | (:weight bold))) |
| 821 | "Face used for displaying cited text names." | 821 | "Face used for displaying cited text names." |
| 822 | :group 'message-faces) | 822 | :group 'message-faces) |
| 823 | 823 | ||
| @@ -829,7 +829,7 @@ Defaults to `text-mode-abbrev-table'.") | |||
| 829 | (background light)) | 829 | (background light)) |
| 830 | (:foreground "ForestGreen")) | 830 | (:foreground "ForestGreen")) |
| 831 | (t | 831 | (t |
| 832 | (:bold t))) | 832 | (:weight bold))) |
| 833 | "Face used for displaying MML." | 833 | "Face used for displaying MML." |
| 834 | :group 'message-faces) | 834 | :group 'message-faces) |
| 835 | 835 | ||