+2000-11-21 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * lisp/message.el (message-send-mail-with-smtp): Use
+ `smtp-send-buffer' if it exists instead of `smtp-via-smtp'.
+
+ * lisp/dgnushack.el (describe-key-briefly): New compiler macro for
+ old Emacsen.
+
2000-11-17 Akihiro Arisawa <ari@atesoft.advantest.co.jp>
* lisp/nnheader.el (nnheader-header-value): Save point.
+2000-11-20 18:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
+
+ * gnus-ml.el (gnus-mailing-list-archive): Use browse-url.
+
2000-11-20 17:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
* gnus-art.el (gnus-article-make-menu-bar): Use easy-menu-add.
(while (setq file (pop files))
(insert "info/" file "\n"))))))
+\f
+(define-compiler-macro describe-key-briefly (&whole form key &optional insert)
+ (if (condition-case nil
+ (progn
+ (describe-key-briefly '((())) nil)
+ t)
+ (wrong-number-of-arguments nil);; Old Emacsen.
+ (error t))
+ form
+ (if insert
+ `(if ,insert
+ (insert (funcall 'describe-key-briefly ,key))
+ (funcall 'describe-key-briefly ,key))
+ `(funcall 'describe-key-briefly ,key))))
+
;;; dgnushack.el ends here
(defun gnus-mailing-list-archive ()
"Browse archive"
(interactive)
+ (require 'browse-url)
(let ((list-archive
(with-current-buffer gnus-original-article-buffer
(gnus-fetch-field "list-archive"))))
- (cond (list-archive (gnus-mailing-list-message list-archive))
- (t (gnus-message 1 "no list-owner in this group")))))
+ (cond (list-archive (browse-url list-archive))
+ (t (gnus-message 1 "no list-archive in this group")))))
;;; Utility functions
(backward-char 1)
(run-hooks 'message-send-mail-hook)
(if recipients
- (let ((result (smtp-via-smtp user-mail-address
- recipients
- (current-buffer))))
+ (let ((result (static-if (fboundp 'smtp-send-buffer)
+ (smtp-send-buffer user-mail-address recipients
+ (current-buffer))
+ (smtp-via-smtp user-mail-address
+ recipients
+ (current-buffer)))))
(unless (eq result t)
(error "Sending failed; " result)))
(error "Sending failed; no recipients"))))