;;; It is based on draft-kazu-pgp-mime-00.txt
(defun mime-method-for-application/pgp (beg end cal)
- (let* ((cnum (mime-raw-point-content-number beg))
+ (let* ((cnum (mime-raw-point-to-entity-number beg))
(p-win (or (get-buffer-window mime-preview-buffer)
(get-largest-window)))
(new-name (format "%s-%s" (buffer-name) cnum))
(defun mime-method-to-verify-multipart/signed (beg end cal)
"Internal method to check multipart/signed."
- (let* ((rcnum (reverse (mime-raw-point-content-number beg)))
+ (let* ((rcnum (reverse (mime-raw-point-to-entity-number beg)))
(oinfo (mime-raw-rcnum-to-cinfo (cons '1 rcnum)
mime-raw-entity-info))
)
(defun mime-method-to-verify-application/pgp-signature (beg end cal)
"Internal method to check PGP/MIME signature."
(let* ((encoding (cdr (assq 'encoding cal)))
- (cnum (mime-raw-point-content-number beg))
+ (cnum (mime-raw-point-to-entity-number beg))
(rcnum (reverse cnum))
(rmcnum (cdr rcnum))
(knum (car rcnum))
;;; It is based on RFC 2015.
(defun mime-method-to-decrypt-application/pgp-encrypted (beg end cal)
- (let* ((cnum (mime-raw-point-content-number beg))
+ (let* ((cnum (mime-raw-point-to-entity-number beg))
(rcnum (reverse cnum))
(rmcnum (cdr rcnum))
(knum (car rcnum))
;;; It is based on RFC 2015.
(defun mime-method-to-add-application/pgp-keys (beg end cal)
- (let* ((cnum (mime-raw-point-content-number beg))
+ (let* ((cnum (mime-raw-point-to-entity-number beg))
(new-name (format "%s-%s" (buffer-name) cnum))
(encoding (cdr (assq 'encoding cal)))
str)
))
(defun mime-method-to-display-message/rfc822 (beg end cal)
- (let* ((cnum (mime-raw-point-content-number beg))
+ (let* ((cnum (mime-raw-point-to-entity-number beg))
(new-name (format "%s-%s" (buffer-name) cnum))
(mother mime-preview-buffer)
(text-decoder
(defun mime-method-to-display-caesar (start end cal)
"Internal method for mime-view to display ROT13-47-48 message."
- (let* ((cnum (mime-raw-point-content-number start))
+ (let* ((cnum (mime-raw-point-to-entity-number start))
(new-name (format "%s-%s" (buffer-name) cnum))
(the-buf (current-buffer))
(mother mime-preview-buffer)