+2002-09-26 ShengHuo ZHU <zsh@cs.rochester.edu>
+
+ * mm-view.el (mm-w3m-mode-ignored-keys): New variable.
+ (mm-setup-w3m): Use it.
+
2002-09-27 Simon Josefsson <jas@extundo.com>
* gnus-art.el (gnus-article-mode-syntax-table): Make M-. work in
(defvar mm-w3m-mode-dont-bind-keys (list [up] [right] [left] [down])
"List of keys which should not be bound for the emacs-w3m commands.")
+(defvar mm-w3m-mode-ignored-keys (list [down-mouse-2])
+ "List of keys which should ignore.")
+
(defvar mm-w3m-setup nil
"Whether gnus-article-mode has been setup to use emacs-w3m.")
(dolist (key mm-w3m-mode-dont-bind-keys)
(condition-case nil
(define-key mm-w3m-mode-map key nil)
+ (error)))
+ (dolist (key mm-w3m-mode-ignored-keys)
+ (condition-case nil
+ (define-key mm-w3m-mode-map key 'ignore)
(error))))
(unless (assq 'gnus-article-mode w3m-cid-retrieve-function-alist)
(push (cons 'gnus-article-mode 'mm-w3m-cid-retrieve)
"Update the unseen count in `nnimap-mailbox-info'."
(gnus-sethash
(gnus-group-prefixed-name group server)
- (let ((old (gnus-gethash (gnus-group-prefixed-name group server)
- nnimap-mailbox-info)))
+ (let ((old (gnus-gethash-safe (gnus-group-prefixed-name group server)
+ nnimap-mailbox-info)))
(list (nth 0 old) (nth 1 old)
(imap-mailbox-status group 'unseen nnimap-server-buffer)
(nth 3 old)))