Mercurial > hg > xemacs-beta
comparison lisp/tm/gnus-mime-old.el @ 4:b82b59fe008d r19-15b3
Import from CVS: tag r19-15b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:46:56 +0200 |
parents | |
children | 4b173ad71786 |
comparison
equal
deleted
inserted
replaced
3:30df88044ec6 | 4:b82b59fe008d |
---|---|
1 ;;; gnus-mime-old.el --- MIME extensions for Gnus 5.[01] and 5.[23] | |
2 | |
3 ;; Copyright (C) 1996 Free Software Foundation, Inc. | |
4 | |
5 ;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
6 ;; Created: 1996/9/4 | |
7 ;; Version: | |
8 ;; $Id: gnus-mime-old.el,v 1.1.1.1 1996/12/18 03:55:31 steve Exp $ | |
9 ;; Keywords: news, MIME, multimedia, multilingual, encoded-word | |
10 | |
11 ;; This file is not part of GNU Emacs yet. | |
12 | |
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. | |
17 | |
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. | |
22 | |
23 ;; You should have received a copy of the GNU General Public License | |
24 ;; along with this program; see the file COPYING. If not, write to | |
25 ;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
26 ;; Boston, MA 02111-1307, USA. | |
27 | |
28 ;;; Code: | |
29 | |
30 (require 'gnus-mime) | |
31 | |
32 (provide 'gnus-sum) | |
33 (provide 'gnus-art) | |
34 | |
35 (or (boundp 'gnus-original-article-buffer) | |
36 (progn | |
37 ;; for Gnus 5.0.* and 5.1 | |
38 (defvar gnus-original-article-buffer " *Original Article*") | |
39 | |
40 (defun gnus-article-setup-original-article-buffer () | |
41 (save-excursion | |
42 (set-buffer (get-buffer-create gnus-original-article-buffer)) | |
43 (erase-buffer) | |
44 (insert-buffer gnus-article-buffer) | |
45 (setq major-mode 'gnus-original-article-mode) | |
46 )) | |
47 | |
48 (add-hook 'gnus-article-prepare-hook | |
49 'gnus-article-setup-original-article-buffer) | |
50 | |
51 (setq gnus-strict-mime nil) | |
52 )) | |
53 | |
54 (if running-xemacs | |
55 (progn | |
56 ;; modified by Steven L. Baur <steve@miranova.com> | |
57 ;; 1995/12/6 (c.f. [tm-en:209]) | |
58 (defun mime-editor/attach-to-news-reply-menu () | |
59 "Arrange to attach MIME editor's popup menu to VM's" | |
60 (if (boundp 'news-reply-menu) | |
61 (progn | |
62 (setq news-reply-menu | |
63 (append news-reply-menu | |
64 '("---") | |
65 mime-editor/popup-menu-for-xemacs)) | |
66 (remove-hook 'news-setup-hook | |
67 'mime-editor/attach-to-news-reply-menu) | |
68 ))) | |
69 (call-after-loaded | |
70 'tm-edit | |
71 (function | |
72 (lambda () | |
73 (add-hook 'news-setup-hook | |
74 'mime-editor/attach-to-news-reply-menu) | |
75 ))) | |
76 )) | |
77 | |
78 | |
79 ;;; @ end | |
80 ;;; | |
81 | |
82 (provide 'gnus-mime-old) | |
83 | |
84 ;;; gnus-mime-old.el ends here |