+2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * lisp/gnus-vers.el (gnus-revision-number): Increment to 03.
+
+ * lisp/gnus.el: Don't autoload "smiley" for `smiley-toggle-buffer';
+ don't autoload "gnus-bitmap" or "x-face-mule" when Emacs 21 is
+ running.
+
+ * lisp/gnus-art.el (TopLevel): Autoload "gnus-bitmap" for
+ `smiley-toggle-buffer' when compiling.
+ (gnus-treatment-function-alist): Use `gnus-smiley-display' for
+ `gnus-treat-display-smileys' by default when XEmacs or Emacs 21 is
+ running.
+ (gnus-treat-display-smileys): Check for `smiley-mule' instead of
+ `gnus-bitmap'.
+ (gnus-article-x-face-command): Don't check for xbm for x-face-e21.
+
2001-01-05 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus-vers.el (gnus-revision-number): Increment to 02.
:type 'sexp
:group 'gnus-article-hiding)
+;; Fixme: This isn't the right thing for mixed graphical and and
+;; non-graphical frames in a session.
+;; gnus-xmas.el overrides this for XEmacs.
(defcustom gnus-article-x-face-command
(cond
- ;; Fixme: This isn't the right thing for mixed graphical and and
- ;; non-graphical frames in a session.
- ;; gnus-xmas.el overrides this for XEmacs.
+ ((and (fboundp 'image-type-available-p)
+ (module-installed-p 'x-face-e21))
+ 'x-face-decode-message-header)
((and (fboundp 'image-type-available-p)
(image-type-available-p 'xbm))
- (if (module-installed-p 'x-face-e21)
- 'x-face-decode-message-header
- 'gnus-article-display-xface))
+ 'gnus-article-display-xface)
((and (not (featurep 'xemacs))
window-system
(module-installed-p 'x-face-mule))
(image-type-available-p 'pbm))
(and (not (featurep 'xemacs))
window-system
- (module-installed-p 'gnus-bitmap)))
+ (module-installed-p 'smiley-mule)))
t
nil)
"Display smileys.
(defvar gnus-article-mime-handle-alist-1 nil)
(defvar gnus-treatment-function-alist
- '((gnus-treat-decode-article-as-default-mime-charset
+ `((gnus-treat-decode-article-as-default-mime-charset
gnus-article-decode-article-as-default-mime-charset)
(gnus-treat-x-pgp-sig gnus-article-verify-x-pgp-sig)
(gnus-treat-strip-banner gnus-article-strip-banner)
gnus-article-strip-multiple-blank-lines)
(gnus-treat-overstrike gnus-article-treat-overstrike)
(gnus-treat-buttonize-head gnus-article-add-buttons-to-head)
- (gnus-treat-display-smileys gnus-article-smiley-display)
+ (gnus-treat-display-smileys ,(if (or (featurep 'xemacs)
+ (>= emacs-major-version 21))
+ 'gnus-smiley-display
+ 'gnus-article-smiley-display))
(gnus-treat-capitalize-sentences gnus-article-capitalize-sentences)
(gnus-treat-display-picons gnus-article-display-picons)
(gnus-treat-play-sounds gnus-earcon-display)))
"Activate ADDRESS with `browse-url'."
(browse-url (gnus-strip-whitespace address)))
+(eval-when-compile
+ ;; Silence the byte-compiler.
+ (autoload 'smiley-toggle-buffer "gnus-bitmap"))
(defun gnus-article-smiley-display ()
"Display \"smileys\" as small graphical icons."
(smiley-toggle-buffer 1 (current-buffer) (point-min) (point-max)))
("gnus-gl" bbb-login bbb-logout bbb-grouplens-group-p
gnus-grouplens-mode)
("smiley" :interactive t gnus-smiley-display)
- ("smiley" smiley-toggle-buffer)
("gnus-win" gnus-configure-windows gnus-add-configuration)
("gnus-sum" gnus-summary-insert-line gnus-summary-read-group
gnus-list-of-unread-articles gnus-list-of-read-articles
(eval-and-compile
(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")
- (when (>= emacs-major-version 21)
- (autoload 'x-face-decode-message-header "x-face-e21"))))
+ (if (>= emacs-major-version 21)
+ (autoload 'x-face-decode-message-header "x-face-e21")
+ (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"))))
;;; gnus-sum.el thingies