annotate lisp/tm/gnus-mime-old.el @ 147:e186c2b7192d xemacs-20-2

Added tag r20-2p1 for changeset 2af401a6ecca
author cvs
date Mon, 13 Aug 2007 09:34:48 +0200
parents c0c698873ce1
children 43dd3413c7c7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
1 ;;; gnus-mime-old.el --- MIME extensions for Gnus 5.[01] and 5.[23]
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
2
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
3 ;; Copyright (C) 1996 Free Software Foundation, Inc.
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
5 ;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
6 ;; Created: 1996/9/4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
7 ;; Version:
76
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 70
diff changeset
8 ;; $Id: gnus-mime-old.el,v 1.2 1996/12/28 21:03:11 steve Exp $
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
9 ;; Keywords: news, MIME, multimedia, multilingual, encoded-word
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
10
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
11 ;; This file is not part of GNU Emacs yet.
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
12
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
13 ;; This program is free software; you can redistribute it and/or
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
14 ;; modify it under the terms of the GNU General Public License as
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
15 ;; published by the Free Software Foundation; either version 2, or (at
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
16 ;; your option) any later version.
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
17
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
18 ;; This program is distributed in the hope that it will be useful, but
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
19 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
21 ;; General Public License for more details.
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
22
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
23 ;; You should have received a copy of the GNU General Public License
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
24 ;; along with this program; see the file COPYING. If not, write to
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
25 ;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
26 ;; Boston, MA 02111-1307, USA.
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
27
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
28 ;;; Code:
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
29
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
30 (require 'gnus-mime)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
31
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
32 (provide 'gnus-sum)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
33 (provide 'gnus-art)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
34
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
35 (or (boundp 'gnus-original-article-buffer)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
36 (progn
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
37 ;; for Gnus 5.0.* and 5.1
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
38 (defvar gnus-original-article-buffer " *Original Article*")
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
39
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
40 (defun gnus-article-setup-original-article-buffer ()
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
41 (save-excursion
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
42 (set-buffer (get-buffer-create gnus-original-article-buffer))
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
43 (erase-buffer)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
44 (insert-buffer gnus-article-buffer)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
45 (setq major-mode 'gnus-original-article-mode)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
46 ))
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
47
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
48 (add-hook 'gnus-article-prepare-hook
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
49 'gnus-article-setup-original-article-buffer)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
50
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
51 (setq gnus-strict-mime nil)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
52 ))
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
53
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
54 (if running-xemacs
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
55 (progn
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
56 ;; modified by Steven L. Baur <steve@miranova.com>
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
57 ;; 1995/12/6 (c.f. [tm-en:209])
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
58 (defun mime-editor/attach-to-news-reply-menu ()
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
59 "Arrange to attach MIME editor's popup menu to VM's"
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
60 (if (boundp 'news-reply-menu)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
61 (progn
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
62 (setq news-reply-menu
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
63 (append news-reply-menu
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
64 '("---")
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
65 mime-editor/popup-menu-for-xemacs))
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
66 (remove-hook 'news-setup-hook
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
67 'mime-editor/attach-to-news-reply-menu)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
68 )))
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
69 (call-after-loaded
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
70 'tm-edit
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
71 (function
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
72 (lambda ()
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
73 (add-hook 'news-setup-hook
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
74 'mime-editor/attach-to-news-reply-menu)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
75 )))
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
76 ))
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
77
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
78
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
79 ;;; @ end
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
80 ;;;
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
81
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
82 (provide 'gnus-mime-old)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
83
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents:
diff changeset
84 ;;; gnus-mime-old.el ends here