annotate man/tm/tm-edit-en.sgml @ 129:e292c9648bb9 xemacs-20-1p3

Import from CVS: tag xemacs-20-1p3
author cvs
date Mon, 13 Aug 2007 09:28:38 +0200
parents c0c698873ce1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
1 <!doctype sinfo system>
76
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
2 <!-- $Id: tm-edit-en.sgml,v 1.2 1996/12/28 21:03:28 steve Exp $ -->
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
3 <head>
76
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
4 <title>tm-edit 7.100 Reference Manual (English Version)
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
5 <author>MORIOKA Tomohiko <mail>morioka@jaist.ac.jp</mail>
76
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
6 <date>1996/12/25
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
7
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
8 <toc>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
9 </head>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
10
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
11 <body>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
12
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
13 <abstract>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
14 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
15 This file documents tm-edit, a MIME composer for GNU Emacs.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
16 </abstract>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
17
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
18
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
19 <h1> What is tm-edit?
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
20 <node> Introduction
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
21 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
22 <concept>tm-edit</concept> is a general MIME composer for GNU Emacs.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
23 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
24 tm-edit is based on mime.el by UMEDA Masanobu
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
25 <mail>umerin@mse.kyutech.ac.jp</mail>, who is famous as the author of
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
26 GNUS. tm-edit expands following points from <file>mime.el</file>:
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
27
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
28 <ul>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
29 <li>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
30 based on RFC 1521/1522
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
31 <li>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
32 <a file="tm-en" node="Content-Disposition">Content-Disposition
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
33 field</a> (RFC 1806) supports
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
34 <li>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
35 nested <a file="tm-en" node="multipart">multi-part message</a>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
36 <li>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
37 <dref>PGP</dref> (PGP/MIME (RFC 2015) based on security multipart (RFC
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
38 1847) and application/pgp based on traditional PGP)
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
39 <li>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
40 strength automatic specification for parameter of file type
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
41 </ul>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
42
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
43 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
44 In <dref file="tm-en">tm-MUA</dref>, you can edit MIME message easily
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
45 to use tm-edit.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
46
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
47
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
48 <h1> mime/editor-mode
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
49 <node> mime/editor-mode
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
50 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
51 <concept>mime/editor-mode</concept> is a minor mode to compose MIME
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
52 message. In this mode, <concept>tag</concept> represents various
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
53 kinds of data, you can edit <a file="tm-en" node="multipart">multi
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
54 part</a> message.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
55 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
56 There are 2 kinds of tags:
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
57
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
58 <ul>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
59 <li> single-part tag
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
60 <li> multi-part tag
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
61 </ul>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
62 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
63 single-part tag represents single part, this form is following:
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
64
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
65 <verb>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
66 --[[TYPE/SUBTYPE;PARAMETERS][ENCODING]
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
67 OPTIONAL-FIELDS]
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
68 </verb>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
69 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
70 TYPE/SUBTYPE and PARAMETERS indicates type/subtype and parameters of
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
71 <dref file="tm-en">Content-Type field</dref>. TYPE/SUBTYPE is
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
72 required, PARAMETERS is optional.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
73 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
74 ENCODING indicates Content-Transfer-Encoding field. It is optional
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
75 too.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
76 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
77 OPTIONAL-FIELDS is to represent another fields except Content-Type
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
78 field and Content-Transfer-Encoding field.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
79 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
80 multi-part tags represent <a file="tm-en" node="multipart">multi
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
81 part</a>. They consist of a pair of <concept>multi-part beginning
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
82 tag</concept> and <concept>multi-part ending tag</concept>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
83 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
84 multi-part beginning tag's form is following:
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
85 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
86 <verb>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
87 --<<TYPE>>-{
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
88 </verb>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
89 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
90 multi-part ending tag's form is following:
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
91 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
92 <verb>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
93 --}-<<TYPE>>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
94 </verb>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
95 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
96 A region from multi-part beginning tag to multi-part ending tag is
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
97 called as <concept>enclosure</concept>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
98
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
99
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
100 <h1> single-part operations
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
101 <node> single-part operations
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
102 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
103 Operations to make single-part are following:
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
104
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
105 <kl>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
106 <kt>C-c C-x C-t
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
107 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
108 Insert single-part tag indicates text part.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
109 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
110 <kt>C-c C-x C-i
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
111 <kd>
76
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
112 Insert file as a MIME attachment. If <kbd>C-u</kbd> is followed by
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
113 it, it asks media-type, subtype or encoding even if their default
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
114 values are specified. <cf node="tag specification for inserted file">
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
115 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
116 <kt>C-c C-x C-e
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
117 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
118 Insert external part.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
119 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
120 <kt>C-c C-x C-v
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
121 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
122 Record audio input until <kbd>C-g</kbd> is pressed, and insert as a
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
123 audio part. (It requires /dev/audio in default.)
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
124 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
125 <kt>C-c C-x C-y
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
126 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
127 Insert current (mail or news) message. (It is MUA depended.)
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
128 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
129 <kt>C-c C-x C-m
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
130 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
131 Insert mail message. (It is MUA depended.)
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
132 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
133 <dt><key>C-c C-x C-w</key>, <key>C-c C-x C-s</key>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
134 <dd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
135 Insert signature.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
136 </dd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
137 <kt>C-c C-x C-k
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
138 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
139 Insert <dref>PGP</dref> public key. (It requires Mailcrypt package.)
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
140 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
141 <kt>C-c C-x t
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
142 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
143 Insert any single-part tag.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
144 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
145 </kl>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
146
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
147
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
148 <h1> enclosure operation
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
149 <node> enclosure operation
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
150 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
151 Operations to make enclosure are following:
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
152
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
153 <kl>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
154 <kt>C-c C-x a
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
155 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
156 Enclose specified region as multipart/alternative.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
157 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
158 <kt>C-c C-x p
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
159 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
160 Enclose specified region as multipart/parallel.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
161 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
162 <kt>C-c C-x m
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
163 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
164 Enclose specified region as multipart/mixed.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
165 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
166 <kt>C-c C-x d
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
167 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
168 Enclose specified region as multipart/digest.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
169 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
170 <kt>C-c C-x s
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
171 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
172 Digital-sign to specified region. <cf node="PGP">
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
173 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
174 <kt>C-c C-x e
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
175 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
176 Encrypt to specified region. <cf node="PGP">
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
177 <kt>C-c C-x q
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
178 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
179 avoid to encode tags in specified region. In other words, tags is
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
180 interpreted as such string. (In current version, it may be
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
181 incomplete. Maybe PGP-signature does not work for this enclosure.)
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
182 </kl>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
183
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
184
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
185 <h1> other operations of mime/editor-mode
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
186 <node> other operations of mime/editor-mode
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
187 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
188 There are another operations in mime/editor-mode.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
189
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
190 <kl>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
191 <kt>C-c C-c
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
192 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
193 Send current editing message.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
194 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
195 <kt>C-c C-x C-p
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
196 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
197 Preview current editing message. (<ref file="tm-view-en"
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
198 node="mime/viewer-mode">)
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
199 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
200 <kt>C-c C-x C-z
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
201 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
202 Exit mime/editor-mode. (<key>M-x mime/edit-again</key> is available to
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
203 reedit.)
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
204 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
205 <kt>C-c C-x ?
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
206 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
207 Display help message.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
208 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
209 <kt>C-c C-x /
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
210 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
211 Set current editing message to enable automatic splitting or not.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
212 Form of automatic split messages is message/partial.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
213 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
214 <kt>C-c C-x 7
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
215 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
216 Set <dref file="tm-en">7bit</dref> to <dref>transfer level</dref>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
217 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
218 <kt>C-c C-x 8
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
219 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
220 Set <dref file="tm-en">8bit</dref> to <dref>transfer level</dref>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
221 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
222 <kt>C-c C-x v
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
223 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
224 Set current editing message to digital-sign or not. <cf node="PGP">
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
225 </kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
226 <kt>C-c C-x h
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
227 <kd>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
228 Set current editing message to encrypt or not. <cf node="PGP">
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
229 </kl>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
230
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
231
76
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
232 <h1> Default media-type or encoding for inserted file
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
233 <node> tag specification for inserted file
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
234 <p>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
235 When <kbd>C-c C-x C-i</kbd> (<code>mime-editor/insert-file</code>) is
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
236 pressed, tag parameters for inserted file, such as media-type or
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
237 encoding, are detected by variable <code>mime-file-types</code>.
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
238 <p>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
239 When <kbd>C-u</kbd> is followed by it or parameter is not found from
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
240 the variable, it asks from user. (When <kbd>C-u</kbd> is followed by
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
241 it, detected value is used as default value)
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
242 <p>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
243 If you want to change default value for file names, please change
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
244 variable <code>mime-file-types</code>.
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
245
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
246
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
247 <defvar name="mime-file-types">
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
248 <p>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
249 Specification of default value of tag for file name of inserted file.
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
250 <p>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
251 It is a list of following list:
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
252
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
253 <lisp>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
254 (FILE_PAT TYPE SUBTYPE PARAMS ENCODING
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
255 DISPOSITION_TYPE DISPOSITION_PARAMS)
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
256 </lisp>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
257
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
258 Each elements of the list are following:
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
259
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
260 <dl>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
261 <dt>FILE_PAT
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
262 <dd>regular expression of file name
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
263 <dt>TYPE
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
264 <dd>media type
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
265 <dt>SUBTYPE
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
266 <dd>media subtype
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
267 <dt>PARAMS
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
268 <dd>parameters of Content-Type field
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
269 <dt>ENCODING
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
270 <dd>Content-Transfer-Encoding
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
271 <dt>DISPOSITION_TYPE
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
272 <dd>disposition-type
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
273 <dt>DISPOSITION_PARAMS
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
274 <dd>parameters of Content-Disposition field
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
275 </dl>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
276
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
277 <noindent>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
278 Example: Specify application/rtf as default media type for
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
279 <file>*.rtf</file>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
280
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
281 <lisp>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
282 (call-after-loaded
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
283 'tm-edit
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
284 (lambda ()
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
285 (set-alist 'mime-file-types
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
286 "\\.rtf$"
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
287 '("application" "rtf" nil nil
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
288 "attachment" (("filename" . file)))
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
289 )))
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
290 </lisp>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
291 </defvar>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
292
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
293
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
294 <h1> transfer level
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
295 <node> transfer level
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
296 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
297 Contents inserted in a message are represented by <dref
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
298 file="tm-en">7bit</dref>, <dref file="tm-en">8bit</dref> or <dref
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
299 file="tm-en">binary</dref>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
300 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
301 If a message is translated by 7bit-through <dref
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
302 file="tm-en">MTA</dref>, there is no need to encode 7bit data, but
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
303 8bit and binary data must be encoded to 7bit data.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
304 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
305 Similarly, if a message is translated by 8bit-through MTA, there is no
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
306 need to encode 7bit or 8bit data, but binary data must be encoded to
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
307 7bit or 8bit data.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
308 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
309 <memo>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
310 EBCDIC MTA breaks 7bit data, so in this case, 7bit data must be
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
311 encoded by base64. But I don't know EBCDIC. (^_^;
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
312 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
313 Similarly, I wish ASCII-printable only MTA and code-conversion MTA
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
314 disappeared. (^_^;
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
315 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
316 Maybe there are binary-through MTA, but I think it is not major.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
317 </memo>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
318 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
319 <concept>transfer level</concept> represents how range data is
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
320 available. tm-edit has a variable
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
321 <code>mime-editor/transfer-level</code> to represent transfer level.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
322
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
323
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
324 <defvar name="mime-editor/transfer-level">
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
325 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
326 transfer level.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
327 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
328 If transfer level of a data is over it, a data is encoded to 7bit.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
329 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
330 Currently, 7 or 8 is available. Default value is 7.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
331 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
332 In extension plan, EBCDIC will be 5, ASCII printable only will be 6,
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
333 binary will be 9. But it will not be implemented.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
334 </defvar>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
335
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
336
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
337 <memo>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
338 transfer level is only for body, not for <a node="header">header</a>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
339 RFC 1521 extends <dref file="tm-en">RFC 822</dref> to use 8bit data in
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
340 body, but it requires to use <dref file="tm-en">us-ascii</dref> in
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
341 header.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
342 </memo>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
343
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
344
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
345 <h1> Using non-ASCII characters in header
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
346 <node> header
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
347 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
348 <dref file="tm-en">RFC 1522</dref> defines representation of non-ASCII
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
349 characters in header.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
350 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
351 It is a format called as <a file="tm-en"
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
352 node="encoded-word"><concept>encoded-word</concept></a>, it is
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
353 available to represent every non-ASCII characters by <dref
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
354 file="tm-en">7bit</dref> to declare <dref file="tm-en">MIME
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
355 charset</dref>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
356
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
357
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
358 <h2> If you can not allow encoded-word
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
359 <node> evil setting in header
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
360 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
361 It is wrong to use ``raw'' non-ASCII characters in header not to use
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
362 encoded-word. Because there are various kinds of <a file="tm-en"
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
363 node="Coded character set">coded character set</a> in the Internet, so
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
364 we can not distinguish them if <dref file="tm-en">MIME charset</dref>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
365 is not declared.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
366 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
367 For example, we can not distinguish <dref
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
368 file="tm-en">iso-8859-1</dref> and <dref
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
369 file="tm-en">iso-8859-2</dref> if MIME charset is not declared.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
370 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
371 However you can not permit to use encoded-word, please set to
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
372 following variables:
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
373
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
374
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
375 <defvar name="mime/field-encoding-method-alist">
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
376 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
377 Association-list to specify field encoding method. Its key is
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
378 field-name, value is encoding method.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
379 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
380 field-name allows string or <code>t</code> meaning any fields.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
381 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
382 Encoding method allows following: <code>nil</code> means
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
383 no-conversion, <code>mime</code> means to convert as encoded-word,
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
384 symbol represent MIME charset means to convert as the coded character
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
385 set instead of to convert as encoded-word.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
386 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
387 field-name is searched from string. If it is not found,
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
388 <code>t</code> is used.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
389 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
390 Default value of <code>mime/field-encoding-method-alist</code> is
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
391 following:
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
392
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
393 <lisp>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
394 (("X-Nsubject" . iso-2022-jp-2)
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
395 ("Newsgroups" . nil)
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
396 (t . mime)
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
397 ))
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
398 </lisp>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
399 </defvar>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
400
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
401 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
402 In addition, if you want to specify by coded character set instead of
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
403 field, please use <code>mime-eword/charset-encoding-alist</code>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
404 <cf node="API about header">
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
405
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
406
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
407 <h2> Functions and variables about header
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
408 <node> API about header
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
409 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
410 <define type="Command" name="mime/encode-message-header">
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
411 <opts> code-conversion
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
412 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
413 It translate non-ASCII characters in message header of current buffer
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
414 into network representation, such as encoded-words.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
415 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
416 If <var>code-conversion</var> is non-<code>nil</code>, field not
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
417 encoded by encoded-word is converted by
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
418 <code>mime/field-encoding-method-alist</code>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
419 </define>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
420
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
421 <defun name="mime/encode-field">
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
422 <args> string
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
423 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
424 It encodes <var>string</var> into encoded-words as a field.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
425 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
426 Long lines are folded.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
427 </defun>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
428
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
429 <defun name="mime-eword/encode-string">
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
430 <args> string <opts> column mode
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
431 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
432 It encodes <var>string</var> into encoded-words.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
433 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
434 Long lines are folded.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
435 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
436 <var>column</var> specifies start column. If it is omitted, 0 is
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
437 used.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
438 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
439 <var>mode</var> specifies where <var>string</var> is in. Available
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
440 values are <code>text</code>, <code>comment</code>,
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
441 <code>phrase</code>. If it is omitted, <code>phrase</code> is used.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
442 </defun>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
443
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
444 <defvar name="mime-eword/charset-encoding-alist">
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
445 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
446 Association-list of symbol represent MIME charset vs. nil,
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
447 <code>"B"</code> or <code>"Q"</code>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
448 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
449 <code>nil</code> means not to encode as encoded-word.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
450 <code>"B"</code> means to use B-encoding.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
451 <code>"Q"</code> means to use Q-encoding.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
452 </defvar>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
453
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
454
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
455 <h1> PGP
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
456 <node> PGP
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
457 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
458 tm-edit provides PGP encryption, signature and inserting public-key
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
459 features based on <a file="tm-en"
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
460 node="PGP/MIME"><concept>PGP/MIME</concept></a> (RFC 2015) or <a
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
461 file="tm-en" node="PGP-kazu"><concept>PGP-kazu</concept></a>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
462 (draft-kazu-pgp-mime-00.txt).
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
463 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
464 This feature requires pgp command and <a file="mailcrypt">Mailcrypt
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
465 package</a>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
466 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
467 If you want to use this feature, please set <code>pgp-elkins</code> or
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
468 <code>pgp-kazu</code> to variable
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
469 <code>mimed-editor/signing-type</code> and variable
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
470 <code>mime-editor/encrypting-type</code>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
471 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
472 If <code>pgp-elkins</code> is specified, PGP/MIME is used. If
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
473 <code>pgp-kazu</code> is specified, PGP-kazu is used.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
474
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
475
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
476 <defvar name="mime-editor/signing-type">
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
477 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
478 Format of PGP signature.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
479 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
480 It allows <code>pgp-elkins</code> or <code>pgp-kazu</code>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
481 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
482 Default value is <code>nil</code>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
483 </defvar>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
484
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
485 <defvar name="mime-editor/encrypting-type">
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
486 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
487 Format of PGP encryption.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
488 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
489 It allows <code>pgp-elkins</code> or <code>pgp-kazu</code>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
490 <p>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
491 Default value is <code>nil</code>.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
492 </defvar>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
493
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
494
76
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
495 <h1> Acknowledgments
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
496 <node> Acknowledgments
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
497 <p>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
498 First of all, I thank UMEDA Masanobu for his work of
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
499 <file>mime.el</file>, which is the origin of tm-edit, and permission
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
500 to rewrite his work as tm-edit.
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
501 <p>
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
502 I thank members of two tm mailing lists, Japanese and English version.
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
503
c0c698873ce1 Import from CVS: tag r20-0b33
cvs
parents: 74
diff changeset
504
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
505 <h1> Concept Index
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
506 <node> Concept Index
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
507
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
508 <cindex>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
509
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
510
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
511 <h1> Function Index
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
512 <node> Function Index
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
513
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
514 <findex>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
515
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
516
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
517 <h1> Variable Index
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
518 <node> Variable Index
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
519
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
520 <vindex>
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
521
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents:
diff changeset
522 </body>