;; Copyright (C) 1994,1995,1996,1997 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Id: mime-parse.el,v 0.3 1997-02-24 09:12:12 tmorioka Exp $
-;; Keywords: MIME, multimedia, mail, news
+;; Version: $Id: mime-parse.el,v 0.8 1997-03-15 20:11:46 morioka Exp $
+;; Keywords: parse, MIME, multimedia, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
;;; Code:
+(require 'emu)
(require 'std11)
(require 'mime-def)
+(defsubst symbol-concat (&rest args)
+ "Return a symbol whose name is concatenation of arguments ARGS
+which are string or symbol."
+ (intern (apply (function concat)
+ (mapcar (function
+ (lambda (s)
+ (cond ((symbolp s) (symbol-name s))
+ ((stringp s) s)
+ )))
+ args))))
+
(defmacro define-structure (name &rest slots)
(let ((pred (symbol-concat name '-p)))
(cons 'progn
;;; @ field parser
;;;
+(defsubst regexp-* (regexp)
+ (concat regexp "*"))
+
(defconst rfc822/quoted-pair-regexp "\\\\.")
(defconst rfc822/qtext-regexp
(concat "[^" (char-list-to-string std11-non-qtext-char-list) "]"))
'("message/rfc822")
'("text/plain")
))
- cb ce ct ret ncb children (i 0))
+ cb ce ret ncb children (i 0))
(save-restriction
(narrow-to-region beg end)
(goto-char beg)