1 ;;; gnus-mime.el --- MIME extensions for Gnus
3 ;; Copyright (C) 1996,1997 Free Software Foundation, Inc.
5 ;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
7 ;; Version: $Revision: 1.1.1.1 $
8 ;; Keywords: news, MIME, multimedia, multilingual, encoded-word
10 ;; This file is not part of GNU Emacs yet.
12 ;; This program is free software; you can redistribute it and/or
13 ;; modify it under the terms of the GNU General Public License as
14 ;; published by the Free Software Foundation; either version 2, or (at
15 ;; your option) any later version.
17 ;; This program is distributed in the hope that it will be useful, but
18 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 ;; General Public License for more details.
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with GNU Emacs; see the file COPYING. If not, write to the
24 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
25 ;; Boston, MA 02111-1307, USA.
35 (defconst gnus-mime-RCS-ID
36 "$Id: gnus-mime.el,v 1.1.1.1 1998-01-14 06:27:57 steve Exp $")
38 (defconst gnus-mime-version
39 (get-version-string gnus-mime-RCS-ID))
45 (defvar gnus-show-mime t
46 "*If non-nil, do mime processing of articles.
47 The articles will simply be fed to the function given by
48 `gnus-show-mime-method'.")
50 (defvar gnus-show-mime-method 'gnus-article-preview-mime-message
51 "*Function to process a MIME message.
52 The function is called from the article buffer.")
54 (defvar gnus-decode-encoded-word-method 'gnus-article-decode-encoded-word
55 "*Function to decode a MIME encoded-words.
56 The function is called from the article buffer.")
58 (defvar gnus-parse-headers-hook
59 '(gnus-set-summary-default-charset gnus-decode-rfc1522)
60 "*A hook called before parsing the headers.")
67 (require 'gnus-charset)
75 (or gnus-is-red-gnus-or-later
76 (require 'gnus-mime-old)
79 (call-after-loaded 'gnus-art (lambda ()
80 (require 'gnus-art-mime)
82 (call-after-loaded 'gnus-sum (lambda ()
83 (require 'gnus-sum-mime)
86 (run-hooks 'gnus-mime-load-hook)
88 ;;; gnus-mime.el ends here