1 ;;; message-mime.el --- MIME extensions for message.el
3 ;; Copyright (C) 1995,1996 Free Software Foundation, Inc.
5 ;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
8 ;; $Id: message-mime.el,v 0.5 1996/08/12 09:11:34 morioka Exp $
9 ;; Keywords: news, MIME, multimedia, multilingual, encoded-word
11 ;; This file is not part of GNU Emacs yet.
13 ;; This program is free software; you can redistribute it and/or
14 ;; modify it under the terms of the GNU General Public License as
15 ;; published by the Free Software Foundation; either version 2, or (at
16 ;; your option) any later version.
18 ;; This program is distributed in the hope that it will be useful, but
19 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 ;; General Public License for more details.
23 ;; You should have received a copy of the GNU General Public License
24 ;; along with This program. If not, write to the Free Software
25 ;; Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
31 (setq message-forward-start-separator
32 (concat (mime-make-tag "message" "rfc822") "\n"))
34 (setq message-forward-end-separator "")
36 (or (string-match message-included-forward-headers "Mime-Version:")
37 (setq message-included-forward-headers
38 (concat message-included-forward-headers "\\|^Mime-Version:"))
41 (or (string-match message-included-forward-headers "Content-Type:")
42 (setq message-included-forward-headers
43 (concat message-included-forward-headers "\\|^Content-Type:"))
50 ;; suggested by OKABE Yasuo <okabe@kudpc.kyoto-u.ac.jp>
51 ;; 1995/11/08 (c.f. [tm ML:1067])
52 (defun message-mime-insert-article (&optional message)
54 (let ((message-cite-function 'mime-editor/inserted-message-filter)
55 (message-reply-buffer gnus-original-article-buffer)
57 (message-yank-original nil)
60 (set-alist 'mime-editor/message-inserter-alist
61 'message-mode (function message-mime-insert-article))
62 (set-alist 'mime-editor/split-message-sender-alist
66 (let (message-send-hook
67 message-sent-message-via)
75 (provide 'message-mime)
77 ;;; message-mime.el ends here