From: morioka Date: Mon, 9 Aug 1999 03:26:25 +0000 (+0000) Subject: (mime-entity-header-start-point): New method. X-Git-Tag: flim-1_13_2~9 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1c62eb6faf2f6a34f2c0c3eb6f1aceb1e5a3e779;p=elisp%2Fflim.git (mime-entity-header-start-point): New method. (mime-entity-header-end-point): New method. --- diff --git a/mmbuffer.el b/mmbuffer.el index b5ba212..f014aec 100644 --- a/mmbuffer.el +++ b/mmbuffer.el @@ -217,19 +217,44 @@ )) -;;; @ buffer +;;; @ header buffer ;;; (luna-define-method mime-entity-header-buffer ((entity mime-buffer-entity)) (mime-buffer-entity-buffer-internal entity) ) +(luna-define-method mime-goto-header-start-point ((entity mime-buffer-entity)) + (set-buffer (mime-buffer-entity-buffer-internal entity)) + (goto-char (mime-buffer-entity-header-start-internal entity)) + ) + +(luna-define-method mime-entity-header-start-point ((entity + mime-buffer-entity)) + (mime-buffer-entity-header-start-internal entity) + ) + +(luna-define-method mime-entity-header-end-point ((entity + mime-buffer-entity)) + (mime-buffer-entity-header-end-internal entity) + ) + + +;;; @ body buffer +;;; + (luna-define-method mime-entity-body-buffer ((entity mime-buffer-entity)) (mime-buffer-entity-buffer-internal entity) ) -(luna-define-method mime-entity-buffer ((entity mime-buffer-entity)) - (mime-buffer-entity-buffer-internal entity) +(luna-define-method mime-goto-body-start-point ((entity mime-buffer-entity)) + (set-buffer (mime-buffer-entity-buffer-internal entity)) + (goto-char (mime-buffer-entity-body-start-internal entity)) + ) + +(luna-define-method mime-goto-body-end-point ((entity mime-buffer-entity)) + (set-buffer (mime-buffer-entity-buffer-internal entity)) + (goto-char (mime-buffer-entity-body-end-internal entity)) ) (luna-define-method mime-entity-body-start-point ((entity mime-buffer-entity)) @@ -240,27 +265,20 @@ (mime-buffer-entity-body-end-internal entity) ) -(luna-define-method mime-entity-point-min ((entity mime-buffer-entity)) - (mime-buffer-entity-header-start-internal entity) - ) -(luna-define-method mime-entity-point-max ((entity mime-buffer-entity)) - (mime-buffer-entity-body-end-internal entity) - ) +;;; @ buffer (obsolete) +;;; -(luna-define-method mime-goto-header-start-point ((entity mime-buffer-entity)) - (set-buffer (mime-buffer-entity-buffer-internal entity)) - (goto-char (mime-buffer-entity-header-start-internal entity)) +(luna-define-method mime-entity-buffer ((entity mime-buffer-entity)) + (mime-buffer-entity-buffer-internal entity) ) -(luna-define-method mime-goto-body-start-point ((entity mime-buffer-entity)) - (set-buffer (mime-buffer-entity-buffer-internal entity)) - (goto-char (mime-buffer-entity-body-start-internal entity)) +(luna-define-method mime-entity-point-min ((entity mime-buffer-entity)) + (mime-buffer-entity-header-start-internal entity) ) -(luna-define-method mime-goto-body-end-point ((entity mime-buffer-entity)) - (set-buffer (mime-buffer-entity-buffer-internal entity)) - (goto-char (mime-buffer-entity-body-end-internal entity)) +(luna-define-method mime-entity-point-max ((entity mime-buffer-entity)) + (mime-buffer-entity-body-end-internal entity) )