`wl-message-button-dispatcher'.
* tm-wl.el (wl-message-button-dispatcher-internal): Ditto.
* wl-message.el (wl-message-button-dispatcher): Use it.
* wl-vars.el (wl-highlight-message-header-button-alist): Add
"In-Reply-To".
* wl-highlight.el (wl-highlight-message-add-buttons-to-header):
Bind `case-fold-search' to t.
2000-08-28 Daiki Ueno <ueno@unixuser.org>
+ * wl-mime.el (wl-message-button-dispatcher-internal): Rename from
+ `wl-message-button-dispatcher'.
+
+ * tm-wl.el (wl-message-button-dispatcher-internal): Ditto.
+
+ * wl-message.el (wl-message-button-dispatcher): Use it.
+
+ * wl-vars.el (wl-highlight-message-header-button-alist): Add
+ "In-Reply-To".
+
+ * wl-highlight.el (wl-highlight-message-add-buttons-to-header):
+ Bind `case-fold-search' to t.
+
+2000-08-28 Daiki Ueno <ueno@unixuser.org>
+
* wl-xmas.el (wl-message-overload-functions): Initialize
`wl-message-button-map'.
(defalias 'wl-message-play-content 'mime-viewer/play-content)
(defalias 'wl-message-extract-content 'mime-viewer/extract-content)
(defalias 'wl-message-quit 'mime-viewer/quit)
-(defalias 'wl-message-button-dispatcher 'tm:button-dispatcher)
+(defalias 'wl-message-button-dispatcher-internal
+ 'tm:button-dispatcher)
;;; Summary
(defun wl-summary-burst-subr (children target number)
(defun wl-highlight-message-add-buttons-to-header (start end)
(save-restriction
(narrow-to-region start end)
- (let ((alist wl-highlight-message-header-button-alist)
+ (let ((case-fold-search t)
+ (alist wl-highlight-message-header-button-alist)
entry)
(while alist
(setq entry (car alist)
(let ((callback (get-text-property (point) 'wl-message-button-callback))
(data (get-text-property (point) 'wl-message-button-data)))
(if callback
- (funcall callback data))))
+ (funcall callback data)
+ (wl-message-button-dispatcher-internal event))))
(defun wl-message-button-refer-article (data)
"Read article specified by Message-ID DATA at point."
wl-message-buffer-cur-summary-buffer)
(if (wl-summary-jump-to-msg-by-message-id msg-id)
(wl-summary-redisplay)))
- (wl-message-button-dispatcher e)))
+ (wl-message-button-dispatcher-internal e)))
(if (eq mouse-window (get-buffer-window (current-buffer)))
(select-window window)))))
(defalias 'wl-message-play-content 'mime-preview-play-current-entity)
(defalias 'wl-message-extract-content 'mime-preview-extract-current-entity)
(defalias 'wl-message-quit 'mime-preview-quit)
-(defalias 'wl-message-button-dispatcher 'mime-button-dispatcher)
+(defalias 'wl-message-button-dispatcher-internal
+ 'mime-button-dispatcher)
;;; Summary
(defun wl-summary-burst-subr (children target number)
:group 'wl-highlight)
(defcustom wl-highlight-message-header-button-alist
- `(("^\\(References\\|Message-I[Dd]\\):" "<[^>]+>"
+ `(("^\\(References\\|Message-Id\\|In-Reply-To\\):" "<[^>]+>"
0 wl-message-button-refer-article 0)
("^[^:]+:" "\\(<\\(url: \\)?news:\\([^>\n ]*\\)>\\)"
1 wl-message-button-refer-article 3))