+2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * wl-action.el (wl-summary-register-target-mark): Fixed argument.
+ (wl-summary-target-mark-set-action): Fixed.
+ (wl-summary-define-mark-action): Fixed quotation.
+
+2003-07-15 Mito <mito@mxa.nes.nec.co.jp>
+
+ * wl-summary.el (wl-summary-entity-info-msg): Don't replace '%' to
+ '%%'.
+
2003-07-15 Yuuichi Teranishi <teranisi@gohome.org>
* wl.el (toplevel): Require wl-action.
;; Return value.
number))
-(defun wl-summary-register-target-mark (number mark)
+(defun wl-summary-register-target-mark (number mark data)
(or (memq number wl-summary-buffer-target-mark-list)
(setq wl-summary-buffer-target-mark-list
(cons number wl-summary-buffer-target-mark-list))))
(setq number (car numlist)
numlist nil))
(setq numlist (cdr numlist)))
+ (wl-summary-jump-to-msg number)
(setq data (funcall (wl-summary-action-argument-function action)
- action number)))
+ (wl-summary-action-symbol action) number)))
(while (not (eobp))
(when (string= (wl-summary-temp-mark) "*")
(let (wl-summary-buffer-disp-msg)
(interactive "r")
(goto-char beg)
(wl-summary-mark-region-subr
- ,(intern (format "wl-summary-%s"
- (wl-summary-action-symbol action)))
+ (quote ,(intern (format "wl-summary-%s"
+ (wl-summary-action-symbol action))))
beg end
- (if (wl-summary-action-argument-function action)
- (funcall (wl-summary-action-argument-function action)
- (wl-summary-action-symbol action)
+ (if ,(wl-summary-action-argument-function action)
+ (funcall ,(wl-summary-action-argument-function action)
+ ,(wl-summary-action-symbol action)
(wl-summary-message-number))))))
(fset (intern (format "wl-summary-target-mark-%s"
(wl-summary-action-symbol action)))
`(lambda ()
,(wl-summary-action-docstring action)
(interactive)
- (wl-summary-target-mark-set-action action)))))
+ (wl-summary-target-mark-set-action (quote ,action))))))
(defun wl-summary-get-dispose-folder (folder)
(if (string= folder wl-trash-folder)
(defun wl-summary-entity-info-msg (entity finfo)
(or (and entity
(concat
- (elmo-replace-in-string
- (if (memq 'ask-folder wl-use-folder-petname)
- (wl-folder-get-petname entity)
- entity)
- "%" "%%")
+ (if (memq 'ask-folder wl-use-folder-petname)
+ (wl-folder-get-petname entity)
+ entity)
(if (null (car finfo))
" (? new/? unread)"
(format