* lisp/gnus.el: Add autoloads for x-face-e21.
* lisp/gnus-sum.el (gnus-summary-search-article-position-point): Search for
`x-face-image' as well as `x-face-mule-bitmap-image'.
* lisp/gnus-art.el (gnus-article-x-face-command): Default to
`x-face-decode-message-header' when Emacs 21 is running and x-face-e21 is
installed.
+2000-11-22 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * lisp/gnus-vers.el (gnus-revision-number): Increment to 07.
+
+ * lisp/gnus.el: Add autoloads for x-face-e21.
+
+ * lisp/gnus-sum.el (gnus-summary-search-article-position-point):
+ Search for `x-face-image' as well as `x-face-mule-bitmap-image'.
+
+ * lisp/gnus-art.el (gnus-article-x-face-command): Default to
+ `x-face-decode-message-header' when Emacs 21 is running and
+ x-face-e21 is installed.
+
2000-11-21 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/message.el (message-send-mail-with-smtp): Use
;; gnus-xmas.el overrides this for XEmacs.
((and (fboundp 'image-type-available-p)
(image-type-available-p 'xbm))
- 'gnus-article-display-xface)
+ (if (module-installed-p 'x-face-e21)
+ 'x-face-decode-message-header
+ 'gnus-article-display-xface))
((and (not (featurep 'xemacs))
window-system
(module-installed-p 'x-face-mule))
If it is a string, the command will be executed in a sub-shell
asynchronously. The compressed face will be piped to this command."
:type '(choice string
+ (function-item
+ :tag "x-face-decode-message-header (x-face-e21)"
+ x-face-decode-message-header)
(function-item gnus-article-display-xface)
(function-item x-face-mule-gnus-article-display-x-face)
function)
(goto-char (, opoint)))))
(` (let ((end (if (search-forward "\n\n" nil t)
(goto-char (1- (point)))
- (point-min))))
+ (point-min)))
+ (start (or (search-backward "\n\n" nil t) (point-min))))
(goto-char
- (or (text-property-any (or (search-backward "\n\n" nil t)
- (point-min))
- end 'x-face-mule-bitmap-image t)
+ (or (text-property-any start end 'x-face-image t);; x-face-e21
+ (text-property-any start end 'x-face-mule-bitmap-image t)
(, opoint)))))))
(defmacro gnus-summary-search-article-highlight-matched-text
(require 'product)
(provide 'gnus-vers)
-(defconst gnus-revision-number "06"
+(defconst gnus-revision-number "07"
"Revision number for this version of gnus.")
;; Product information of this gnus.
(unless (featurep 'xemacs)
(autoload 'gnus-smiley-display "gnus-bitmap" nil t)
(autoload 'smiley-toggle-buffer "gnus-bitmap")
- (autoload 'x-face-mule-gnus-article-display-x-face "x-face-mule")))
+ (autoload 'x-face-mule-gnus-article-display-x-face "x-face-mule")
+ (when (>= emacs-major-version 21)
+ (autoload 'x-face-decode-message-header "x-face-e21"))))
;;; gnus-sum.el thingies