* elmo.el (elmo-message-field): Define as a method.
* elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
(elmo-message-field): Define.
2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
+ * elmo.el (elmo-message-field): Define as a method.
+
+ * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
+ (elmo-message-field): Define.
+
* elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
(elmo-folder-list-importants): Ditto.
(elmo-folder-list-answereds): Ditto.
(cond
((numberp key)
(let* ((pair (elmo-multi-real-folder-number folder key))
- (entity
- (elmo-message-copy-entity
- (elmo-message-entity (car pair) (cdr pair)))))
- (elmo-message-entity-set-number entity key)))
+ (entity (elmo-message-entity (car pair) (cdr pair))))
+ (when entity
+ (elmo-message-entity-set-number (elmo-message-copy-entity entity)
+ key))))
((stringp key)
(let ((children (elmo-multi-folder-children-internal folder))
(cur-number 0)
(setq children (cdr children)))
match))))
+(luna-define-method elmo-message-field ((folder elmo-multi-folder)
+ number field)
+ (let ((pair (elmo-multi-real-folder-number folder number)))
+ (elmo-message-field (car pair) (cdr pair) field)))
+
(luna-define-method elmo-message-mark ((folder elmo-multi-folder) number)
(let ((pair (elmo-multi-real-folder-number folder number)))
(elmo-message-mark (car pair) (cdr pair))))
(luna-define-method elmo-message-mark ((folder elmo-folder) number)
(elmo-msgdb-get-mark (elmo-folder-msgdb folder) number))
-(defun elmo-message-field (folder number field)
+(luna-define-generic elmo-message-field (folder number field)
"Get message field value in the msgdb.
FOLDER is the ELMO folder structure.
NUMBER is a number of the message.
-FIELD is a symbol of the field."
+FIELD is a symbol of the field.")
+
+(luna-define-method elmo-message-field ((folder elmo-folder) number field)
(elmo-msgdb-get-field (elmo-folder-msgdb folder) number field))
(luna-define-method elmo-message-use-cache-p ((folder elmo-folder) number)
2.10.1 Watching The Wheels
2.11.x Wonderwall
-2.11.0 Wanted Dead Or Alive
+2.11.3 Wanted Dead Or Alive
-2003-07-18 Yuuichi Teranishi <teranisi@ns.templewest.net>
+2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * wl-acap.el (toplevel): Don't require un-define.
+
+2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
* wl-thread.el (wl-thread-delete-message): Always update
wl-summary-buffer-number-list.
;;; Code:
;;
-(cond
- ((and (not (featurep 'utf-2000))
- (module-installed-p 'un-define))
- (require 'un-define))
- ((and (featurep 'xemacs)
- (not (featurep 'utf-2000))
- (module-installed-p 'xemacs-ucs))
- (require 'xemacs-ucs)))
+;;(cond
+;; ((and (not (featurep 'utf-2000))
+;; (module-installed-p 'un-define))
+;; (require 'un-define))
+;; ((and (featurep 'xemacs)
+;; (not (featurep 'utf-2000))
+;; (module-installed-p 'xemacs-ucs))
+;; (require 'xemacs-ucs)))
(require 'custom)
(require 'cus-edit)
(require 'wl-vars)
(while msgs
(setq children (wl-thread-entity-get-children
(setq entity (wl-thread-get-entity (car msgs)))))
- (when (elmo-message-entity wl-summary-buffer-elmo-folder
- (car msgs))
+ (when (elmo-message-entity wl-summary-buffer-elmo-folder (car msgs))
(wl-append ret-val (list (car msgs)))
(setq children nil))
(setq msgs (cdr msgs))