comparison lisp/tm/tm-edit.el @ 86:364816949b59 r20-0b93

Import from CVS: tag r20-0b93
author cvs
date Mon, 13 Aug 2007 09:09:02 +0200
parents 6a378aca36af
children 821dec489c24
comparison
equal deleted inserted replaced
85:c661705957e0 86:364816949b59
1 ;;; tm-edit.el --- Simple MIME Composer for GNU Emacs 1 ;;; tm-edit.el --- Simple MIME Composer for GNU Emacs
2 2
3 ;; Copyright (C) 1993 .. 1996 Free Software Foundation, Inc. 3 ;; Copyright (C) 1993,1994,1995,1996,1997 Free Software Foundation, Inc.
4 4
5 ;; Author: UMEDA Masanobu <umerin@mse.kyutech.ac.jp> 5 ;; Author: UMEDA Masanobu <umerin@mse.kyutech.ac.jp>
6 ;; MORIOKA Tomohiko <morioka@jaist.ac.jp> 6 ;; MORIOKA Tomohiko <morioka@jaist.ac.jp>
7 ;; Maintainer: MORIOKA Tomohiko <morioka@jaist.ac.jp> 7 ;; Maintainer: MORIOKA Tomohiko <morioka@jaist.ac.jp>
8 ;; Created: 1994/08/21 renamed from mime.el 8 ;; Created: 1994/08/21 renamed from mime.el
9 ;; Version: $Revision: 1.5 $ 9 ;; Version: $Revision: 1.6 $
10 ;; Keywords: mail, news, MIME, multimedia, multilingual 10 ;; Keywords: mail, news, MIME, multimedia, multilingual
11 11
12 ;; This file is part of tm (Tools for MIME). 12 ;; This file is part of tm (Tools for MIME).
13 13
14 ;; This program is free software; you can redistribute it and/or 14 ;; This program is free software; you can redistribute it and/or
39 ;; of handling multilingual text in limited ISO-2022 manner that is 39 ;; of handling multilingual text in limited ISO-2022 manner that is
40 ;; based on early experiences in Japanese Internet community and 40 ;; based on early experiences in Japanese Internet community and
41 ;; resulted in RFC 1468 (ISO-2022-JP charset for MIME). In order to 41 ;; resulted in RFC 1468 (ISO-2022-JP charset for MIME). In order to
42 ;; enable multilingual capability in single text message in MIME, 42 ;; enable multilingual capability in single text message in MIME,
43 ;; charset of multilingual text written in Mule is declared as either 43 ;; charset of multilingual text written in Mule is declared as either
44 ;; `ISO-2022-JP-2' [RFC 1554] or `ISO-2022-INT-1'. Mule is required 44 ;; `ISO-2022-JP-2' [RFC 1554]. Mule is required for reading the such
45 ;; for reading the such messages. 45 ;; messages.
46 46
47 ;; This MIME composer can work with Mail mode, mh-e letter Mode, and 47 ;; This MIME composer can work with Mail mode, mh-e letter Mode, and
48 ;; News mode. First of all, you need the following autoload 48 ;; News mode. First of all, you need the following autoload
49 ;; definition to load mime/editor-mode automatically: 49 ;; definition to load mime/editor-mode automatically:
50 ;; 50 ;;
94 ;; 94 ;;
95 ;;--[[text/plain]] 95 ;;--[[text/plain]]
96 ;; This is also a plain text. But, it is explicitly specified as is. 96 ;; This is also a plain text. But, it is explicitly specified as is.
97 ;; 97 ;;
98 ;;--[[text/plain; charset=ISO-2022-JP]] 98 ;;--[[text/plain; charset=ISO-2022-JP]]
99 ;; $(B$3$l$O(B charset $(B$r(B ISO-2022-JP $(B$K;XDj$7$?F|K\8l$N(B plain $(B%F%-%9%H$G$9(B.
99 ;; 100 ;;
100 ;;--[[text/richtext]] 101 ;;--[[text/richtext]]
101 ;; <center>This is a richtext.</center> 102 ;; <center>This is a richtext.</center>
102 ;; 103 ;;
103 ;;--[[image/gif][base64]]^M...image encoded in base64 comes here... 104 ;;--[[image/gif][base64]]^M...image encoded in base64 comes here...
117 118
118 ;;; @ version 119 ;;; @ version
119 ;;; 120 ;;;
120 121
121 (defconst mime-editor/RCS-ID 122 (defconst mime-editor/RCS-ID
122 "$Id: tm-edit.el,v 1.5 1997/01/23 05:29:42 steve Exp $") 123 "$Id: tm-edit.el,v 1.6 1997/01/30 02:22:48 steve Exp $")
123 124
124 (defconst mime-editor/version (get-version-string mime-editor/RCS-ID)) 125 (defconst mime-editor/version (get-version-string mime-editor/RCS-ID))
125 126
126 (defconst mime-editor/version-name 127 (defconst mime-editor/version-name
127 (concat "tm-edit " mime-editor/version)) 128 (concat "tm-edit " mime-editor/version))
738 This is a conventional plain text. It should be translated 739 This is a conventional plain text. It should be translated
739 into text/plain. 740 into text/plain.
740 --[[text/plain]] 741 --[[text/plain]]
741 This is also a plain text. But, it is explicitly specified as 742 This is also a plain text. But, it is explicitly specified as
742 is. 743 is.
743 --[[text/plain; charset=ISO-2022-JP]] 744 --[[text/plain; charset=ISO-8859-1]]
744 ... Japanese text here ... 745 This is also a plain text. But charset is specified as
745 --[[text/richtext]] 746 iso-8859-1.
746 <center>This is a richtext.</center> 747
747 --[[image/gif][base64]]^M...image encoded in base64 here... 748 ¡Hola! Buenos días. ¿Cómo está usted?
748 --[[audio/basic][base64]]^M...audio encoded in base64 here... 749 --[[text/enriched]]
750 This is a <bold>enriched text</bold>.
751 --[[image/gif][base64]]...image encoded in base64 here...
752 --[[audio/basic][base64]]...audio encoded in base64 here...
749 753
750 User customizable variables (not documented all of them): 754 User customizable variables (not documented all of them):
751 mime-prefix 755 mime-prefix
752 Specifies a key prefix for MIME minor mode commands. 756 Specifies a key prefix for MIME minor mode commands.
753 757