2006-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* mime-edit.el (mime-edit-process-multipart-1): Don't insert a
text tag if a multipart end tag is followed.
2006-06-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* mime-view.el (mime-calist::field-match-method-ignore-case):
New function; set up for `field-match-method' of calist.
+2006-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * mime-edit.el (mime-edit-process-multipart-1): Don't insert a
+ text tag if a multipart end tag is followed.
+
+2006-06-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * mime-view.el (mime-calist::field-match-method-ignore-case):
+ New function; set up for `field-match-method' of calist.
+
2006-09-29 Daiki Ueno <ueno@unixuser.org>
* mime-edit.el (mime-edit-pgp): New custom group.
(end (match-end 0)))
(delete-region beg end)
(or (looking-at mime-edit-beginning-tag-regexp)
+ (looking-at mime-edit-multipart-end-regexp)
(eobp)
(insert (concat (mime-make-text-tag) "\n")))))
(cond ((string-equal type "quote")
(define-calist-field-match-method
'body #'mime-calist::field-match-method-as-default-rule)
+(defun mime-calist::field-match-method-ignore-case (calist
+ field-type field-value)
+ (let ((s-field (assoc field-type calist)))
+ (cond ((null s-field)
+ (cons (cons field-type field-value) calist))
+ ((eq field-value t)
+ calist)
+ ((string= (downcase (cdr s-field)) (downcase field-value))
+ calist))))
+
+(define-calist-field-match-method
+ 'access-type #'mime-calist::field-match-method-ignore-case)
+
(defvar mime-preview-condition nil
"Condition-tree about how to display entity.")