* 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.
;; By courtesy of KANEMATSU-san.
* lisp/gnus-art.el (gnus-treat-display-xface): Default to `head' when Emacs 21
is running and compface command is available.
+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 KANEMATSU Daiji <kanematu@sra.co.jp>
+
+ * lisp/gnus-art.el (gnus-treat-display-xface): Default to `head'
+ when Emacs 21 is running and compface command is available.
+
2000-11-21 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/message.el (message-send-mail-with-smtp): Use
;; non-graphical frames in a session.
((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 gnus-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)
(put 'gnus-treat-overstrike 'highlight t)
(defcustom gnus-treat-display-xface
- (if (or (and gnus-xemacs (featurep 'xface))
+ (if (or (and (fboundp 'image-type-available-p)
+ (image-type-available-p 'xbm)
+ (string-match "^0x" (shell-command-to-string "uncompface")))
+ (and gnus-xemacs (featurep 'xface))
(eq 'x-face-mule-gnus-article-display-x-face
gnus-article-x-face-command))
'head
(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