comparison lisp/net/newst-reader.el @ 95956:d2bcf235d764

Moved some faces from newst-plainview to newst-reader.
author Ulf Jasper <ulf.jasper@web.de>
date Sun, 15 Jun 2008 08:04:13 +0000
parents 594d82b81559
children 19016ceb3a2e
comparison
equal deleted inserted replaced
95955:cbe26a0456e0 95956:d2bcf235d764
4 ;; Free Software Foundation, Inc. 4 ;; Free Software Foundation, Inc.
5 5
6 ;; Author: Ulf Jasper <ulf.jasper@web.de> 6 ;; Author: Ulf Jasper <ulf.jasper@web.de>
7 ;; Filename: newst-reader.el 7 ;; Filename: newst-reader.el
8 ;; URL: http://www.nongnu.org/newsticker 8 ;; URL: http://www.nongnu.org/newsticker
9 ;; Time-stamp: "13. Juni 2008, 19:28:41 (ulf)" 9 ;; Time-stamp: "15. Juni 2008, 09:42:01 (ulf)"
10 10
11 ;; ====================================================================== 11 ;; ======================================================================
12 12
13 ;; This file is part of GNU Emacs. 13 ;; This file is part of GNU Emacs.
14 14
138 "Format for the date part in item and feed lines. 138 "Format for the date part in item and feed lines.
139 See `format-time-string' for a list of valid specifiers." 139 See `format-time-string' for a list of valid specifiers."
140 :type 'string 140 :type 'string
141 :set 'newsticker--set-customvar-formatting 141 :set 'newsticker--set-customvar-formatting
142 :group 'newsticker-reader) 142 :group 'newsticker-reader)
143
144 (defgroup newsticker-faces nil
145 "Settings for the faces of the feed reader."
146 :group 'newsticker-reader)
147
148 (defface newsticker-feed-face
149 '((((class color) (background dark))
150 (:family "helvetica" :bold t :height 1.2 :foreground "misty rose"))
151 (((class color) (background light))
152 (:family "helvetica" :bold t :height 1.2 :foreground "black")))
153 "Face for news feeds."
154 :group 'newsticker-faces)
155
156 (defface newsticker-extra-face
157 '((((class color) (background dark))
158 (:italic t :foreground "gray50" :height 0.8))
159 (((class color) (background light))
160 (:italic t :foreground "gray50" :height 0.8)))
161 "Face for newsticker dates."
162 :group 'newsticker-faces)
163
164 (defface newsticker-enclosure-face
165 '((((class color) (background dark))
166 (:bold t :background "orange"))
167 (((class color) (background light))
168 (:bold t :background "orange")))
169 "Face for enclosed elements."
170 :group 'newsticker-faces)
143 171
144 ;; ====================================================================== 172 ;; ======================================================================
145 ;;; Utility functions 173 ;;; Utility functions
146 ;; ====================================================================== 174 ;; ======================================================================
147 (defun newsticker--insert-enclosure (item keymap) 175 (defun newsticker--insert-enclosure (item keymap)