;;; @ message parser
;;;
-(defsubst make-mime-entity-info (rcnum
+(defsubst make-mime-entity-info (reversed-number
point-min point-max
media-type media-subtype parameters
encoding children)
- (vector rcnum point-min point-max
+ (vector reversed-number point-min point-max
media-type media-subtype parameters encoding children))
-(defsubst mime-entity-info-rnum (entity-info) (aref entity-info 0))
-(defsubst mime-entity-info-point-min (entity-info) (aref entity-info 1))
-(defsubst mime-entity-info-point-max (entity-info) (aref entity-info 2))
-(defsubst mime-entity-info-media-type (entity-info) (aref entity-info 3))
-(defsubst mime-entity-info-media-subtype (entity-info) (aref entity-info 4))
-(defsubst mime-entity-info-parameters (entity-info) (aref entity-info 5))
-(defsubst mime-entity-info-encoding (entity-info) (aref entity-info 6))
-(defsubst mime-entity-info-children (entity-info) (aref entity-info 7))
+(defsubst mime-entity-info-reversed-number (entity-info) (aref entity-info 0))
+(defsubst mime-entity-info-point-min (entity-info) (aref entity-info 1))
+(defsubst mime-entity-info-point-max (entity-info) (aref entity-info 2))
+(defsubst mime-entity-info-media-type (entity-info) (aref entity-info 3))
+(defsubst mime-entity-info-media-subtype (entity-info) (aref entity-info 4))
+(defsubst mime-entity-info-parameters (entity-info) (aref entity-info 5))
+(defsubst mime-entity-info-encoding (entity-info) (aref entity-info 6))
+(defsubst mime-entity-info-children (entity-info) (aref entity-info 7))
(defsubst mime-entity-info-type/subtype (entity-info)
(let ((type (mime-entity-info-media-type entity-info)))
)))
(params (mime-entity-info-parameters content))
(encoding (mime-entity-info-encoding content))
- (rcnum (mime-entity-info-rnum content))
+ (rcnum (mime-entity-info-reversed-number content))
he e nb ne subj)
(set-buffer ibuf)
(goto-char beg)
)
(let* ((p-beg (previous-single-property-change (point) 'mime-view-cinfo))
p-end
- (rcnum (mime-entity-info-rnum cinfo))
+ (rcnum (mime-entity-info-reversed-number cinfo))
(len (length rcnum))
)
(cond ((null p-beg)
(next-single-property-change
(point) 'mime-view-cinfo))
(goto-char e)
- (let ((rc (mime-entity-info-rnum
+ (let ((rc (mime-entity-info-reversed-number
(get-text-property (point)
'mime-view-cinfo))))
(or (equal rcnum (nthcdr (- (length rc) len) rc))
(goto-char (point-min))
(insert "\n")
(goto-char (point-min))
- (let ((rcnum (mime-entity-info-rnum cinfo)) ci str)
+ (let ((rcnum (mime-entity-info-reversed-number cinfo)) ci str)
(while (progn
(setq
str
(backward-char)
)
(let ((r (mime-raw-reversed-entity-number-to-entity-info
- (cdr (mime-entity-info-rnum cinfo))
+ (cdr (mime-entity-info-reversed-number cinfo))
(get-text-property 1 'mime-view-cinfo)))
point)
(catch 'tag